• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 248
  • Last Modified:

Windows 2003 printer port

Hi All,

I have been asked to changed the port name of several hundred printer queues.  These are all standard tcp/ip ports.  Now I have been a windows admin for a long time...and to my knowledge (which may be lacking in this subject) you cannot change a port name after its created.  To change a port name you have to delete the queue and recreate it.  Is this correct?  If not, how in the world do you change it?
0
rhltechie28
Asked:
rhltechie28
2 Solutions
 
manoelgjrCommented:
Hello, you are right. You have to delete the queue and recreate it with a new name. I already had the same issue and the only solution was to do it manually. Sorry.
0
 
oBdACommented:
Don't forget that if the port names really have to be changed, then you'll obviously have to reconfigure the printers as well.
There are some VB scripts in the %systemroot%\system32 folder, especially prnport.vbs and prnmngr.vbs. You can start both with -L to create a list of printers and ports, then merge these into a configuration file that will recreate the printer port with the new name, reconfigure the printer to use the new port, and delete the old ports (deleting the old ports will only be possible after a restart of the spooler service after reconfiguring the printers).
Why exactly is there a need to rename the ports; what's in a (port) name, after all?
0
 
rhltechie28Author Commented:
Thanks for the input about the scripts....I am sure i will need these!  I don't want to do it...its the old management do it kinda thing.
0
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

Featured Post

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now