Windows 2003 printer port

Posted on 2009-04-16
Last Modified: 2012-05-06
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?
Question by:rhltechie28

    Assisted Solution

    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.
    LVL 82

    Accepted Solution

    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?

    Author Comment

    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.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Do You Know the 4 Main Threat Actor Types?

    Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

    Suggested Solutions

    Many of us need to configure DHCP server(s) in their environment. We can do that simply via DHCP console on server or using MMC snap-in on each computer with Administrative Tools installed in a network. But what if we have to configure many DHCP ser…
    I've always wanted to allow a user to have a printer no matter where they login. The steps below will show you how to achieve just that. In this Article I'll show how to deploy printers automatically with group policy and then using security fil…
    This video is in connection to the article "The case of a missing mobile phone (". It will help one to understand clearly the steps to track a lost android phone.
    Internet Business Fax to Email Made Easy - With eFax Corporate (, 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…

    759 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

    10 Experts available now in Live!

    Get 1:1 Help Now