• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Renaming and Deleting printers from the command line
#1

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"

  Reply


Messages In This Thread
Renaming and Deleting printers from the command line - by Mark - 15-05-2012, 01:03 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to use whois from Windows command line Mark 0 6,640 10-01-2015, 06:17 PM
Last Post: Mark
  [TuT]Chat with command promt[TuT] xghost 3 9,329 29-11-2011, 03:59 AM
Last Post: WARLORDTF
  How to watch Star Wars Through command prompt Clones 2 11,048 13-11-2011, 12:14 PM
Last Post: Mark
  Deleting and recreating disks, shares, mount points and RAIDs with FreeNAS 7 / 7.2 Mark 0 9,026 17-09-2011, 05:13 PM
Last Post: Mark
  [How To] Add program and port exceptions to the Windows Firewall via command line Mark 1 15,183 24-08-2011, 01:11 PM
Last Post: Drumm

Forum Jump: