Re: Disable Device is persisted, but where?



Hi Jeff,

We probably don't want to get too much into the details as this is a public forum, and any in-depth debugging would requrie opening a support case with Microsoft CSS.

Not sure what Microsoft CSS is, but I don't imagine they would troubleshoot 3rd party drivers. I don't think there's anything secret about the device or it's driver tree; it's just like any other device on Windows. The only secret stuff is in the DLLs.

Are you installing on Vista 32-bit, 64-bit, or both? Vista x64 requires all kernel mode drivers to have kernel-mode signing to load (even if they install just fine).

Only tested on 32bit, I don't think they even do a 64bit driver.

Assuming that's not the issue (or you wouldn't be able to load the second time),

That's the thing, it's a run-time issue, rather than a setup issue.

the first step to troubleshooting is to enable verbose setupapi logging and rule out any install-time issues. It sounds like this is a 3rd party driver, so you'll be limited in what load-time debugging you can do.

To enable verbose SetupAPI logging on Vista, set the following registry setting (as you pointed out, we still need to do this):
[HKLM\Software\Microsoft\Windows\CurrentVersion\Setup]
REG_DWORD LogLevel = 0x00007000 (TXTLOG_VERY_VERBOSE logging for devices)

OK, but I don't really want to un-install it and re-install it. I just want to see logging of it's startup. Will the verbose logging above give me the startup chain, or is it only useful when installing stuff?

Since this will generate a lot of output to setupapi.dev.log, you'll want to isolate the software device install as much as possible (that is, delete or rename the setupapi.dev.log right before installing the device, then capture the log immediately after.

OK! No problem.

In the context of "services" on Vista, it seems you can set a new start value "delayed_start". I'm interested to know if you can also do that with device drivers?

Thanks for the help with this.

--
Gerry Hickman (London UK)
.



Relevant Pages

  • Re: Win2003 R2 TS - logoff hangs, requires server reboot
    ... enable verbose logging of the user environment: ... install UPHClean, which can solve a lot of profile unload ... drivers, it's most often not enough to just remove the drivers from ... MCSE, CCEA, Microsoft MVP - Terminal Server ...
    (microsoft.public.windows.terminal_services)
  • Re: old xp home computers
    ... > clean install ....i hope. ... utilities on the Internet for the type of BIOS you have. ... You also have hardware on your machine that requires drivers to interface ...
    (microsoft.public.windowsxp.security_admin)
  • Re: Format Fdsik XP
    ... you can install it first thing. ... patch/install the drivers you prepared with earlier. ... network drivers and finally your video card drivers. ... of the hardware drivers from here - always go to the actual manufacturers ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Problems using command format c:
    ... you can install it first thing. ... patch/install the drivers you prepared with earlier. ... network drivers and finally your video card drivers. ... of the hardware drivers from here - always go to the actual manufacturers ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: 0x0000007B
    ... Pro install should have reconized the USB flash disk as a removable device. ... The two devices which Intel provided drivers for do end up with question ...
    (microsoft.public.windowsxp.embedded)