Solved

How to rename printer name from command line

Posted on 2010-08-22
6
3,188 Views
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.
0
Comment
Question by:mac_g
  • 3
  • 2
6 Comments
 
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
0
 

Author Comment

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

Expert Comment

by:Neil Russell
ID: 33494695
All having the same name currently?
 
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

Accepted Solution

by:
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>
0
 
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
0
 
LVL 38

Expert Comment

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

http://technet.microsoft.com/en-us/library/bb490971.aspx
http://ss64.com/nt/prncnfg.html
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

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…
Causes of paper jams:The following are the main causes of paper jams. Guides:If the guides for the paper are not set correctly they may cause the paper to enter at an angle. You should ensure that the guides are set correctly for the paper type a…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

861 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now