howtothings.co.uk

Full Version: Renaming and Deleting printers from the command line
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

Good for when the clients account is locked down but you have access to an elevated terminal.

Deleting a printer from the command line
RUNDLL32 PRINTUI.DLL,PrintUIEntry /dl /n "PRINTERNAME"

Renaming a printer from the command line
cscript PRNCNFG.vbs -x -p "PRINTERNAME1" -z "PRINTERNAME2"