?
Solved

Lexmark Drivers (S300-400) - Registry Entries - Driver gets installation automatically

Posted on 2011-05-10
4
Medium Priority
?
1,368 Views
Last Modified: 2012-06-21
I have an image of windows XP machine, there is couple of Registry entries for printer installations as well as Lexmark software was installed on the machine too. I need to delete the entries from Registry and remove all Lexmark related driver files from the computer. I was able to stop spooler service, deleted all the local printers installed on the machine, able to uninstall Lexmark software as well but there are driver files in c:\windows\system32 and C:\Driver Cache\i386 and off course registry entries.
The solution I want is whenever I connect anything to the PC, It should ask me to provide installation files, and it should not install anything by itself.
0
Comment
Question by:collage_jeanz
  • 3
4 Comments
 
LVL 7

Expert Comment

by:printnix63
ID: 35732962
Hi,

well, the "normal way" to uninstall a driver is either the software uninstall routine, and/or to go into the printer window and use "Server Properties", change to the driver tab, select each driver you want to uninstall and click "Remove"

The point, that you do not want Windows to install anything by itself is something, that lies within windows. A USB Device connected to a port supplies a Vendor ID and Windows starts looking into its database, what kind of drivers it will have for this ID, that is basically the reason, why in many cases one should install the drivers first and then connect the device.

The only way I'd think of to let windows not look and start doing something, might be to stop the Plug and Play service. This will result that windows does not check anything at all, if you connect devices.

Maybe this helps a bit further.
0
 

Accepted Solution

by:
collage_jeanz earned 0 total points
ID: 35737948
I found the solution :
Windows Registry Editor Version 5.00
[-HKEY_CURRENT_USER\Printers\Settings\Wizard]
[-HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Applets\Regedit]
[-HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\MenuOrder\Start [-Menu2\Programs\Lexmark]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Lexmark]
[-HKEY_LOCAL_MACHINE\SOFTWARE\LexmarkInkjet]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Print\Printers\Lexmark S300-S400 Series]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Class\{4D36E979-E325-11CE-BFC1-08002BE10318}\0002]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Class\{6BDD1FC6-810F-11D0-BEC7-08002BE2092F}\0005]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Class\{6BDD1FC6-810F-11D0-BEC7-08002BE2092F}\0006]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Class\{6BDD1FC6-810F-11D0-BEC7-08002BE2092F}\0007]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\DeviceClasses\{28d78fad-5a12-11d1-ae5b-0000f803a8c2}\##?#USB#Vid_043d&Pid_0180&MI_01#7&1dcca96&0&0001#{28d78fad-5a12-11d1-ae5b-0000f803a8c2}]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\DeviceClasses\{28d78fad-5a12-11d1-ae5b-0000f803a8c2}\##?#USB#Vid_043d&Pid_0180&MI_01#6&2995c074&0&0001#{28d78fad-5a12-11d1-ae5b-0000f803a8c2}]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\DeviceClasses\{28d78fad-5a12-11d1-ae5b-0000f803a8c2}\##?#USB#Vid_043d&Pid_0180&MI_01#6&2667223e&0&0001#{28d78fad-5a12-11d1-ae5b-0000f803a8c2}]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Print\Environments\Windows NT x86\Drivers\Version-3\Lexmark S300-S400 Series]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Print\Environments\Windows NT x86\Print Processors\Lexmark S300-S400 Series Print Processor]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Print\Printers\Lexmark S300-S400 Series]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Print\Printers\Lexmark S300-S400 Series\PnPData]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Enum\USB\Vid_043d&Pid_0180&MI_00]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Enum\USBPRINT\LexmarkS300-S400_Series]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Hardware Profiles\0001\System\CurrentControlSet\Control\Print\Printers\Lexmark S300-S400 Series]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Hardware Profiles\0001\System\CurrentControlSet\Control\Print\Printers\Lexmark S300-S400 Series (Copie 1)]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Hardware Profiles\0001\System\CurrentControlSet\Control\Print\Printers\Lexmark S300-S400 Series (Copie 2)]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet003\Control\Class\{4D36E979-E325-11CE-BFC1-08002BE10318}\0002]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet003\Control\Class\{6BDD1FC6-810F-11D0-BEC7-08002BE2092F}\0005]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet003\Control\Class\{6BDD1FC6-810F-11D0-BEC7-08002BE2092F}\0006]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet003\Control\Class\{6BDD1FC6-810F-11D0-BEC7-08002BE2092F}\0007]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet003\Control\DeviceClasses\{28d78fad-5a12-11d1-ae5b-0000f803a8c2}\##?#USB#Vid_043d&Pid_0180&MI_01#6&2667223e&0&0001#{28d78fad-5a12-11d1-ae5b-0000f803a8c2}]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet003\Control\DeviceClasses\{28d78fad-5a12-11d1-ae5b-0000f803a8c2}\##?#USB#Vid_043d&Pid_0180&MI_01#6&2995c074&0&0001#{28d78fad-5a12-11d1-ae5b-0000f803a8c2}]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet003\Control\DeviceClasses\{28d78fad-5a12-11d1-ae5b-0000f803a8c2}\##?#USB#Vid_043d&Pid_0180&MI_01#7&1dcca96&0&0001#{28d78fad-5a12-11d1-ae5b-0000f803a8c2}]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet003\Control\Print\Environments\Windows NT x86\Drivers\Version-3\Lexmark S300-S400 Series]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet003\Control\Print\Environments\Windows NT x86\Print Processors\Lexmark S300-S400 Series Print Processor]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet003\Enum\USB\Vid_043d&Pid_0180&MI_00]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet003\Enum\USBPRINT\LexmarkS300-S400_Series]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet003\Hardware Profiles\0001\System\CurrentControlSet\Control\Print\Printers\Lexmark S300-S400 Series]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet003\Hardware Profiles\0001\System\CurrentControlSet\Control\Print\Printers\Lexmark S300-S400 Series (Copie 1)]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet003\Hardware Profiles\0001\System\CurrentControlSet\Control\Print\Printers\Lexmark S300-S400 Series (Copie 2)]
[-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E979-E325-11CE-BFC1-08002BE10318}\0002]
[-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{6BDD1FC6-810F-11D0-BEC7-08002BE2092F}\0005]
[-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{6BDD1FC6-810F-11D0-BEC7-08002BE2092F}\0006]
[-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{6BDD1FC6-810F-11D0-BEC7-08002BE2092F}\0007]
[-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\DeviceClasses\{28d78fad-5a12-11d1-ae5b-0000f803a8c2}\##?#USB#Vid_043d&Pid_0180&MI_01#6&2667223e&0&0001#{28d78fad-5a12-11d1-ae5b-0000f803a8c2}]
[-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\DeviceClasses\{28d78fad-5a12-11d1-ae5b-0000f803a8c2}\##?#USB#Vid_043d&Pid_0180&MI_01#6&2995c074&0&0001#{28d78fad-5a12-11d1-ae5b-0000f803a8c2}]
[-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\DeviceClasses\{28d78fad-5a12-11d1-ae5b-0000f803a8c2}\##?#USB#Vid_043d&Pid_0180&MI_01#7&1dcca96&0&0001#{28d78fad-5a12-11d1-ae5b-0000f803a8c2}]
[-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Environments\Windows NT x86\Drivers\Version-3\Lexmark S300-S400 Series]
[-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Environments\Windows NT x86\Print Processors\Lexmark S300-S400 Series Print Processor]
[-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Printers\Lexmark S300-S400 Series]
[-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\USB\Vid_043d&Pid_0180&MI_00]
[-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\USBPRINT\LexmarkS300-S400_Series]
[-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Hardware Profiles\0001\System\CurrentControlSet\Control\Print\Printers\Lexmark S300-S400 Series]
[-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Hardware Profiles\0001\System\CurrentControlSet\Control\Print\Printers\Lexmark S300-S400 Series (Copie 1)]
[-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Hardware Profiles\0001\System\CurrentControlSet\Control\Print\Printers\Lexmark S300-S400 Series (Copie 2)]
[-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Hardware Profiles\Current\System\CurrentControlSet\Control\Print\Printers\Lexmark S300-S400 Series]
[-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Hardware Profiles\Current\System\CurrentControlSet\Control\Print\Printers\Lexmark S300-S400 Series (Copie 1)]
[-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Hardware Profiles\Current\System\CurrentControlSet\Control\Print\Printers\Lexmark S300-S400 Series (Copie 2)]
[-HKEY_USERS\S-1-5-21-2118135359-1856009214-510530097-55448\Printers\Settings\Wizard]
[-HKEY_USERS\S-1-5-21-2118135359-1856009214-510530097-55448\Software\Microsoft\Windows\CurrentVersion\Applets\Regedit]
[-HKEY_USERS\S-1-5-21-2118135359-1856009214-510530097-55448\Software\Microsoft\Windows\CurrentVersion\Explorer\MenuOrder\Start Menu2\Programs\Lexmark]
[-HKEY_CURRENT_CONFIG\System\CurrentControlSet\Control\Print\Printers\Lexmark S300-S400 Series]
[-HKEY_CURRENT_CONFIG\System\CurrentControlSet\Control\Print\Printers\Lexmark S300-S400 Series (Copie 1)]
[-HKEY_CURRENT_CONFIG\System\CurrentControlSet\Control\Print\Printers\Lexmark S300-S400 Series (Copie 2)]

And then made a batch file

@ECHO OFF
NET STOP SPOOLER
regedit.exe /s \\ServerShare\FileServer\Removal\Lexmark_removal.reg
cd/d "c:\program files"
for /D %%D in (lexmar*) do attrib -s -h -r "%%D"
for /D %%D in (lexmar*) do rd/s/q "%%D"
cd/d "C:\WINDOWS\system32\spool\drivers\w32x86"
for /D %%D in (lexma*) do attrib -s -h -r "%%D"
for /D %%D in (lexma*) do rd/s/q "%%D"
rmdir /s /q C:\WINDOWS\system32\spool\drivers\w32x86\3
rmdir /s /q C:\WINDOWS\twain_32\Lexmark
rmdir /s /q C:\WINDOWS\Driver~1
attrib -r -s -h c:\windows\system32\lxea*.*
del /s/q lxea*.*
net start spooler
exit
0
 

Author Comment

by:collage_jeanz
ID: 35737972
No Objection
0
 

Author Closing Comment

by:collage_jeanz
ID: 35767562
I found it by my ownslef.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This script will sweep a range of IP addresses (class c only, 255.255.255.0) and report to a log the version of office installed. What it does: 1.)      Creates log file in the directory the script is run from (if it doesn't already exist) 2.)      Sweep…
When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question