Adding Domain Groups to Local Administrator Post-Installation Task Windows 7 x64 Enterprise
I'm trying to add three of our domain groups to the list of local administrators as a Post-Installation task for our K2000 Win7 x64 Enterprise build. Currently, the task loops when adding the first group and does not add the rest. This is what I currently have:
net localgroup "Administrators" "ourcollege.edu\Group1" /ADD
net localgroup "Administrators" "ourcollege.edu\Group2" /ADD
net localgroup "Administrators" "ourcollege.edu\Group3" /ADD
Any/all help is greatly appreciated - thanks!