collage_jeanz
asked on
Need a Batch file to find and remove "Lexmark" entries from Registry
I need a batch file, which will find and delete all the registry keys where ever lexmark is mentioned, weather its a folder, string value or DWORD value and then It should create a text file under c:\windows\logs\Lexmarkreg .txt of the keys got deleted.
Please mention if there is anyway to give full permission to everyone in registry with the batch file as well.
Â
Permissions-in-Registry.jpg
Please mention if there is anyway to give full permission to everyone in registry with the batch file as well.
Â
Permissions-in-Registry.jpg
Please refer to https://www.experts-exchange.com/questions/21898044/Delete-ALL-registry-keys-on-a-wildcard.html
This link should assist - read the comments -- really funny banter as well
http://www.computing.net/answers/programming/delete-a-registry-key-with-batch/8218.html
.Dave
http://www.computing.net/answers/programming/delete-a-registry-key-with-batch/8218.html
.Dave
ASKER
I am sorry, I have no idea about VB Scripting, if you can mention where I have to put Lexmark instead it asks me to provide something, what needs to be deleted. That would be greatly appriciated.
"Please mention if there is anyway to give full permission to everyone in registry with the batch file as well."
Why in the world would you want to do this?
Why in the world would you want to do this?
Sorry, didn't mean to sound disrespectful, but the registry is designed with granular permissions for a reason. If you open it to Everyone/Full, I can probably guess as to how soon you will be rebuilding that box. Plus, a savvy user can reverse and deny any GPO you want to try and enforce...
This would be easier to identify the keys deleted, and script a removal of only those...
Most commonly, the only thing that Lexmark drops on a system that interferes with the spooler, is the lexbce (sp?) Service, and once the driver is removed, the dependency is not....
Other things like Print monitors are usually harmless....
You might find yourself deleting more good than remnants...
Can you explain more of your end goal?
Â
This would be easier to identify the keys deleted, and script a removal of only those...
Most commonly, the only thing that Lexmark drops on a system that interferes with the spooler, is the lexbce (sp?) Service, and once the driver is removed, the dependency is not....
Other things like Print monitors are usually harmless....
You might find yourself deleting more good than remnants...
Can you explain more of your end goal?
Â
ASKER
Thanks for the reply Johnb6767. The only reason I was thinking to give full permissions to everyone bcoz I found couple of registry entries, and I made a script to remove some entries, but inorder to remove some entries it needs to have full permission, i was thinking to give full permission in the beging of my script and then remove it by the end of it.
Well the end result I am looking for, to delete all the entries of Lexmark from Registry with just one double click.
Well the end result I am looking for, to delete all the entries of Lexmark from Registry with just one double click.
So you have a list of the keys? Subinacl can grant access to individual keys, with no problem.
Like this....
subinacl /subkeyreg "HKEY_LOCAL_MACHINE\Softwa re\Microso ft\Windows \CurrentVe rsion\Poli cies" /grant=domain\%username%
Feel free to post your list of keys as well....
Like this....
subinacl /subkeyreg "HKEY_LOCAL_MACHINE\Softwa
Feel free to post your list of keys as well....
ASKER
Windows Registry Editor Version 5.00
[-HKEY_CURRENT_USER\Softwa re\Microso ft\MSPaper 12.0\ScannerApp]
[-HKEY_CURRENT_USER\Softwa re\Microso ft\MSPaper 12.0\ScannerApp\Black and white]
[-HKEY_CURRENT_USER\Softwa re\Microso ft\MSPaper 12.0\ScannerApp\Black and white from color page]
[-HKEY_CURRENT_USER\Softwa re\Microso ft\MSPaper 12.0\ScannerApp\Color]
[-HKEY_CURRENT_USER\Softwa re\Microso ft\MSPaper 12.0\ScannerApp\Grayscale]
[-HKEY_CURRENT_USER\Softwa re\Microso ft\MSPaper 12.0\XSCAN32\Lexmark S300-S400 Series TWAIN]
[HKEY_CURRENT_USER\Softwar e\Microsof t\Windows NT\CurrentVersion\Devices]
"Lexmark S300-S400 Series"="winspool,Ne06:"=-
[HKEY_CURRENT_USER\Softwar e\Microsof t\Windows NT\CurrentVersion\PrinterP orts]
"Lexmark S300-S400 Series"="winspool,Ne06:,15 ,45"=-
[-HKEY_CURRENT_USER\Softwa re\Lexmark ]
[-HKEY_LOCAL_MACHINE\SOFTW ARE\Lexmar kInkjet]
[-HKEY_LOCAL_MACHINE\SOFTW ARE\Lexmar k]
[HKEY_LOCAL_MACHINE\SOFTWA RE\Microso ft\Windows Media Device Manager\Plugins\SP\MSPMSP\ KBDeviceLi st]
"Lexmark"="Parallel; Flash Unit;"=-
[-HKEY_CURRENT_USER\Softwa re\Microso ft\Windows \ShellNoRo am\MUICach e]
[HKEY_CURRENT_USER\Softwar e\Microsof t\Windows NT\CurrentVersion\Devices]
"LexmarkS300-S400 Series"="winspool,Ne00:"=-
[HKEY_CURRENT_USER\Softwar e\Microsof t\Windows NT\CurrentVersion\PrinterP orts]
"LexmarkS300-S400 Series"="winspool,Ne00:,15 ,45"=-
[-HKEY_LOCAL_MACHINE\SOFTW ARE\Lexmar k]
[-HKEY_LOCAL_MACHINE\SOFTW ARE\Lexmar kInkjet]
[-HKEY_LOCAL_MACHINE\SOFTW ARE\Lexmar kInkjet\JS W\Local\lx ea]
[-HKEY_LOCAL_MACHINE\SOFTW ARE\Lexmar kInkjet\lx ea]
[HKEY_LOCAL_MACHINE\SOFTWA RE\Microso ft\Windows \CurrentVe rsion\Inst aller\Fold ers]
"C:\Program Files\Lexmark S300-S400 Series\"=""=-
[-HKEY_LOCAL_MACHINE\SOFTW ARE\Micros oft\Window s NT\CurrentVersion\Print\Pr inters\Lex mark S300-S400 Series]
[-HKEY_LOCAL_MACHINE\SYSTE M\ControlS et001\Cont rol\Class\ {4D36E979- E325-11CE- BFC1-08002 BE10318}\0 004]
[-HKEY_LOCAL_MACHINE\SYSTE M\ControlS et001\Cont rol\Class\ {6BDD1FC6- 810F-11D0- BEC7-08002 BE2092F}\0 006]
[-HKEY_LOCAL_MACHINE\SYSTE M\ControlS et001\Cont rol\Device Classes\{2 8d78fad-5a 12-11d1-ae 5b-0000f80 3a8c2}\##? #USB#Vid_0 43d&Pid_01 80&MI_01#6 &2667223e& 0&0001#{28 d78fad-5a1 2-11d1-ae5 b-0000f803 a8c2}]
[-HKEY_LOCAL_MACHINE\SYSTE M\ControlS et001\Cont rol\Device Classes\{2 8d78fad-5a 12-11d1-ae 5b-0000f80 3a8c2}\##? #USB#Vid_0 43d&Pid_01 80&MI_01#6 &2667223e& 0&0001#{28 d78fad-5a1 2-11d1-ae5 b-0000f803 a8c2}]
[-HKEY_LOCAL_MACHINE\SYSTE M\ControlS et001\Cont rol\Device Classes\{5 3f56307-b6 bf-11d0-94 f2-00a0c91 efb8b}\##? #USBSTOR#D isk&Ven_Le xmark&Prod _USB_Mass_ Storage&Re v__200#7&e bbb9c&0&90 T4099K0398 823&0#{53f 56307-b6bf -11d0-94f2 -00a0c91ef b8b}]
[-HKEY_LOCAL_MACHINE\SYSTE M\ControlS et001\Cont rol\Device Classes\{5 3f56307-b6 bf-11d0-94 f2-00a0c91 efb8b}\##? #USBSTOR#D isk&Ven_Le xmark&Prod _USB_Mass_ Storage&Re v__200#7&e bbb9c&0&90 T4099K0398 823&0#{53f 56307-b6bf -11d0-94f2 -00a0c91ef b8b}]
[-HKEY_LOCAL_MACHINE\SYSTE M\ControlS et001\Cont rol\Print\ Environmen ts\Windows NT x86\Drivers\Version-3\Lexm ark S300-S400 Series]
[-HKEY_LOCAL_MACHINE\SYSTE M\ControlS et001\Cont rol\Print\ Environmen ts\Windows NT x86\Print Processors\Lexmark S300-S400 Series Print Processor]
[-HKEY_LOCAL_MACHINE\SYSTE M\ControlS et001\Cont rol\Print\ Printers\L exmark S300-S400 Series]
[-HKEY_LOCAL_MACHINE\SYSTE M\ControlS et001\Enum \USB\Vid_0 43d&Pid_01 80&MI_00]
[-HKEY_LOCAL_MACHINE\SYSTE M\ControlS et001\Enum \USBPRINT\ LexmarkS30 0-S400_Ser ies]
[-HKEY_LOCAL_MACHINE\SYSTE M\ControlS et001\Enum \USBSTOR\D isk&Ven_Le xmark&Prod _USB_Mass_ Storage&Re v__200]
[-HKEY_LOCAL_MACHINE\SYSTE M\ControlS et001\Hard ware Profiles\0001\System\Curre ntControlS et\Control \Print\Pri nters\Lexm ark S300-S400 Series]
[-HKEY_LOCAL_MACHINE\SYSTE M\ControlS et001\Hard ware Profiles\Current\System\Cu rrentContr olSet\Cont rol\Print\ Printers\L exmark S300-S400 Series]
[-HKEY_LOCAL_MACHINE\SYSTE M\CurrentC ontrolSet\ Control\Cl ass\{4D36E 979-E325-1 1CE-BFC1-0 8002BE1031 8}\0004]
[-HKEY_LOCAL_MACHINE\SYSTE M\CurrentC ontrolSet\ Control\Cl ass\{6BDD1 FC6-810F-1 1D0-BEC7-0 8002BE2092 F}\0006]
[-HKEY_LOCAL_MACHINE\SYSTE M\CurrentC ontrolSet\ Control\De viceClasse s\{28d78fa d-5a12-11d 1-ae5b-000 0f803a8c2} \##?#USB#V id_043d&Pi d_0180&MI_ 01#6&26672 23e&0&0001 #{28d78fad -5a12-11d1 -ae5b-0000 f803a8c2}]
[-HKEY_LOCAL_MACHINE\SYSTE M\CurrentC ontrolSet\ Control\De viceClasse s\{53f5630 7-b6bf-11d 0-94f2-00a 0c91efb8b} \##?#USBST OR#Disk&Ve n_Lexmark& Prod_USB_M ass_Storag e&Rev__200 #7&ebbb9c& 0&90T4099K 0398823&0# {53f56307- b6bf-11d0- 94f2-00a0c 91efb8b}]
[-HKEY_LOCAL_MACHINE\SYSTE M\CurrentC ontrolSet\ Control\Pr int\Enviro nments\Win dows NT x86\Drivers\Version-3\Lexm ark S300-S400 Series]
[-HKEY_LOCAL_MACHINE\SYSTE M\CurrentC ontrolSet\ Control\Pr int\Enviro nments\Win dows NT x86\Print Processors\Lexmark S300-S400 Series Print Processor]
[-HKEY_LOCAL_MACHINE\SYSTE M\CurrentC ontrolSet\ Control\Pr int\Printe rs\Lexmark S300-S400 Series]
[-HKEY_LOCAL_MACHINE\SYSTE M\CurrentC ontrolSet\ Enum\USB\V id_043d&Pi d_0180&MI_ 00]
[-HKEY_LOCAL_MACHINE\SYSTE M\CurrentC ontrolSet\ Enum\USBPR INT\Lexmar kS300-S400 _Series]
[-HKEY_LOCAL_MACHINE\SYSTE M\CurrentC ontrolSet\ Enum\USBST OR\Disk&Ve n_Lexmark& Prod_USB_M ass_Storag e&Rev__200 ]
[-HKEY_LOCAL_MACHINE\SYSTE M\CurrentC ontrolSet\ Enum\USBST OR\Disk&Ve n_Lexmark& Prod_USB_M ass_Storag e&Rev__200 ]
[-HKEY_LOCAL_MACHINE\SYSTE M\CurrentC ontrolSet\ Hardware Profiles\0001\System\Curre ntControlS et\Control \Print\Pri nters\Lexm ark S300-S400 Series]
[-HKEY_LOCAL_MACHINE\SYSTE M\CurrentC ontrolSet\ Hardware Profiles\Current\System\Cu rrentContr olSet\Cont rol\Print\ Printers\L exmark S300-S400 Series]
[HKEY_USERS\.DEFAULT\Softw are\Micros oft\Window s NT\CurrentVersion\Devices]
"Lexmark S300-S400 Series"="winspool,Ne10:"=-
[HKEY_USERS\.DEFAULT\Softw are\Micros oft\Window s NT\CurrentVersion\PrinterP orts]
"Lexmark S300-S400 Series"="winspool,Ne10:,15 ,45"=-
[-HKEY_USERS\S-1-5-21-2118 135359-185 6009214-51 0530097-55 447\Softwa re\Microso ft\Windows \ShellNoRo am\MUICach e]
[-HKEY_USERS\S-1-5-21-2118 135359-185 6009214-51 0530097-55 448\Softwa re\Microso ft\Windows \ShellNoRo am\MUICach e]
[-HKEY_CURRENT_CONFIG\Syst em\Current ControlSet \Control\P rint\Print ers\Lexmar k S300-S400 Series]
[-HKEY_LOCAL_MACHINE\SOFTW ARE\Lexmar kInkjet\Lc s\Local\lx ea]
[-HKEY_LOCAL_MACHINE\SOFTW ARE\Lexmar kInkjet\lx ea]
[-HKEY_LOCAL_MACHINE\SOFTW ARE\Micros oft\ESENT\ Process\lx eacoms]
[-HKEY_LOCAL_MACHINE\SOFTW ARE\Micros oft\Window s\CurrentV ersion\Ins taller\Use rData\S-1- 5-18\Compo nents\33E8 4ED62D5AB9 644948A027 947BD0DC]
[-HKEY_LOCAL_MACHINE\SOFTW ARE\Micros oft\Window s\CurrentV ersion\Ins taller\Use rData\S-1- 5-18\Compo nents\97C4 ECDD3658BE 340B79BB1C 29AF44F9]
[-HKEY_LOCAL_MACHINE\SOFTW ARE\Micros oft\Window s\CurrentV ersion\Ins taller\Use rData\S-1- 5-18\Produ cts\A61422 6E33313614 298EF83AD8 EF07FE]
[HKEY_LOCAL_MACHINE\SOFTWA RE\Microso ft\Windows \CurrentVe rsion\Shar edDlls]
"C:\WINDOWS\system32\lxeac omm.dll"=" 1"=-
[HKEY_LOCAL_MACHINE\SOFTWA RE\Microso ft\Windows \CurrentVe rsion\Shar edDlls]
"C:\WINDOWS\system32\LXEAi nst.dll"=" 1"=-
[HKEY_LOCAL_MACHINE\SOFTWA RE\Microso ft\Windows \CurrentVe rsion\Shar edDlls]
"C:\WINDOWS\system32\lxeap lc.ini"="1 "=-
[-HKEY_LOCAL_MACHINE\SYSTE M\ControlS et001\Cont rol\Print\ Monitors\S 300-S400 Series Port]
[-HKEY_LOCAL_MACHINE\SYSTE M\ControlS et001\Enum \Root\LEGA CY_LXEA_DE VICE]
[-HKEY_LOCAL_MACHINE\SYSTE M\ControlS et001\Serv ices\lxea_ device]
[-HKEY_LOCAL_MACHINE\SYSTE M\ControlS et003\Enum \Root\LEGA CY_LXEA_DE VICE]
[-HKEY_LOCAL_MACHINE\SYSTE M\ControlS et003\Serv ices\lxea_ device]
[-HKEY_LOCAL_MACHINE\SYSTE M\CurrentC ontrolSet\ Control\Pr int\Monito rs\S300-S4 00 Series Port]
[-HKEY_LOCAL_MACHINE\SYSTE M\CurrentC ontrolSet\ Enum\Root\ LEGACY_LXE A_DEVICE]
[-HKEY_LOCAL_MACHINE\SYSTE M\CurrentC ontrolSet\ Services\l xea_device ]
[-HKEY_LOCAL_MACHINE\SOFTW ARE\Lexmar kInkjet]
[HKEY_LOCAL_MACHINE\SOFTWA RE\Microso ft\Windows \CurrentVe rsion\Inst aller\Fold ers]
"C:\Documents and Settings\All Users\Start Menu\Programs\Lexmark\"=-
[-HKEY_LOCAL_MACHINE\SOFTW ARE\Micros oft\Window s\CurrentV ersion\Uni nstall\TEA _HostCD]
[-HKEY_LOCAL_MACHINE\SOFTW ARE\Micros oft\Window s Media Device Manager\Plugins\SP\MSPMSP\ KBDeviceLi st]
[-HKEY_LOCAL_MACHINE\SOFTW ARE\Micros oft\Window s NT\CurrentVersion\Print\Pr inters\Lex mark S300-S400 Series (Copy 1)]
[-HKEY_LOCAL_MACHINE\SOFTW ARE\Micros oft\Window s NT\CurrentVersion\Print\Pr inters\Lex mark S300-S400 Series (Copy 2)]
[-HKEY_LOCAL_MACHINE\SYSTE M\ControlS et001\Cont rol\Class\ {4D36E979- E325-11CE- BFC1-08002 BE10318}]
[-HKEY_LOCAL_MACHINE\SYSTE M\ControlS et001\Cont rol\Class\ {6BDD1FC6- 810F-11D0- BEC7-08002 BE2092F}]
[-HKEY_LOCAL_MACHINE\SYSTE M\ControlS et001\Cont rol\Device Classes\{2 8d78fad-5a 12-11d1-ae 5b-0000f80 3a8c2}]
[-HKEY_LOCAL_MACHINE\SYSTE M\ControlS et001\Cont rol\Device Classes\{5 3f56307-b6 bf-11d0-94 f2-00a0c91 efb8b}\##? #USBSTOR#D isk&Ven_Le xmark&Prod _USB_Mass_ Storage&Re v__200#7&6 2d1146&0&9 0T4099N670 1584&0#{53 f56307-b6b f-11d0-94f 2-00a0c91e fb8b}]
[-HKEY_LOCAL_MACHINE\SYSTE M\ControlS et001\Cont rol\Device Classes\{5 3f56307-b6 bf-11d0-94 f2-00a0c91 efb8b}\##? #USBSTOR#D isk&Ven_Le xmark&Prod _USB_Mass_ Storage&Re v__200#7&e bbb9c&0&90 T4099K0398 823&0#{53f 56307-b6bf -11d0-94f2 -00a0c91ef b8b}]
[-HKEY_LOCAL_MACHINE\SYSTE M\ControlS et001\Cont rol\Device Classes\{5 3f56307-b6 bf-11d0-94 f2-00a0c91 efb8b}\##? #USBSTOR#D isk&Ven_Le xmark&Prod _USB_Mass_ Storage&Re v__200#7&f fdc3a0&0&9 0T4099K040 5873&0#{53 f56307-b6b f-11d0-94f 2-00a0c91e fb8b}]
[-HKEY_LOCAL_MACHINE\SYSTE M\ControlS et001\Cont rol\Print\ Printers]
[-HKEY_LOCAL_MACHINE\SYSTE M\ControlS et001\Enum \USB\Vid_0 43d&Pid_01 80&MI_00]
[-HKEY_LOCAL_MACHINE\SYSTE M\ControlS et001\Enum \USBPRINT]
[-HKEY_LOCAL_MACHINE\SYSTE M\ControlS et001\Enum \USBSTOR\D isk&Ven_Le xmark&Prod _USB_Mass_ Storage&Re v__200]
[-HKEY_LOCAL_MACHINE\SYSTE M\ControlS et001\Hard ware Profiles\0001\System\Curre ntControlS et\Control \Print\Pri nters]
[-HKEY_LOCAL_MACHINE\SYSTE M\ControlS et001\Serv ices\Disk\ Enum]
[-HKEY_LOCAL_MACHINE\SYSTE M\ControlS et001\Serv ices\PartM gr\Enum]
[-HKEY_LOCAL_MACHINE\SYSTE M\ControlS et003\Cont rol\Class\ {4D36E979- E325-11CE- BFC1-08002 BE10318}]
[-HKEY_LOCAL_MACHINE\SYSTE M\ControlS et003\Cont rol\Class\ {6BDD1FC6- 810F-11D0- BEC7-08002 BE2092F}]
[-HKEY_LOCAL_MACHINE\SYSTE M\ControlS et003\Cont rol\Device Classes\{2 8d78fad-5a 12-11d1-ae 5b-0000f80 3a8c2}]
[-HKEY_LOCAL_MACHINE\SYSTE M\ControlS et003\Cont rol\Device Classes\{5 3f56307-b6 bf-11d0-94 f2-00a0c91 efb8b}\##? #USBSTOR#D isk&Ven_Le xmark&Prod _USB_Mass_ Storage&Re v__200#7&6 2d1146&0&9 0T4099N670 1584&0#{53 f56307-b6b f-11d0-94f 2-00a0c91e fb8b}]
[-HKEY_LOCAL_MACHINE\SYSTE M\ControlS et003\Cont rol\Device Classes\{5 3f56307-b6 bf-11d0-94 f2-00a0c91 efb8b}\##? #USBSTOR#D isk&Ven_Le xmark&Prod _USB_Mass_ Storage&Re v__200#7&f fdc3a0&0&9 0T4099K040 5873&0#{53 f56307-b6b f-11d0-94f 2-00a0c91e fb8b}]
[-HKEY_LOCAL_MACHINE\SYSTE M\ControlS et003\Enum \USB\Vid_0 43d&Pid_01 80&MI_00]
[-HKEY_LOCAL_MACHINE\SYSTE M\ControlS et003\Enum \USBPRINT]
[-HKEY_LOCAL_MACHINE\SYSTE M\ControlS et003\Enum \USBSTOR\D isk&Ven_Le xmark&Prod _USB_Mass_ Storage&Re v__200]
[-HKEY_LOCAL_MACHINE\SYSTE M\ControlS et003\Hard ware Profiles\0001\System\Curre ntControlS et\Control \Print\Pri nters]
[-HKEY_LOCAL_MACHINE\SYSTE M\ControlS et003\Hard ware Profiles\0001\System\Curre ntControlS et\Control \Print\Pri nters]
[-HKEY_LOCAL_MACHINE\SYSTE M\CurrentC ontrolSet\ Control\Cl ass\{4D36E 979-E325-1 1CE-BFC1-0 8002BE1031 8}]
[-HKEY_LOCAL_MACHINE\SYSTE M\CurrentC ontrolSet\ Control\Cl ass\{6BDD1 FC6-810F-1 1D0-BEC7-0 8002BE2092 F}]
[-HKEY_LOCAL_MACHINE\SYSTE M\CurrentC ontrolSet\ Control\De viceClasse s\{28d78fa d-5a12-11d 1-ae5b-000 0f803a8c2} ]
[-HKEY_LOCAL_MACHINE\SYSTE M\CurrentC ontrolSet\ Control\De viceClasse s\{53f5630 7-b6bf-11d 0-94f2-00a 0c91efb8b} \##?#USBST OR#Disk&Ve n_Lexmark& Prod_USB_M ass_Storag e&Rev__200 #7&62d1146 &0&90T4099 N6701584&0 #{53f56307 -b6bf-11d0 -94f2-00a0 c91efb8b}]
[-HKEY_LOCAL_MACHINE\SYSTE M\CurrentC ontrolSet\ Control\De viceClasse s\{53f5630 7-b6bf-11d 0-94f2-00a 0c91efb8b} \##?#USBST OR#Disk&Ve n_Lexmark& Prod_USB_M ass_Storag e&Rev__200 #7&ebbb9c& 0&90T4099K 0398823&0# {53f56307- b6bf-11d0- 94f2-00a0c 91efb8b}]
[-HKEY_LOCAL_MACHINE\SYSTE M\CurrentC ontrolSet\ Control\De viceClasse s\{53f5630 7-b6bf-11d 0-94f2-00a 0c91efb8b} \##?#USBST OR#Disk&Ve n_Lexmark& Prod_USB_M ass_Storag e&Rev__200 #7&ffdc3a0 &0&90T4099 K0405873&0 #{53f56307 -b6bf-11d0 -94f2-00a0 c91efb8b}]
[-HKEY_LOCAL_MACHINE\SYSTE M\CurrentC ontrolSet\ Control\Pr int\Printe rs]
[-HKEY_LOCAL_MACHINE\SYSTE M\CurrentC ontrolSet\ Enum\USB\V id_043d&Pi d_0180&MI_ 00]
[-HKEY_LOCAL_MACHINE\SYSTE M\CurrentC ontrolSet\ Enum\USBPR INT]
[-HKEY_LOCAL_MACHINE\SYSTE M\CurrentC ontrolSet\ Enum\USBST OR\Disk&Ve n_Lexmark& Prod_USB_M ass_Storag e&Rev__200 ]
[-HKEY_LOCAL_MACHINE\SYSTE M\CurrentC ontrolSet\ Hardware Profiles\0001\System\Curre ntControlS et\Control \Print\Pri nters]
[-HKEY_LOCAL_MACHINE\SYSTE M\CurrentC ontrolSet\ Services\D isk\Enum]
[-HKEY_LOCAL_MACHINE\SYSTE M\CurrentC ontrolSet\ Services\P artMgr\Enu m]
[-HKEY_CURRENT_CONFIG\Syst em\Current ControlSet \Control\P rint\Print ers]
[-HKEY_CURRENT_USER\Softwa
[-HKEY_CURRENT_USER\Softwa
[-HKEY_CURRENT_USER\Softwa
[-HKEY_CURRENT_USER\Softwa
[-HKEY_CURRENT_USER\Softwa
[-HKEY_CURRENT_USER\Softwa
[HKEY_CURRENT_USER\Softwar
"Lexmark S300-S400 Series"="winspool,Ne06:"=-
[HKEY_CURRENT_USER\Softwar
"Lexmark S300-S400 Series"="winspool,Ne06:,15
[-HKEY_CURRENT_USER\Softwa
[-HKEY_LOCAL_MACHINE\SOFTW
[-HKEY_LOCAL_MACHINE\SOFTW
[HKEY_LOCAL_MACHINE\SOFTWA
"Lexmark"="Parallel; Flash Unit;"=-
[-HKEY_CURRENT_USER\Softwa
[HKEY_CURRENT_USER\Softwar
"LexmarkS300-S400 Series"="winspool,Ne00:"=-
[HKEY_CURRENT_USER\Softwar
"LexmarkS300-S400 Series"="winspool,Ne00:,15
[-HKEY_LOCAL_MACHINE\SOFTW
[-HKEY_LOCAL_MACHINE\SOFTW
[-HKEY_LOCAL_MACHINE\SOFTW
[-HKEY_LOCAL_MACHINE\SOFTW
[HKEY_LOCAL_MACHINE\SOFTWA
"C:\Program Files\Lexmark S300-S400 Series\"=""=-
[-HKEY_LOCAL_MACHINE\SOFTW
[-HKEY_LOCAL_MACHINE\SYSTE
[-HKEY_LOCAL_MACHINE\SYSTE
[-HKEY_LOCAL_MACHINE\SYSTE
[-HKEY_LOCAL_MACHINE\SYSTE
[-HKEY_LOCAL_MACHINE\SYSTE
[-HKEY_LOCAL_MACHINE\SYSTE
[-HKEY_LOCAL_MACHINE\SYSTE
[-HKEY_LOCAL_MACHINE\SYSTE
[-HKEY_LOCAL_MACHINE\SYSTE
[-HKEY_LOCAL_MACHINE\SYSTE
[-HKEY_LOCAL_MACHINE\SYSTE
[-HKEY_LOCAL_MACHINE\SYSTE
[-HKEY_LOCAL_MACHINE\SYSTE
[-HKEY_LOCAL_MACHINE\SYSTE
[-HKEY_LOCAL_MACHINE\SYSTE
[-HKEY_LOCAL_MACHINE\SYSTE
[-HKEY_LOCAL_MACHINE\SYSTE
[-HKEY_LOCAL_MACHINE\SYSTE
[-HKEY_LOCAL_MACHINE\SYSTE
[-HKEY_LOCAL_MACHINE\SYSTE
[-HKEY_LOCAL_MACHINE\SYSTE
[-HKEY_LOCAL_MACHINE\SYSTE
[-HKEY_LOCAL_MACHINE\SYSTE
[-HKEY_LOCAL_MACHINE\SYSTE
[-HKEY_LOCAL_MACHINE\SYSTE
[-HKEY_LOCAL_MACHINE\SYSTE
[-HKEY_LOCAL_MACHINE\SYSTE
[HKEY_USERS\.DEFAULT\Softw
"Lexmark S300-S400 Series"="winspool,Ne10:"=-
[HKEY_USERS\.DEFAULT\Softw
"Lexmark S300-S400 Series"="winspool,Ne10:,15
[-HKEY_USERS\S-1-5-21-2118
[-HKEY_USERS\S-1-5-21-2118
[-HKEY_CURRENT_CONFIG\Syst
[-HKEY_LOCAL_MACHINE\SOFTW
[-HKEY_LOCAL_MACHINE\SOFTW
[-HKEY_LOCAL_MACHINE\SOFTW
[-HKEY_LOCAL_MACHINE\SOFTW
[-HKEY_LOCAL_MACHINE\SOFTW
[-HKEY_LOCAL_MACHINE\SOFTW
[HKEY_LOCAL_MACHINE\SOFTWA
"C:\WINDOWS\system32\lxeac
[HKEY_LOCAL_MACHINE\SOFTWA
"C:\WINDOWS\system32\LXEAi
[HKEY_LOCAL_MACHINE\SOFTWA
"C:\WINDOWS\system32\lxeap
[-HKEY_LOCAL_MACHINE\SYSTE
[-HKEY_LOCAL_MACHINE\SYSTE
[-HKEY_LOCAL_MACHINE\SYSTE
[-HKEY_LOCAL_MACHINE\SYSTE
[-HKEY_LOCAL_MACHINE\SYSTE
[-HKEY_LOCAL_MACHINE\SYSTE
[-HKEY_LOCAL_MACHINE\SYSTE
[-HKEY_LOCAL_MACHINE\SYSTE
[-HKEY_LOCAL_MACHINE\SOFTW
[HKEY_LOCAL_MACHINE\SOFTWA
"C:\Documents and Settings\All Users\Start Menu\Programs\Lexmark\"=-
[-HKEY_LOCAL_MACHINE\SOFTW
[-HKEY_LOCAL_MACHINE\SOFTW
[-HKEY_LOCAL_MACHINE\SOFTW
[-HKEY_LOCAL_MACHINE\SOFTW
[-HKEY_LOCAL_MACHINE\SYSTE
[-HKEY_LOCAL_MACHINE\SYSTE
[-HKEY_LOCAL_MACHINE\SYSTE
[-HKEY_LOCAL_MACHINE\SYSTE
[-HKEY_LOCAL_MACHINE\SYSTE
[-HKEY_LOCAL_MACHINE\SYSTE
[-HKEY_LOCAL_MACHINE\SYSTE
[-HKEY_LOCAL_MACHINE\SYSTE
[-HKEY_LOCAL_MACHINE\SYSTE
[-HKEY_LOCAL_MACHINE\SYSTE
[-HKEY_LOCAL_MACHINE\SYSTE
[-HKEY_LOCAL_MACHINE\SYSTE
[-HKEY_LOCAL_MACHINE\SYSTE
[-HKEY_LOCAL_MACHINE\SYSTE
[-HKEY_LOCAL_MACHINE\SYSTE
[-HKEY_LOCAL_MACHINE\SYSTE
[-HKEY_LOCAL_MACHINE\SYSTE
[-HKEY_LOCAL_MACHINE\SYSTE
[-HKEY_LOCAL_MACHINE\SYSTE
[-HKEY_LOCAL_MACHINE\SYSTE
[-HKEY_LOCAL_MACHINE\SYSTE
[-HKEY_LOCAL_MACHINE\SYSTE
[-HKEY_LOCAL_MACHINE\SYSTE
[-HKEY_LOCAL_MACHINE\SYSTE
[-HKEY_LOCAL_MACHINE\SYSTE
[-HKEY_LOCAL_MACHINE\SYSTE
[-HKEY_LOCAL_MACHINE\SYSTE
[-HKEY_LOCAL_MACHINE\SYSTE
[-HKEY_LOCAL_MACHINE\SYSTE
[-HKEY_LOCAL_MACHINE\SYSTE
[-HKEY_LOCAL_MACHINE\SYSTE
[-HKEY_LOCAL_MACHINE\SYSTE
[-HKEY_LOCAL_MACHINE\SYSTE
[-HKEY_LOCAL_MACHINE\SYSTE
[-HKEY_LOCAL_MACHINE\SYSTE
[-HKEY_LOCAL_MACHINE\SYSTE
[-HKEY_CURRENT_CONFIG\Syst
ControlSet001/002/003 dont need to be deleted, just FYI...
They have no impact on the current registry....
All that is in CurrentControlSet.
Im guessing ControlSet\DeviceClasses and CCS\Enum and Hardware profiles are the ones that have permissions problems?
They have no impact on the current registry....
All that is in CurrentControlSet.
Im guessing ControlSet\DeviceClasses and CCS\Enum and Hardware profiles are the ones that have permissions problems?
ASKER
Well this is related to the last part of my question, I need to remove all the lexmark entries from registry to whenever I attach any lexmark product, it wouldn't pickup somthing automatically. Please help. I am quite lucky to get rid of printer, but its MFP, unable to get rid of imaging device.
Im trying, but I need to know which ones you get denied on...... Have you tracked that down yet? Might need to use Process Monitor to capture all Access Denied hits when you import the .reg file.....
ASKER
it is HKLM\system\CurrentControl Set\Enum\U sb\
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER
I was looking for the Batch file to remove Lexmark entries from registry and permission on registry. I got the first portion of the question by my own self and rest I found it here.
Glad we could help...