Tech Support > Microsoft Windows > Drivers > UpdateDriverForPlugAndPlayDevices fails with ERROR_FILE_NOT_FOUND
UpdateDriverForPlugAndPlayDevices fails with ERROR_FILE_NOT_FOUND
Posted by Christian Studer on July 12th, 2005


I have a setup application which installs a display mirror driver. This
works fine, except that on some systems UpdateDriverForPlugAndPlayDevices
fails with ERROR_FILE_NOT_FOUND.

Here's an excerpt from setupapi.log showing the problem:

#I060 Set selected driver.
#-019 Searching for hardware ID(s): ultramonmirror
#I022 Found "UltraMonMirror" in c:\program files\common files\realtime
soft\ultramonmirrordrv\x32\ultramonmirror.inf; Device: "UltraMon Display
Mirror Driver"; Driver: "UltraMon Display Mirror Driver"; Provider:
"Realtime Soft"; Mfg: "Realtime Soft"; Section name: "mirror".
#I087 Driver node not trusted, rank changed from 0x00000000 to 0x0000c000.
#I023 Actual install section: [mirror]. Rank: 0x0000c000. Effective driver
date: 06/04/2005.
#-019 Searching for hardware ID(s): ultramonmirror
#-166 Device install function: DIF_SELECTBESTCOMPATDRV.
#I063 Selected driver installs from section [mirror] in "c:\program
files\common files\realtime soft\ultramonmirrordrv\x32\ultramonmirror.inf".
#I320 Class GUID of device remains: {95E2738D-AF5F-4E7B-8E22-F0050B0427A7}.
#I060 Set selected driver.
#I058 Selected best compatible driver.
#-166 Device install function: DIF_ALLOW_INSTALL.
#E154 Class installer failed. Error 0xe000022b: The class installer has
denied the request to install or upgrade this device.
[2005/06/13 13:40:37 6120.256]
#-198 Command line processed: C:\WINDOWS\System32\MsiExec.exe -Embedding
A5518174B2E1865F270E91D422A4855E M Global\MSI0000
#I060 Set selected driver.
#-019 Searching for hardware ID(s): ultramonmirror
#I022 Found "UltraMonMirror" in c:\program files\common files\realtime
soft\ultramonmirrordrv\x32\ultramonmirror.inf; Device: "UltraMon Display
Mirror Driver"; Driver: "UltraMon Display Mirror Driver"; Provider:
"Realtime Soft"; Mfg: "Realtime Soft"; Section name: "mirror".
#I087 Driver node not trusted, rank changed from 0x00000000 to 0x0000c000.
#I023 Actual install section: [mirror]. Rank: 0x0000c000. Effective driver
date: 06/04/2005.
#-019 Searching for hardware ID(s): ultramonmirror
#-166 Device install function: DIF_SELECTBESTCOMPATDRV.
#I063 Selected driver installs from section [mirror] in "c:\program
files\common files\realtime soft\ultramonmirrordrv\x32\ultramonmirror.inf".
#I320 Class GUID of device remains: {95E2738D-AF5F-4E7B-8E22-F0050B0427A7}.
#I060 Set selected driver.
#I058 Selected best compatible driver.
#-124 Doing copy-only install of "ROOT\DISPLAYMIRROR\0001".
#E360 An unsigned or incorrectly signed file "c:\program files\common
files\realtime soft\ultramonmirrordrv\x32\ultramonmirror.cat" for driver
"UltraMon Display Mirror Driver" will be installed (Policy=Ignore). Error
0x800b0110: The certificate is not valid for the requested usage.
#-024 Copying file "c:\program files\common files\realtime
soft\ultramonmirrordrv\x32\UltraMonMirror.sys" to
"C:\WINDOWS\System32\DRIVERS\UltraMonMirror.sy s".
#E360 An unsigned or incorrectly signed file "c:\program files\common
files\realtime soft\ultramonmirrordrv\x32\UltraMonMirror.sys" for driver
"UltraMon Display Mirror Driver" will be installed (Policy=Ignore). Error
0x800b0110: The certificate is not valid for the requested usage.
#-336 Copying file "c:\program files\common files\realtime
soft\ultramonmirrordrv\x32\UltraMonMirror.dll" to
"C:\WINDOWS\System32\UltraMonMirror.dll" via temporary file
"C:\WINDOWS\System32\SETA19.tmp".
#E360 An unsigned or incorrectly signed file "c:\program files\common
files\realtime soft\ultramonmirrordrv\x32\UltraMonMirror.dll" for driver
"UltraMon Display Mirror Driver" will be installed (Policy=Ignore). Error
0x800b0110: The certificate is not valid for the requested usage.
#-166 Device install function: DIF_REGISTER_COINSTALLERS.
#I056 Coinstallers registered.
#-166 Device install function: DIF_INSTALLINTERFACES.
#-011 Installing section [mirror.Interfaces] from "c:\program files\common
files\realtime soft\ultramonmirrordrv\x32\ultramonmirror.inf".
#I054 Interfaces installed.
#-166 Device install function: DIF_INSTALLDEVICE.
#I123 Doing full install of "ROOT\DISPLAYMIRROR\0001".
#E360 An unsigned or incorrectly signed file "c:\program files\common
files\realtime soft\ultramonmirrordrv\x32\UltraMonMirror.cat" for driver
"UltraMon Display Mirror Driver" will be installed (Policy=Ignore). Error
0x800b0110: The certificate is not valid for the requested usage.
#W102 Device "ROOT\DISPLAYMIRROR\0001" required reboot: "Reboot" in section:
[mirror].
#E122 Device install failed. Error 2: The system cannot find the file
specified.
#E154 Class installer failed. Error 2: The system cannot find the file
specified.
#I060 Set selected driver.
#I125 Installing NULL driver for "ROOT\DISPLAYMIRROR\0001".
#E122 Device install failed. Error 2: The system cannot find the file
specified.

The driver is Authenticode signed, not WHQL, that's the reason for the
'certificate not valid' messages.

Any ideas what might cause this?

Thanks,

Christian Studer


Posted by Ralf Buschmann on July 14th, 2005


Am 12.07.2005 14:37:49 schrieb Christian Studer:

This usually happens when the old driver was uninstalled "manually",
that is by manually deleting the service registry keys, files etc. and
the system was not rebooted. Always use the proper SetupDi APIs to
uninstall.

--
Ralf.

Posted by Christian Studer on July 14th, 2005


Thanks for the tip.

It's probably due to something else in my case though, these were clean or
upgrade installs on end user systems, seems unlikely that the user would
remove driver registry entries manually before doing the upgrade.

Christian Studer

"Ralf Buschmann" <news@backmagic.de> wrote in message
news:%233WXYxEiFHA.1372@TK2MSFTNGP10.phx.gbl...