I think one of my drivers is causing some of my Windows Vista machines to boot extremely slow. Since the perf log is basically no help, I want to try manually unloading/loading drivers to see if any take a considerable amount of time to start up. How can I do this?
migrated from serverfault.com Mar 28 '10 at 15:47
|
Drivers and Services have a very similiar control interface in Windows. You can set the "Start" value on their entry in HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services to "Disabled", reboot, and see how the machine does booting w/o that driver loading. To find out the "Service" name for a given driver examine the "Details" tab of the device in "Device Manager" and look at the "Service" entry. Once you have that, you can record the current startup status of the driver by examining the "Start" value in the driver's key under the "Services" key I mentioned earlier. Change the "Start" value to 4 to disable the driver on the subsequent boot. (And change it back to what you found when you're done testing!) You could certainly script this change using the command-line REG program. This CMD script below would change the "Start" type for the service name passed on the command-line to disabled after displaying the current start type:
You might have some luck figuring out what the driver is doing by using the "Process Monitor" boot logging functionality, too. |
|||
|
|
|
Pasting my quick&dirty snippet regarding "devcon" utility. I used this with Ultrium drivers, but works with any other. Not sure if it works in Vista:
|
|||
|
|
Removing driver:
Loading Driver:
|
|||||||
|