Click to Rate and Give Feedback
MSDN
MSDN Library
Windows Driver Kit
Device Installation
Design Guide
 Where Setup Searches for Drivers
Windows Driver Kit: Device Installation
Where Setup Searches for Drivers

After a device is attached, Setup first attempts to locate and install a driver in a trusted system context without user interaction, as follows:

  • (Windows Vista) The driver package must be installed in the driver store. This includes inbox drivers, installed drivers other than inbox drivers, and preinstalled drivers. The INF file for the driver package cannot specify the InteractiveInstall flag in the INF ControlFlags section. Setup does not attempt to access Windows Update to locate matching drivers and does not search for preloaded drivers in the locations that are specified by the DevicePath registry value.
  • (Windows Server 2003, Windows XP, and Windows 2000) The INF file must be installed in the Windows INF file directory or be preloaded in a location that is specified by the DevicePath registry value. The INF file for the driver package cannot specify the InteractiveInstall flag for the device.

If Setup cannot locate a driver that can be installed without user interaction in a trusted system context, Setup attempts to locate and install a driver in the interactive context of an administrator, as follows:

  • (Windows Vista) If the user has enabled connecting to Windows Update to download matching drivers, the Found New Hardware wizard accesses Windows Update to download matching drivers without displaying a wizard page. If the user has configured Windows Update to ask every time a new device is connected, Windows displays a wizard page that prompts the user for permission to access Windows Update to download matching drivers. The Found New Hardware wizard also searches for drivers that were preloaded in the locations that are specified by the DevicePath registry value.

    If the Found New Hardware wizard downloads matching drivers from Windows Update or locates matching preloaded drivers, the Found New Hardware wizard does not prompt the user for a distribution medium. Otherwise, the Found New Hardware wizard prompts the user for a distribution medium and attempts to find matching drivers on the distribution medium.

  • (Windows Server 2003, Windows XP, and Windows 2000) The Found New Hardware wizard prompts the user for a distribution medium and attempts to locate matching drivers on the medium. In addition to searching for matching drivers on the distribution medium, the Found New Hardware wizard also searches for matching drivers that were preloaded in the locations that are specified by the DevicePath registry value.

    On Windows Server 2003 and Windows XP SP2, if the user has enabled connecting to Windows Update to locate matching drivers, the wizard also attempts to access Windows Update to download matching drivers. If the user has configured Windows Update to ask every time a new device is connected, Windows displays a wizard page that prompts the user for permission to access Windows Update to download matching drivers On Windows XP SP1, Windows XP, and Windows 2000, the Found New Hardware wizard automatically attempts to access Windows Update to download matching drivers.

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker