среда, 27 января 2010 г.

Removing device drivers and other tricks

"pnputil.exe -e"
This will provide a list of all the third-party drivers installed.
Search the list for the driver version you want removed. It will be oem##.inf
To remove that driver, enter "pnputil.exe -d oem##.inf"

pnputil.exe [-f | -i] [ -? | -a | -d | -e ]
pnputil.exe -a a:\usbcam\USBCAM.INF -> Durch USBCAM.INF angegebenes Paket hinzufügen
pnputil.exe -a c:\drivers\*.inf -> Alle Pakete aus "c:\drivers\" hinzufügen
pnputil.exe -i -a a:\usbcam\USBCAM.INF -> Treiberpaket hinzufügen und installieren
pnputil.exe -e -> Alle Drittanbieterpakete auflisten
pnputil.exe -d oem0.inf -> Paket "oem0.inf" löschen
pnputil.exe -f -d oem0.inf -> Löschen von Paket "oem0.inf" erzwingen
pnputil.exe -? -> Dieser Syntaxbildschirm

Make a Vista admin account work like it does in XP
This works for Vista Business, Enterprise or Ultimate

Control panel, Administritive tools, Local Security policy, Local Policies, Security Options
Set Accounts: Administrator account status to Enabled
Set User Account Control: Admin Approval Mode for the Built-in Administrator account to Disabled

Why is my USB port a silly number like COM27?
Device Manager | pick the port | right mouse | properties | port settings | Advances
Yes but it says (in use) against the one I want?
Just select it. It whinges but it does it.

How do you fix it? Well it's no good just selecting them in turn as it only clears them until you reboot.


This seems to be a list of what ports are adopted by what virtual ports. HKLM/System/CurrentControlSet/Control/COM Name Arbiter

The ComDB entry is bits indicating COM1 (x01), COM2 (x02), COM3 (x04), are in use. Edit to 03 00... and only COM1 and 2 will be 'in use'.


This is all the devices that the usb driver has seen before. The vilian for me was the Prolific driver. You can't delete it but you can find its oemnn.inf file name in /Windows/inf/ and rename it. Look under VID_067B&PID_2303.

Source: http://www.nigelhewitt.co.uk/tricks.html

Комментариев нет:

Отправить комментарий