Dec20
Windows 2008 R2 add a domain user to a local administrator group via the command line
on December 20, 2012 at 3:33 pmPosted In: Admin's Arsenal
I found this great command that lets you add and remove domain users from the local admin account. Check it out:
This adds:
net localgroup administrators mydomain.local\user1 /add
This removes it:
net localgroup administrators mydomain.local\user1 /delete
This will make things easier to script and much quicker than clicking around!


Recent Admin Comments: