How to delete printers in the Registry in Windows 7?

2

How to delete printers in the Registry in Windows 7?

user330063

Posted 2014-06-06T15:23:52.647

Reputation: 61

For a batch scripted solution, you can also use the interface Rundll32 printui.dll, PrintUIEntry which is the same as old Windows XP systems. Also, VBscript is very quick to delete printers, even thought those systems do not always works. see https://technet.microsoft.com/fr-fr/library/ee624057%28v=ws.10%29.aspx

– MUY Belgium – 2015-09-01T19:32:31.150

2You delete the printer from Device and Printers – Ramhound – 2014-06-06T15:33:26.453

Answers

6

For local printers:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Environments\Windows NT x86\Drivers\Version-3\

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Printers\

For network printers:

HKEY_CURRENT_USER\Printers\Connections\

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Providers\LanMan Print Services\Servers\Printers\

Hope this helps

Fazer87

Posted 2014-06-06T15:23:52.647

Reputation: 11 177

Is this guaranteed by some documentation, or does it just happen to work on your particular system? If it is guaranteed, please link to references; if not, please state so in the answer. – a CVn – 2014-08-15T13:22:07.137