Skip navigation

JSI Tip 6476. Freeware DeletePS.exe - Delete\Find Network Printer or Server Connection Utility.

Downloads
deleteps.zip

Download DeletePS.zip. When you extract DeletePS.exe and type DeletePS at a CMD prompt, you receive:

DeletePS.exe - Delete\Find Network Printer or Server Connection Utility - v1.1
Created By: Harry Bates - Lockheed-Martin - [email protected]

Command Line Switches - (All switches and params ucased automatically)
   NO QUOTATION MARKS NEEDED. '/' IS THE SWITCH DELIMITER.

/D - Specify delete.

/C - Specify command line output.
   Example output with the /D switch with the following command line
   piped to a file:
   DeletePS.exe /S=PSERV /D /C > \\Server\Share\%computername%.log

   DELETED: \\PSERV\PRINTER1
   DELETED: \\PSERV\PRINTER2
   DELETED: \\PSERV\PRINTER3
   Example output with just showing and no /D for deletion:
   DeletePS.exe /S=PSERV /C > \\Server\Share\%computername%.log

   FOUND: \\PSERV\PRINTER1
   FOUND: \\PSERV\PRINTER2
   FOUND: \\PSERV\PRINTER3
   If no /D is specified and a match is found, /C is automatically
   implemented.

/S=SERVERNAME - Show or delete all printers and server connections via
   specified server on a workstation.
   Example: If you had 20 printers connected to a workstation via a
   single print server and you renamed the print server or removed
   it from the network, this will delete or show all instances and all
   printers that were connected via that print server.

/P=PRINTERNAME - Show or delete all instances of a specific printer
   mounted via all servers on a workstation.
   Example 1: If there were 2 print servers on your network and you
   removed a printer that was mounted on both, this will delete all
   of the instances of this specific printer by name.
   Example 2: If you had a workstation with the following printers
   connected
   \\PrintServer1\HP-Laser
   \\PrintServer2\HP-Laser
   and you renamed HP-Laser or removed HP-Laser from the network,
   if you use the /D switch it will removed both of these connected
   printers, but leave all other printers mounted to these servers
   connected to that workstation.

/A - Administrative removal of HKEY_LOCAL_MACHINE entry for removing
   print servers. (Must use /D and /S switches also)
   This will check first to see if the user has local admin priveleges.
   If they do it will remove the following key from the registry:
   HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Print\Providers\LanMan Print Services\Servers\PSERV

This software is freeware.
For updates or other freeware visit www.jsiinc.com and search for:
'Harry Bates'

THIS SOFTWARE IS PROVIDED WITH NO GUARANTEE. AUTHOR IS NOT RESPONSIBLE
FOR FAILURES OR PROBLEMS FROM USAGE OF THIS UTILITY. ANY BUGS OR COMMENTS
PLEASE FEEL FREE TO EMAIL [email protected].



Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish