Solved

Adding Domain user as local administrator on computer not retaining

Posted on 2011-03-25
8
909 Views
Last Modified: 2012-05-11
Hello,

I will try to make as much sense of this that I can. I just started maintaining a small network which has a Windows 2003 server and 5 workstations. I haven't had the opportunity yet to fully dig into how their server was configure by the previous administrator.

I recently added a new laptop to the domain with a new user. I added the domain admin AND the new domain user as a local administrator on the laptop through the Control Panel>User Accounts interface. A couple days later the user was unable to download and update Flash, insufficient privileges. I noticed he was no longer a local admin on the laptop, neither was the domain admin. I added both the domain admin and the new domain user as administrators again on the local machine and all was well. A couple days later, again the user could not perform certain actions. And again the settings in the User Accounts did not retain.

What could be causing this? Is it a GPO on the server?

Any advice would be appreciated.
0
Comment
Question by:clraymond
8 Comments
 
LVL 29

Expert Comment

by:Randy Downs
ID: 35216522
If they log on to the domain then they will have the privileges you setup on the domain users. That's really an advantage of using a domain.
0
 
LVL 8

Expert Comment

by:tonyperth
ID: 35216791
I personally would check for a log in script that sets the local admin.  I have seen some techies put a script in that deletes all local admins except the actual local administrator acocunt.  the script could of course be anywhere in AD or more likely the profile script.

Cheers,

Tony
0
 
LVL 6

Assisted Solution

by:mattconroy
mattconroy earned 50 total points
ID: 35216821
Group Policy is the only thing that can do this.
0
 
LVL 57

Accepted Solution

by:
Mike Kline earned 75 total points
ID: 35216837
Yes probably being pushed via restricted groups; you can see how that is done here:   http://www.frickelsoft.net/blog/?p=13

Run an RSoP report and you will be able to see what policies are being applied.

Thanks

Mike
0
Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

 
LVL 22

Expert Comment

by:Joseph Moody
ID: 35216897
You can run an RSOP report by opening up command prompt and typeing rsop.msc

Check under computer config\windows settings\restricted groups.
0
 
LVL 41

Expert Comment

by:Amit
ID: 35217961
Check Default Controller Domain policy. It seems Domain admin is part of restricted group. But why you are giving domain admin to user. It is unsafe as you have giving full rights for whole domain. Local admin rights are enough. As you added the user to domain admin already, admin count is now changed to 1. You can make it 0 by using adsiedit.msc tool.

It is by design, that AD check for protected groups and it is added as restricted group, it will remove it automatically. You first need to remove protected group from restrict policy as it is not recommended by MS. I have 4 days call for same issue with MS and finally we removed it from restricted gpo.
0
 
LVL 51

Expert Comment

by:Netman66
ID: 35219649
Mike is correct.  Group Policy Restricted groups is likely what is happening.

The last Admin obviously set that up wrong because, by default, the DA group gets added to the local Administrators group when you join the domain - and it should stay there.

You can also get information on where this is coming from by running gpresult /v on the laptop when it's connected to the domain.

0
 

Author Closing Comment

by:clraymond
ID: 35219917
Turns out there was a "Local Admin" GPO with a Restricted Group. That restricted group was the BUILTIN\Administrators. The new user that was having the issue was a member of the BUILTIN\Administrators group therefore we could not add him as a local admin on the machine.

What happen was before we could get in to configure his user, the employer attempted to set up his user, wanted to give the user some Administrative privileges and thought that by adding him in the BUILTIN\Administrators group he was giving him those rights. When we originally saw that this user was a member of that group we didn't think much of it (also because of budgetary reasons). BUT unfortunately being a member of that group restricted him from being a local admin.

Can't fully test this on the machine until Monday but that is what I am seeing the server end and so far this makes the most amount of sense. Thanks for all the help.

I am going to give Matt and Mike the credit. Thanks guys.
0

Featured Post

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Resolve DNS query failed errors for Exchange
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlle…

947 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now