Script for Clean Unwanted Printer Instances and restart the Print Spooler Services

  • Thread starter Thread starter Veron
  • Start date Start date
V

Veron

Dear All,

I know how to write a batch file to restart the print spooler service BUT
how to clean the those unwanted printer instances at Printer Folder ? coz
although restart the print spooler service, those unwanted printer instances
are still inside the Printer Folder (when user disconnect the session using
terminal services)

Do u have a script that stop the print spooler service then clean those
unwanted printer instances and start back the spooler service ?


Pls advise.

tq,
PL
 
Back
Top