If you are managing a terminal server and the print spooler is driving you crazy from time to time, consider the following solutions
This guy created a program that deletes all the inactive TS ports created over time. Check it out
2. The famous Microsoft Fix 50126. Look it up HERE by the microsoft “fix it” team.
3. Write the following .bat file and run it in a scheduler
Echo Clearing spooler service, jobs and printers….
net stop spooler
Echo Services Stopped.
del C:\WINDOWS\system32\spool\PRINTERS\*.* /q
Echo Print Subsystem Purged
net start spooler
Echo Services Started