Specify search order for device driver source locations
Spécifier l’ordre de recherche des emplacements source des pilotes de périphériques
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.
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 DWordDisable
# 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 SilentlyContinueOptions (1)
| Label | Control | Registry value | REG type | Constraints / details | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Select search order:Choisir un ordre de recherche :DriverSearchPlaces_SearchOrderConfiguration_dropdown | Drop-down listenum | SearchOrderConfig | REG_DWORD | Required · Default choice (UI): #1
|