Open in the explorer

Specify search order for device driver source locations

Spécifier l’ordre de recherche des emplacements source des pilotes de périphériques

Type
Computer
GPO path
Computer Configuration › Policies › Administrative Templates › System › Device Installation FR: Configuration ordinateur › Stratégies › Modèles d'administration › Système › Installation de périphériques
Supported on
At least Windows Server 2008 R2 or Windows 7 FR: Au minimum Windows Server 2008 R2 ou Windows 7
ADMX file
DeviceSetup.admx
Internal name
DeviceSetup/DriverSearchPlaces_SearchOrderConfiguration

Explanation

This policy setting allows you to specify the order in which Windows searches source locations for device drivers.

If you enable this policy setting, you can select whether Windows searches for drivers on Windows Update unconditionally, only if necessary, or not at all.

Note that searching always implies that Windows will attempt to search Windows Update exactly one time. With this setting, Windows will not continually search for updates. This setting is used to ensure that the best software will be found for the device, even if the network is temporarily available.

If the setting for searching only if needed is specified, then Windows will search for a driver only if a driver is not locally available on the system.

If you disable or do not configure this policy setting, members of the Administrators group can determine the priority order in which Windows searches source locations for device drivers.

French text from Windows 11 26H2

Ce paramètre de stratégie permet de spécifier l’ordre dans lequel Windows recherche les emplacements source des pilotes de périphériques.

Si vous activez ce paramètre de stratégie, vous pouvez sélectionner si Windows recherche des pilotes sur Windows Update en toutes circonstances, seulement si nécessaire ou jamais.

Notez que le paramètre Toujours rechercher sur Windows Update implique que Windows tentera précisément une fois de trouver un pilote sur Windows Update. Windows ne recherchera pas continuellement des mises à jour. Ce paramètre est utilisé pour garantir que le meilleur logiciel possible sera trouvé pour le périphérique, même si le réseau est temporairement indisponible.

Si le paramètre Rechercher sur Windows Update seulement si nécessaire est spécifié, Windows recherchera un pilote uniquement si aucun pilote n’est disponible localement sur le système.

Si vous désactivez ce paramètre de stratégie ou ne le configurez pas, les membres du groupe Administrateurs peuvent déterminer l’ordre de priorité dans lequel Windows recherche des pilotes de périphériques dans les emplacements source.

Registry

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\DriverSearching
Value name
not defined in the ADMX

Enable / disable values: not defined in the ADMX (see the options below).

PowerShell

PowerShell commands that write to the registry what the policy would write. Values in angle brackets (<…>) must be replaced.

Writing directly to the registry bypasses Group Policy: if a GPO manages this value, it will be rewritten at the next gpupdate; otherwise the value stays in place (the "tattooing" effect). Prefer a GPO or, locally, LGPO.exe. Run PowerShell as administrator for HKLM. Some policies need a restart or gpupdate /force.

Enable

# Enable: DeviceSetup/DriverSearchPlaces_SearchOrderConfiguration
$k = 'HKLM:\Software\Policies\Microsoft\Windows\DriverSearching'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Select search order
# Possible options:
#   Always search Windows Update = 1
#   Search Windows Update only if needed = 2
#   Do not search Windows Update = 0
Set-ItemProperty -Path $k -Name 'SearchOrderConfig' -Value 2 -Type DWord

Disable

# Disable: DeviceSetup/DriverSearchPlaces_SearchOrderConfiguration
# No value is written in the "Disabled" state (nothing defined in the ADMX)

Revert to "Not configured"

# Revert to "Not configured": DeviceSetup/DriverSearchPlaces_SearchOrderConfiguration
$k = 'HKLM:\Software\Policies\Microsoft\Windows\DriverSearching'
Remove-ItemProperty -Path $k -Name 'SearchOrderConfig' -ErrorAction SilentlyContinue

Options (1)

LabelControlRegistry valueREG typeConstraints / details
Select search order:Choisir un ordre de recherche :DriverSearchPlaces_SearchOrderConfiguration_dropdownDrop-down listenumSearchOrderConfigREG_DWORD
Required · Default choice (UI): #1
LabelValue
Always search Windows UpdateREG_DWORD = 1
Search Windows Update only if neededREG_DWORD = 2
Do not search Windows UpdateREG_DWORD = 0

Availability