Solved

How to rename printer name from command line

Posted on 2010-08-22
6
3,328 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

This seems to be a very common error related to the Samsung printer driver. First, this is the error we're talking about: Log: System Type: Error Event: 7000 Agent Time: 3:37:24 am 22-Apr-09 Event Time: 6:07:24 pm 21-Apr-09 UTC Source: Se…
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…
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

803 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