KMDF driver package installation times out in Windows 7 SP1

Symptoms
Consider the following scenario:
  • On a computer that's running a freshly installed version of Windows 7 Service Pack 1 (SP1), you try to install a KMDF driver package.
  • The computer is connected to the Internet.

In this scenario, the driver installation process fails with the following error in the Setupapi.log file:

=============  


     dvi:                CoInstaller 1: Enter 10:10:17.183

     dvi:                CoInstaller 1: Exit

     dvi:                CoInstaller 2: Enter 10:10:17.199

     inf:                Opened PNF: 'C:\Windows\INF\oem3.inf' ([strings])

     ump:              Server install process exited with code 0x000005b4 10:15:17.187

=============
Cause
This problem occurs because drvinstall.exe calls in to the Windows Update client service to install a KMDF Windows package. Because Windows SP1 is freshly installed and never completes a Windows Update search, the Windows Update client service is busy doing the update search and download operation. Therefore, the call isn't returned to drvinstall.exe within 5 minutes, which is the default device installation timeout limit. 

If you wait until the initial Windows Update search and download completes, and then you run the KMDF driver installation again, the process should complete successfully.
Resolution
Option 1:

You can configure the following Group Policy setting on the affected computer before you try to install the driver package for the first time:

Computer Configuration->Administrative Templates->System->Device Installation->”Configure device installation time-out”
Configure the default timeout to a value of greater than 5 minutes. (the actual timeout value might differ, depending on your Internet connection speed).

Option 2:

Temporarily disconnect the computer from the Internet until the driver installation process completes.
Properties

Article ID: 3141189 - Last Review: 03/07/2016 02:24:00 - Revision: 2.0

Windows 7 Service Pack 1

  • KB3141189
Feedback