July 23, 2009 by bj
Posted in
This uses a comp.txt file. Just enter the names of the computers you want to switch 1 per line.
Content
Change Domain.bat
for /f "eol=; tokens=1,2*" %%i in (comp.txt) do NETDOM MOVE /DOMAIN:proctor.psd %%i /USERD:proctor.psd\bj /PASSWORDD:<pass> /USERO:%%i\Administrator /PASSWORDO:loco
pause
Restart Computer.bat
for /f "eol=; tokens=1,2*" %%i in (comp.txt) do shutdown /m \\%%i /r /t 003 /f
pause
- Login to post comments
