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

x
  • 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,
Brian
0
studbrian
Asked:
studbrian
1 Solution
 
jakomaCommented:

Microsoft provides a free GUI Printer Migration Utility that can be found at:
http://www.microsoft.com/downloads/details.aspx?FamilyID=9b9f2925-cbc9-44da-b2c9-ffdbc46b0b17&DisplayLang=en

They also have two "very" useful vbscript as part of the Windows 2000 Resource Kit which includes:
prnmgr.vbs
clone.vbs
Information for the above two can be found at (under Printers Deployement):
http://www.microsoft.com/technet/community/columns/profwin/pw0102.mspx

- Jason
0
 
ian_chardCommented:
Here's a page that explains how to do this:

https://engineering.purdue.edu/ECN/Resources/KnowledgeBase/Docs/20040216090320

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

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