Mapping a printer via the registry
17,263
This works well with UNC path connected printers, but the drivers have to be present on the system in order for it to be seamless.
I've not had the same luck with TCP/IP port connected printers.
Related videos on Youtube
Author by
13aal
Updated on September 18, 2022Comments
-
13aal over 1 year
Is it possible to map a printer via the registry in a windows 7 environment?
What I mean is, you have information on the printer in the registry:
- List of printers:
HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\PrinterPorts
- Default printer:
HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows
- Printers themselves:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Printers
- More printer info:
HKEY_CURRENT_USER\Printers
There are all these different types of registry entries for printers, so it seems that it would be possible to map the printer by the registry itself. Is this possible?
-
Admin about 7 years
-
Admin about 7 years@JulianKnight that just gives me information on where the keys sit, not if you can map a printer by the registry
-
Admin about 7 yearsThat's why it isn't an answer ;-) Try adding one the normal way, compare the registry keys, remove it, then add via the registry. You can definitely remotely add a printer using GPO so I fully expect you can do it via registry.
-
Admin about 7 years@JulianKnight lol smart ass. How can you add through GPO..?
-
Admin about 7 yearsDon't know I'm afraid, I'm not an expert in SCOM/SCCM, you'd have to look it up. If you have W7 pro or enterprise, you should have a GPO editor installed.
- List of printers:
-
13aal about 7 yearsSo I could do it with a
UNC
printer, as long as I have the path to it? How so? -
Nicholas D about 7 yearsI usually manually connect the printer initially and then export the registry key HKEY_CURRENT_USER\Printers to use for further deployment. The registry key is a bit in depth, so it would be much more difficult to manually create the .reg file that the export creates for ya!
-
13aal about 7 yearsI don't have the option to manually connect the print, I would need to map the printer via IP to the registry
-
Nicholas D about 7 yearsTake a gander at this: iwan-it-admin-tips.blogspot.com/2009/01/…