Registry key for a locally created TCP/IP

Posted on 2006-03-23
Last Modified: 2008-01-09
We have customers who use network printers that are not on a print server, yet they do have a static IP address and can be accessed over the network by creating local TCP/IP ports on the pc's and then installing the drivers manually.
When we perform computer upgrades, we run a program that copies registry keys from networked printers, however, it doesn't copy any locally created TCP/IP ports.
Does anyone know the registry keys that are created when a local TCP/IP port is created so that I can put them into the script so that they get copied over?
Also should mention that when we are performing these upgrades, they are from Win2k to WinXP, so I know the drivers might be different for these printers to be added as well.
Or can someone tell me if this is even possible?
Thanks in advance,
Question by:studbrian
    LVL 2

    Expert Comment


    Microsoft provides a free GUI Printer Migration Utility that can be found at:

    They also have two "very" useful vbscript as part of the Windows 2000 Resource Kit which includes:
    Information for the above two can be found at (under Printers Deployement):

    - Jason
    LVL 6

    Accepted Solution

    Here's a page that explains how to do this:

    but to save you some time, it's in HKLM\System\CurrentControlSet\Control\Print\Monitors\Standard TCP/IP Port\Ports\<Hostname>

    Where hostname will be the FQD name of the machine in question (which I guess you'll have to change to the new machine).

    You will also have to restart the Printer Spool service after applying the reg hack.

    The article is a good read though, and goes in to much greater depth.

    Good luck!

    Featured Post

    Highfive + Dolby Voice = No More Audio Complaints!

    Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

    Join & Write a Comment

    In this article we will discuss all things related to StageFright bug, the most vulnerable bug of android devices.
    Windows 10 is here and for most admins this means frustration and challenges getting that first working Windows 10 image. As in my previous sysprep articles, I've put together a simple help guide to get you through this process. The aim is to achiev…
    To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
    In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor ( If you're interested in additional methods for monitoring bandwidt…

    732 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

    21 Experts available now in Live!

    Get 1:1 Help Now