1

I am working on a program that requires to install a driver for Plug and Play. My issue is that the first time the device plugs into, by default, windows 7 32-bit automatically search online for drivers that better match to device. As i observe, it takes too long (15m) to correctly install the driver.

How can i turn off the automatic search on windows 7?

Thank you for any useful information.

linh dinh
  • 58
  • 2
  • 7

2 Answers2

1

If you install a driver package for your driver before you insert it, Windows will not search online.

If you really want to disable online serach on your machine - take a look here.

John
  • 5,561
  • 1
  • 23
  • 39
  • Windows Update is not checked for drivers in the Driver Store? – Ilya May 31 '11 at 16:09
  • I found in Group Policy that the settings you mentioned don't support windows7. In help section, it says that "NOTE: This setting is replaced by "Specify Driver Source Search Order" in "Administrative Templates/System/Device Installation" on newer versions of Windows.". – linh dinh Jun 01 '11 at 06:31
1

Apparently you do this through GPO, as described here: http://www.verboon.info/index.php/2010/12/windows-7-device-installation-without-administrative-rights/

Look for "Prevent Clients from searching for drivers on Windows Update" on this page.

Read up on applying GPO programatically and you should probably be able to get the job done. However, mind that you'd be changing the policy for the whole system, not just installation of this device.

Ilya
  • 5,533
  • 2
  • 29
  • 57
  • Here is [link](http://stackoverflow.com/questions/981010/how-do-i-configure-group-policy-using-c) to edit GPO in C++ – linh dinh Jun 01 '11 at 06:22