Skip to Content

<p>Change computer domain bat</p>

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
 

Remote Tech Support

Remote Tech Support

TeamViewer