Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

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

Registry key for a locally created TCP/IP

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,
1 Solution

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!

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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