Adding registry files silently to the remote systems.
Save to .cmd file and ejoy
================
xcopy /y Add_SUP.reg \\%1\admin$\temp\
psexec \\%1 c:\windows\regedit /s \\%1\admin$\temp\Add_SUP.reg
del \\%1\admin$\temp\Add_SUP.reg
psexec \\%1 c:\windows\regedit /s \\%1\admin$\temp\Add_SUP.reg
del \\%1\admin$\temp\Add_SUP.reg
================
No comments:
Post a Comment