Remove Local Admins Batch File
Posted on 2010-09-03
I need to put together a batch file, which will:
1. Remove domain users from local administrators group
2. Add "group1" and "group2" to local administrators group
3. Create "bumblebee" user with a specific password and add that user to the local administrators group
Can you please provide a series of commands that will do this trick? Would be helpful.
I plan to run this batch file using psexec.bat on 60 XP workstations and 10 Windows 7 workstations, running with domain admin privileges.