Question Locked

Group Policy is not taking effect on OU

0 helpful
24 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

All,

I am trying to apply a group policy to an OU in Active Directory 2008. For some reason it does not work when linked to just the OU. Here is my setup:

OU contains the computer that the policy needs to apply to and nothing else. The Group Policy is linked to the OU. The overall goal is to have a group policy take effect for users when they log onto a specific computer but not on any of the other computers they may log into.

Is there any method you guys would suggest to begin troubleshooting or if you know what may be the issue please let me know. I have tried several different alternatives to achieving the same result and have had no success.

Thanks,

-Jeff

24 replies

by jeff.friend

Microsoft (R) Windows (R) Operating System Group Policy Result tool v2.0
Copyright (C) Microsoft Corp. 1981-2001

Created On 8/10/2010 at 10:37:23 AM

RSOP data for 3WIRE\csr on VPN3 : Logging Mode
-----------------------------------------------

OS Configuration: Member Workstation
OS Version: 6.1.7600
Site Name: N/A
Roaming Profile: N/A
Local Profile: C:\Users\csr
Connected over a slow link?: No

USER SETTINGS
--------------
CN=csr,CN=Users,DC=3Wire
Last time Group Policy was applied: 8/10/2010 at 10:37:05 AM
Group Policy was applied from: 3wirepa-vmserv.3Wire
Group Policy slow link threshold: 500 kbps
Domain Name: 3WIRE
Domain Type: Windows 2000

Applied Group Policy Objects
-----------------------------
Local Group Policy

The following GPOs were not applied because they were filtered out
-------------------------------------------------------------------
AllUsers
Filtering: Disabled (Link)

Default Domain Policy
Filtering: Not Applied (Empty)

The user is a part of the following security groups
---------------------------------------------------
Domain Users
Everyone
BUILTIN\Users
NT AUTHORITY\INTERACTIVE
CONSOLE LOGON
NT AUTHORITY\Authenticated Users
This Organization
LOCAL
VA Users
Medium Mandatory Level

by jeff.friend

The user and computer are within the organizational unit and the group policy(VA_VPN_GPO) is linked to the organizational unit but it doesn't even list the policy in applied or filtered GPOs in the GPResults. Any ideas?

Thanks for the quick replies guys.

by rjluvkc

Ensure that you have "Authenticated Users" applied to the policy.
Also, are these wired pcs or wireless devices?
I am assuming this is a GPO login script?

by jeff.friend

Authenticated users is setup to have the policy applied to it. The computers are all wired.

by netman1958

that I understand the situation, is all of the following correct:

The GPO is named VA_VPN_GPO ?
It is linked to an OU ?
The user and computer are both in that OU ?
The security group "Authenticated users" is allowed to apply the GPO ?

If all of the above are correct, then in that GPO, are the settings to be applied configured under "User Configuration", "Computer Configuration" or both?

If any or all of the settings are configured in "Computer Configuration", does that computer or a security group that the computer is a member of have permission to apply that GPO?

by cg it

where in the OU structure did you create the OU?

if it's a computer configuration that you want users to have, then you create an OU under the 1 tier computers OU, [or create an special OU on 1st tier] stick whatever computers you want to have the configuration in the OU, the link the GPO to the OU. Note: GPOs linked to the 1st tier computers OU will effect nested OUs through parent/child.
GPOs also have a processing order so it's possible one can filter another.

If you want a user config, same thing.

combination configurations aren't really a good idea to complicated.

also where did you run the gpresult.exe ??

by jeff.friend

The OU was created right underneath the domain.(so at the same level as computers, users) I am not given the option to create an OU under computers or users.(Computers/users are a different type of container) I also tried to move the OU to computers and was given an error message.(Windows cannot move object VA_VPN because: Access is denied.) I ran the GPresults from the computer that should have the GPO applied to it. The goal is for this GPO to be applied to everyone that logs onto this particular computer.

On a side note I notice that others seem to be having a similar issue and they mention DNS:

https://www.techrepublic.com.com/5206-6230-0.html?forumID=101&threadID=218715&start=0&tag=content;leftCol

If DNS could be at fault what could checked to ensure it is or is not the problem.

Thanks again,

-Jeff

by cg it

as the enterprise/domain administrator, you should not get "access denied" and you should be able to create/modify/move OUs, GPOs, Users whatever, anywhere in the OU structure. I would resolve this problem first before trying to resolve any other problems.

Group Policy in a domain environment is processed in a sequential order. local machine, site, domain and OU. local machine GPOs typically are overridden by other GPOs higher in the order [site,domain,OU]. That is where the gpresult comes in. Tells you what the result of all GPOs applied are.

DNS is name to address resolution and in an active directory environment, is used [but not limited to] to query/locate Active Directory services. If your Active Directory DNS servers are not providing correct DNS lookup based upon the Active Directory DNS zones for the domain, you have to fix that as well, before you do anything else.

by cg it

authenticated users are any account that "logs on" anywhere in the forest.

Doesn't mean they have all "rights and permissions".

the guest and annonymous accounts can be used to log on and authenticate and in doing so, become "authenticated users".

by netman1958

part of my post that was in reference to, maybe I didn't explain what I was asking very well. If you PM your email address to me, I'll send you a screen shot from one of my AD domains that shows the info I'm trying to obtain.

by cg it

a GPO is created for users and/or computer environments. typically, in an Active Directory environment, GPOs are at the site, domain or OU level and apply to Active Directory users or computers. In 99.9% of GPO deployments, that GPO will either be linked to the domain, who's effects are domain wide, or an OU who's effects are for those users or computers in that OU. The GPOs are create 99.9% of the time on the DC. gpresult run on the container [OU] will show what GPOs will happen to users or computers in the container [OU]. you can run it on workstation as well, but that also depends on how users log on.

Authenticated users doesn't mean much in the realm of group policy. computers that have a computer account in active directory "authenticate" via their security account but computers are not users in the context of group policy. Domain users who log on and there is a group policy linked to an OU that their user accounts reside in will get that GPO, but a guest user who logs in or an anonymous user that logs in will not unless the account is in the OU. but their all "Authenticated Users".

A domain user might also have a local machine user account, however if they log on locally, they will not get a domain or OU GPO when they do, but their "authenticated users", [to the local machine].

So that's where I wonder what "authenticated users" have to do with Group Policy in an Active Directory environment.

by netman1958

With every AD I have worked with you can control rather or not a GPO gets apllied to all or just some users/computers via the "Security" tab in the GPO properties configuration. I open the Group Policy Management, right-click on the target GPO and click on edit. Then, in the Group Policy Object Editor, I right-click on the GPO name and click on "Properties". Then I click on the "Security" tab. At this point I can choose the users, user groups (from my experience, "Authenticated Users" is the default group), computers or computer groups that are allowed to apply the GPO. I can even prevent a user(s) or group(s) from applying the GPO.

To give you an example, in one of my ADs, I have an OU named "Building 1". I have a GPO linked to that OU named "Restrict Internet". I only want that GPO to apply to our collectors (it's a collection agency) but not to every user/computer in the "Building 1" OU. I have a security group named "Collectors" and all of the collectors are members of that security group. I only include the "Collectors" group in the "Security" tab for that GPO and give them "Read" and "Apply Group Policy" permissions. The collections manager also needs to be a member of the "Collectors" group but also needs internet access in order to do his job. So in the "Security" tab for the GPO, I add his user account and deny all access to the GPO. Since "no access" always trumps any other access permitted by membership in other groups, the GPO isn't applied to him.

The result of all that is that the collectors in Building 1 don't get internet access but the collections manager and all other users in Building 1 do.

by cg it

rather some of the poster's use of authenticated users as analgous to "users".

Not all "users" are authenticated. An example is null sessions between a DC and workstation before a user logins.

What the original poster provided, as a response to my query was that they couldn't create an OU in the computer or users OU and received an access denied, yet was able to create an 1st tier OU and place both a user and a computer in this OU, link a GPO and apply it, with a gpresult on the computer account and user account in the 1 OU of no policy applied.

Doesn't sound like a block policy inheritence/filtering problem to me.

by netman1958

Here is what I'm getting at. In this post:
https://www.techrepublic.com.com/5208-7343-0.html?forumID=101&threadID=334514&messageID=3340059&tag=content;leftCol
the OP states "The user and computer are within the organizational unit and the group policy(VA_VPN_GPO) is linked to the organizational unit but it doesn't even list the policy in applied or filtered GPOs in the GPResults".
From that I gather that the name of the GPO is "VA_VPN_GPO". If you examine the output from his gpresult in this post:
https://www.techrepublic.com.com/5208-7343-0.html?forumID=101&threadID=334514&messageID=3340054&tag=content;leftCol
it only references 3 GPOs (Local Group Policy, AllUsers and Default Domain Policy). VA_VPN_GPO isn't even in the list of applied or filtered GPOs. Also, he either failed to post the "Computer Settings" part of the output or there was no output for the "Computer Settings" and that was what I was asking about.

by cg it

even the default domain GP wasn't applied or even filtered and shows "empty" which should have at the least default settings of the default domain gp from the DC applied if the user logs on to the domain. So I'm wondering if the gpresults we are seeing is just local machine or results after domain log in. Further, no mention of forcing an update after applying the GPO [default time for gp refresh is 90 minues].

while the poster said he created the OU on the DC, the fact that he couldn't create it under the default "users" or "computers" OU with an access denied says to me that the account doesn't have sufficent rights. Without those rights, no matter what he does domain wise, won't be applied.

by netman1958

regarding rather he forced and update after adding that new GPO, I wish this guy would come back and start answering some questions.

I would think he has the sufficient rights or he wouldn't be able to add a new GPO at all. He mentioned that the "Computers" and "Users" objects he tried to create the OU under were the ones right under the domain level. Those "Computers" and "Users" objects are not OUs at all, they are containers and I can't create an OU under those on any of my ADs and I know I have sufficient rights.

Anyway, I think we're wasting our time on this because it doesn't seem like this guy is coming back.

by jeff.friend

1. Yes the GPO is VA_VPN_GPO
2. The GPO is linked to an OU that is inside another OU
3. Currently have the authenticated users permitted to apply the GPO
4. They should be set under User Config.
5. the computer currently can apply to the GPO and authenticated users

by jeff.friend

So after some testing I was able to get the policy to apply when the user is also inside the OU(in addition to the computer) the only issue with this is that now every computer the user logs onto the policy takes effect. The desired result is to have the policy only take effect on the one computer.

Sorry for the delayed response.

-Jeff

by jeff.friend

I tried implementing computer settings in the GPO and those applied just fine when the user is not in the OU but it still will not apply the user settings without the user being inside the OU where the GPO is applied. Here is the gpresults:

Microsoft (R) Windows (R) XP Operating System Group Policy Result tool v2.0
Copyright (C) Microsoft Corp. 1981-2001

Created On 8/11/2010 at 4:24:02 PM

RSOP results for 3WIRE\csr on 3WIREPA-CSR2 : Logging Mode
----------------------------------------------------------

OS Type: Microsoft Windows XP Professional
OS Configuration: Member Workstation
OS Version: 5.1.2600
Domain Name: 3WIRE
Domain Type: Windows 2000
Site Name: Default-First-Site-Name
Roaming Profile:
Local Profile: C:\Documents and Settings\csr
Connected over a slow link?: No

COMPUTER SETTINGS
------------------
CN=3WIREPA-CSR2,OU=VAWorkstations,OU=3WireComputers,DC=3Wire
Last time Group Policy was applied: 8/11/2010 at 4:20:54 PM
Group Policy was applied from: 3wirepa-vmserv.3Wire
Group Policy slow link threshold: 500 kbps

Applied Group Policy Objects
-----------------------------
VA_VPN_GPO<----------------------was applied here
Default Domain Policy

The following GPOs were not applied because they were filtered out
-------------------------------------------------------------------
AllUsers
Filtering: Disabled (Link)

Local Group Policy
Filtering: Not Applied (Empty)

The computer is a part of the following security groups:
--------------------------------------------------------
BUILTIN\Administrators
Everyone
BUILTIN\Users
NT AUTHORITY\NETWORK
NT AUTHORITY\Authenticated Users
3WIREPA-CSR2$
Domain Computers

USER SETTINGS
--------------
CN=csr,CN=Users,DC=3Wire
Last time Group Policy was applied: 8/11/2010 at 4:21:46 PM
Group Policy was applied from: 3wirepa-vmserv.3Wire
Group Policy slow link threshold: 500 kbps

Applied Group Policy Objects
-----------------------------
N/A<-------------------------Not applied here

The following GPOs were not applied because they were filtered out
-------------------------------------------------------------------
Default Domain Policy
Filtering: Not Applied (Empty)

Local Group Policy
Filtering: Not Applied (Empty)

The user is a part of the following security groups:
----------------------------------------------------
Domain Users
Everyone
BUILTIN\Users
NT AUTHORITY\INTERACTIVE
NT AUTHORITY\Authenticated Users
LOCAL

by netman1958

I think I understand your issue as it now exists; i.e. everything works like you want it to as long as the user that logs on to the traget computer is in the OU that the GPO is linked to. But, you don't want to or can't leave the user(s) in that OU.

Here is a possible solution. I believe you stated in an earlier post that you are only concerned with one computer and it is the only computer in this particular OU. If that's the case, what about just getting rid of the GPO on the AD controller and configure your settings in the local GPO on that computer itself. Make sure that the computer's local group named "Users" can apply the GPO. Make sure that the AD group "Domain Users" is a member of the local group named "Users" (it should be). I think that will solve your problem.

This discussion is closed to new replies.