How to rename printer name from command line

Posted on 2010-08-22
Medium Priority
Last Modified: 2012-05-10
As part of the batch script, we would like to perform rename the printer for all the users in our network.

Please advice for the command.
Question by:mac_g
  • 3
  • 2
LVL 37

Expert Comment

by:Neil Russell
ID: 33494510
"In our Network" Active directory network?
Local Printers? Network printers?
All printers with the same name currently?
Please be more specific

Author Comment

ID: 33494622
it is local printer -- each attached to endUser PC.
LVL 37

Expert Comment

by:Neil Russell
ID: 33494695
All having the same name currently?
Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.


Accepted Solution

mac_g earned 0 total points
ID: 33494979
I am able to do it now..

the solution is --

- download the file "prncnfg.vbs " from internet
- execute the below command

cmd> cscript prncnfg.vbs -x  -p <current Printer name> -z <New Printer Name>
LVL 37

Expert Comment

by:Neil Russell
ID: 33495045
Yes we know that/
But unless ALL your printers have the same name to start with its only half the story
LVL 39

Expert Comment

ID: 33506782
You can use CSCRIPT PRNCNFG.VBS to rename a printer. See:


Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

If you use a Brother DCP 130C or similar Brother printer, at some point you might encounter the following problem: after you change the ink cartridge, the printer displays an "ink empty" message. Sometimes you just need to follow the instructions…
When you try to share a printer , you may receive one of the following error messages. Error message when you use the Add Printer Wizard to share a printer: Windows could not share your printer. Operation could not be completed (Error 0x000006…
This video Micro Tutorial shows how to password-protect PDF files with free software. Many software products can do this, such as Adobe Acrobat (but not Adobe Reader), Nuance PaperPort, and Nuance Power PDF, but they are not free products. This vide…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
Suggested Courses

624 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question