Re: Disable Device is persisted, but where?



{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fnil\fprq2\fcharset0 MS Sans Serif;}}
\viewkind4\uc1\pard\f0\fs20 Gerry,
\par
\par Microsoft Customer Support Services is the group that includes DDK Support. If a case is required for in-depth debuggig, it would come to us.
\par
\par The verbose logging is mostly useful to troubleshoot install issues. However, it does log the results of loading the driver and starting the device. If the device is failing to start properly when installed or enabled, that will show up in the log. The third party driver is probably failing the Start IRP. What we want to know first, is what error code the IRP was failed with.
\par
\par Look in Device Manager while the software device is in the failed state, and see if there is an error code displayed in the Properties dialog. You can also use the DevCon tool from the WDK, and use 'devcon status' to get the problem code. Unfortunately, it's likely something generic, such as Code 10 CM_PROB_FAILED_START.
\par
\par There is not a delayed start available for PnP drivers. In fact, all PnP drivers should have a Start Type of SERVICE_DEMAND_START, and be able to load whenever Setup configures it's device. Apparently this particular driver isn't succeeding at this on Vista.
\par
\par You've suggested 2 theories of why the driver isn't starting: 1) something changes in the disable/enable code that allows the driver to start the second time, and 2) the driver has a dependancy that requires a delay in it starting up (something else needs to complete). To isolate between these two, you could try tweaking (or renaming) the INF file so that the driver for the software device is not found (the PnP ID doesn't resolve). This will cause the software device not to install right away, but display the New Hardware Found dialog instead. From there, you can go 2 ways: You can leave the New Hardware Found dialog up for awhile before completing it (by directing it to a good INF), or you can dismiss the dialog without installing the driver, then update with the correct driver.
\par
\par The problem with the first strategy is that the process the device depends on could be serialized with the wizard, so it might have no effect. The second strategy could be misleading if it ends up having the same effect as disabling and enabling a failed install.
\par
\par Best Regards,
\par Jeff McCashland [Microsoft]
\par Escalation Engineer, DDK/DTM Support
\par This posting is provided "AS IS" with no warranties, and confers no rights
\par }

Relevant Pages

  • RE: urgent
    ... the public newsgroup only gives fundamental help. ... Microsoft Customer Support Services via telephone so that a dedicated ... Please make a full backup before you reinstall companyweb. ...
    (microsoft.public.windows.server.sbs)
  • Re: SP3 "access denied" message at updating registry part of downl
    ... Important This method is intended for advanced computer users. ... or you might want to contact Microsoft Customer Support Services. ... contact Microsoft Customer Support Services, ... Microsoft Windows XP Service Pack 3 ...
    (microsoft.public.windowsupdate)
  • Re: SP3 "access denied" message at updating registry part of downl
    ... support either does not work or is always busy, because all I get is a screen ... contact Microsoft Customer Support Services, ... Microsoft Windows XP Service Pack 3 ...
    (microsoft.public.windowsupdate)
  • Re: WinWord crashes when closing Print Preview mode within DSOFramer
    ... You might have to contact Microsoft Customer Support and Service ... professional working with you may need further investigation to reach the ... project analysis and dump analysis issues. ...
    (microsoft.public.dotnet.framework.interop)
  • Re: Why does gethostbyname() generate exceptions?
    ... I'm experiencing this problem on Windows Server 2003 ... // User inputs name of host ... telephone so that a dedicated Support Professional can assist you in a more ... Microsoft Customer Support Services at ...
    (microsoft.public.win32.programmer.networks)

Loading