Batch file to stop and start the print spooler service in Windows XP
Submitted by Koder on Tue, 09/23/2008 - 13:38
The following batch file would stop and start the print spooler service on a Windows XP machine. This is required sometimes when your printing hangs, you can stop and restart the print spooling service instead of rebooting your machine.
Just copy the text in between the dashed lines, save it as a text file and rename the text file with a .bat or .cmd extension.
----------------------------------------------------------------------------------------------
@echo off
REM Stops and Starts the Print Spooler service
net stop "print spooler"
net start "print spooler"
echo Print Spooler service has been restarted
-----------------------------------------------------------------------------------------------
- Add new comment
- 5735 reads
-


Good hint; particularly useful when doing MS Visio w/ DB models