
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-06-2009 09:15 AM
Hello,
we often need to stop the spooler, delete the jobs and restart the spooler. This is an easy way to do this. You can use this batch to restart also other services...
You can build the custom action
\\scriptpath\scriptfolder\filename.bat {computer}
Kind Regards,
Daniel
we often need to stop the spooler, delete the jobs and restart the spooler. This is an easy way to do this. You can use this batch to restart also other services...
@echo off
setlocal
set PSPATH=\\path\to\your\pstools\
set PC=%1
%PSPATH%\psservice.exe \\%PC% stop spooler
del \\%PC%\admin$\system32\spool\PRINTERS\*.* /Q
%PSPATH%\psservice.exe \\%PC% start spooler
You can build the custom action
\\scriptpath\scriptfolder\filename.bat {computer}
Kind Regards,
Daniel
Labels:
- Labels:
-
Custom Actions
1 REPLY 1

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-10-2009 03:00 PM
great job.
thanks
thanks
