• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 243
  • 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?
2 Solutions
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.
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?
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.

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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