We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you two Citrix podcasts. Learn about 2020 trends and get answers to your biggest Citrix questions!Listen Now


Registry key for a locally created TCP/IP

studbrian asked
Medium Priority
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,
Watch Question


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
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!

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.


Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.