> the protogenLabs notebook » reading full entry…

Jul
15

Adding domain users to the local admin group in Vista

» posted 3385 days ago @ 10:48 PM by George Merlocco in technology

Recently a client of mine adopted 2 new Vista laptops for use in the office domain which is run by a Win2k3 Server box. Many powerful features are available when a computer/user is joined to an Active Directory domain. Most of which I won't get into now.

The users of the new Vista laptops did need heightened permissions to install programs and the like, however I still wanted them to remain normal domain users in the AD. In Windows XP it was as easy as logging on as a local admin, running MMC and adding a domain user to the local administrators group. You would be able to browse the AD by selecting the "Locations..." button, however in Vista I found that it would ONLY show the local machine name, with no option to browse the domain which the laptop was joined to.

Anyways, after some hunting around, Manoj Nagpal's Blog lead me to the answer which can be accomplished via this simple CMD string:

net localgroup Administrators /add domain\username

Hopefully you found this quicker than it took me to write it, and your problems are now solved. Remember to run the above command as a user with administrative privileges of course.

comments 8 comments submitted  article's permanent link permalink  hop to the top^ back to top
article tags article tags: , ,   Bookmark and Share

> Leave a comment? [8] article comments…

1

George, I am glad it helped.

Cheers
Manoj.

by Manoj Nagpal on 02.12.2010 @ 02:42 AM » #

2

Thanks again Manoj!

by georgeM on 02.12.2010 @ 02:43 AM » #

3

this helped me a lot, thanks

by joe on 02.12.2010 @ 02:44 AM » #

4

Hi,

why don’t you just go to the “User Accounts” applet in Control Panel and choose “Give other users access to this computer” and then add the user from that window? :-)

by faquick on 02.12.2010 @ 02:45 AM » #

5

Perfect, my search lead me here in 20 seconds. Thanks a lot!

by haanw on 02.12.2010 @ 02:46 AM » #

6

Thanks that was very useful for my script.

by Vegard on 02.12.2010 @ 02:47 AM » #

7

Glad this helps a lot of you guys out. Interesting that you used it in a script Vegard. I’m sure in that case, it does come in very handy!

by georgeM on 02.12.2010 @ 02:48 AM » #

8

Great information George, thank you.

For those of us who get “Access is denied” when running the “net” command, we’ll have to run “cmd” as administrator: 1.) make sure your account is part of the Administrators group 2.) create a shortcut calling cmd.exe 2.) right-click the shortcut and “Run as Administrator”

by Robert Barnard on 07.07.2011 @ 09:12 AM » #

> leave a comment?

Name:


E-Mail:


Website:


Comment: