The information in this article applies to:
IMPORTANT: This article contains information about editing the registry. Before you edit the registry, make sure you understand how to restore it if a problem occurs. For information about how to do this, view the "Restoring the Registry" Help topic in Regedit.exe or the "Restoring a Registry Key" Help topic in Regedt32.exe. SUMMARYIf you are troubleshooting Windows NT or applications that are running in Windows NT, you may need to verify that a print share or installed printer has been completely deleted. The following information shows the default locations in the registry database for references to installed printers or print shares in Windows NT versions 3.1, 3.5, 3.51 and 4.0. MORE INFORMATION
It is rarely necessary to remove a printer by altering the registry. In
most cases, you can remove a printer in Print Manager or the Printer
folder using the Remove or Delete Printer option. This immediately removes
the printer, but internally the spooler marks the printer for deletion and
does not actually delete the printer until the next time that the Spooler
Service starts. Therefore, you should stop and restart the Spooler Service
before attempting to recreate a printer, or before attempting to remove a
printer port that a recently-deleted printer was using. Also, you should
close Print Manager or the Printers folder before restarting the Spooler.
Modifying the RegistryWARNING: Using Registry Editor incorrectly can cause serous problems that may require you to reinstall your operating system. Microsoft cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk.For information about how to edit the registry, view the "Changing Keys And Values" Help topic in Registry Editor (Regedit.exe) or the "Add and Delete Information in the Registry" and "Edit Registry Data" Help topics in Regedt32.exe. Note that you should back up the registry before you edit it. NOTE: Registry keys in the following procedure may appear on two or more lines, but are actually one path; they have been wrapped for readability.
Windows NT 4.0If the printer is installed locally (My Computer), the printer information is located in the following registry keys:HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Environments \Windows NT x86\Drivers\Version-2\<Printer Name> HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Printers \<Printer Name> If the printer is installed as a network printer (Network printer server or \\<server name>), the printer information is located in the following registry keys: HKEY_CURRENT_USER\Printers\Connections\<Server Name> HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Providers \LanMan Print Services\Servers\<Server Name>\Printers\<Printer Name> Windows NT 3.51If the printer is installed locally (Create Printer), the printer information will be located in the following registry keys:HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Environments \Windows NT x86\Drivers\Version-1\<Printer Name> HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Printers \<Printer Name> If the printer is installed as a network printer (Connect to Printer), the printer information is located in the following registry keys: HKEY_CURRENT_USER\Printers\Connections\<Server Name> HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Providers \LanMan Print Services\Servers\<Server Name>\Printers\<Printer Name> Windows NT 3.5If the printer was installed from Print Manager using the Connect To Printer option, the printer information will be located in the following keys:HKEY_USERS\S-<user id number>\Printers\Connections\<Server Name> \<Printer Name> HKEY_CURRENT_USER\Printers\Connections \\<Server Name>\<Printer Name> HKEY_CURRENT_USER\Software\Microsoft\Windows NT\Current Version\Devices HKEY_CURRENT_USER\Software\Microsoft\Windows NT\Current Version \PrinterPorts If the printer was installed from Print Manager using the Create Printer option, the printer information will be located in the following keys: HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows NT\Current Version \Print Manager\Printers HKEY_USERS\< SID Number >\SOFTWARE\Microsoft\Windows NT \Current Version\Print Manager\Printers HKEY_CURRENT_USER\Software\Microsoft\Windows NT\Current Version\Devices HKEY_CURRENT_USER\Software\Microsoft\Windows NT\Current Version \Printer Ports HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Printers HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Print\Environments \Windows NT x86\Drivers\Version-1 Windows NT 3.1If the printer was installed from Print Manager using the Connect To Printer option, the printer information will be located in the following keys:HKEY_USERS\S-<user id number>\Printers\Connections\<Server Name> \<Printer Name> HKEY_CURRENT_USER\Printers\Connections \\<Server Name>\<Printer Name> HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\Current Version\Devices HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\Current Version \PrinterPorts If the printer was installed from Print Manager using the Create Printer option, the printer information will be located in the following keys: HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows NT\Current Version \Print Manager\Printers HKEY_USERS\< SID Number >\SOFTWARE\Microsoft\Windows NT \Current Version\Print Manager\Printers HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\Current Version\Devices HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\Current Version \Printer Ports HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Printers There may also be references to printers in other ControlSets, such as ControlSet001, but because this may be the Control Set for the Last Known Good Configuration, it should not be modified. For additional information, please see the following article in the Microsoft Knowledge Base: ARTICLE-ID: Q135406 NOTE: If you intend to manually remove a printer driver you must do so before manually removing the printer and shares, because the registry entry that is referenced in article Q135406 is deleted when you manually remove the printer and shares. Additional query words: troubleshoot trouble shoot tshooter tshoot uninstall
Keywords : kbprint ntprint NTSrvWkst |
Last Reviewed: January 13, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |