• 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


Possibly Related Threads…
Thread Author Replies Views Last Post
  How to use whois from Windows command line Mark 0 6,151 10-01-2015, 06:17 PM
Last Post: Mark
  [TuT]Chat with command promt[TuT] xghost 3 8,637 29-11-2011, 03:59 AM
Last Post: WARLORDTF
  Deleting and recreating disks, shares, mount points and RAIDs with FreeNAS 7 / 7.2 Mark 0 8,734 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 14,575 24-08-2011, 01:11 PM
Last Post: Drumm

Forum Jump: