Howto change/reassign printer IP ports to new printer IP ports with scripting
Posted on 2006-06-05
The company do have more than 200 PC logged into a NT40 Domain.
We are going to upgrade to Windows 2003 Server with AD.
Before this our IP addresses also have to be changed. We have public IP addresses, which we
must change to privat IP adresses for the whole system. This task must be done first.
This gives us a problem, as all printers are connected directly to the printers with different
IP port assignments on the client machines (all XP Prof). We want to continue with this solution.
We use: HP Standard TCP/IP Port, Lexmark Network Port, OKI LPR Port, Crown Port+ and Standard TCP/IP Port.
We tried exporting the printer specific registry keys like
HKEY_LOCAL_MACHINE\SOFTWARE\Hewlett-Packard - HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Print -
HKEY_LOCAL_MACHINE\SOFTWARE\Minolta-QMS\Crown Print Monitor+ - HKEY_LOCAL_MACHINE\SOFTWARE\Okidata\OKI LPR Utility -
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\print - etc
In a test system we were able to make search and replace on the IP adresses in the exported REG files.
Ufortunately there are some binary data in the reg files containing the IP adresses of the printer ports which we could not replace with the new IP adresses.
Is there an easier solution for our project to change IP printer port assignments on client machines.