cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
dzampino
Engaged Sweeper
NOTE: Requires winrm to be configured

winrs -r:{smartname} net stop spooler && del /q %WINDIR%\system32\spool\printers\*.* && net start spooler
1 REPLY 1
Daniel_B
Lansweeper Alumni
Thank you for posting this. You can execute commands on network computers using an asset action with Windows Remote Management, or alternatively use the deployment feature of Lansweeper where you deploy a package with this command to the computer. Package deployments can be started directly on the asset page. Details on how to create a deployment package can be found here.

New to Lansweeper?

Try Lansweeper For Free

Experience Lansweeper with your own data.
Sign up now for a 14-day free trial.

Try Now