Remote restart printer spooler

CatOnRug solve, automate, speed up Remote restart printer spooler
Save this file as %systemroot%\System32\remote.restart.spooler.cmd
psexec /accepteula \\%1 net stop spooler
rm \\%1\c$\WINDOWS\system32\spool\PRINTERS\*.*
psexec \\%1 net start spooler
Copy psexec to %systemroot%\System32\

Everytime you need to restart printer spooler on remote machine open command prompt in "Run as administrator" mode
and type
remote.restart.spooler.cmd computername

No comments:

Post a Comment