HKEY_CURRENT_USER\Printers\Connections
There are couple of easy ways to back up this key on the old machine and restore it on the new machine.
Method One
Goto
Start>Run>REGEDIT
Navigate to
HKEY_CURRENT_USER\Printers\Connections
Right-click the folder and select Export. Save the .reg file on a network drive or an external hard drive.
Log on to the user's account on the new machine and simply double-click the .reg file. Confirm that you want to add the settings to the registry.
In XP, goto Printers and Faxes. In Vista and Windows 7, goto Devices and Printers. Right click on each printer and select
Log on to the user's account on the new machine and simply double-click the .reg file. Confirm that you want to add the settings to the registry.
In XP, goto Printers and Faxes. In Vista and Windows 7, goto Devices and Printers. Right click on each printer and select
Connect
. Right-click on the printer that is to be the default and select Set as default
.Method Two
One can also backup the registry key from the command line. The following command will backup the key to the \\server\share network path. Be sure to put quotes around any paths that have spaces in them. Obviously, modify the command to meet your needs.
REGEDIT /E "\\server\share\printers.reg" "HKEY_CURRENT_USER\Printers\Connections"
On the new machine, follow the above directions to restore the network printers.
That's it. You can incorporate method two into a
.bat
file if you wish.
Thank you a lot!!! That save for me a lot of hours (per total) of work! I have only a question: how to do that if printer server has changed: for example, i do a migration from xp to 7, in xp the network printers are in \\server_old\the same printers but in 7 i must change to \\server_new\the same printers?
ReplyDeleteUnfortunately, if the server has changed, you'll have to add them in like you normally would.
Delete