Open in the explorer

Turn off Windows Update device driver search prompt

Désactiver l’invite de recherche de pilotes de périphériques sur Windows Update

Type
User
GPO path
User Configuration › Policies › Administrative Templates › System › Driver Installation FR: Configuration utilisateur › Stratégies › Modèles d'administration › Système › Installation de pilotes
Supported on
Windows Server 2008, Windows Server 2003, Windows Vista, and Windows XP SP2 FR: Windows Server 2008, Windows Server 2003, Windows Vista et Windows XP SP2
ADMX file
DeviceSetup.admx
Internal name
DeviceSetup/DriverSearchPlaces_DontPromptForWindowsUpdate_1

Explanation

Specifies whether the administrator will be prompted about going to Windows Update to search for device drivers using the Internet.

Note: This setting only has effect if "Turn off Windows Update device driver searching" in "Administrative Templates/System/Internet Communication Management/Internet Communication settings" is disabled or not configured.

If you enable this setting, administrators will not be prompted to search Windows Update.

If you disable or do not configure this setting, and "Turn off Windows Update device driver searching" is disabled or not configured, the administrator will be prompted for consent before going to Windows Update to search for device drivers.

French text from Windows 11 26H2

Spécifie s’il sera demandé à l’administrateur d’aller sur le site Windows Update pour rechercher les pilotes de périphériques via Internet.

Remarque : ce paramètre ne s’applique que si « Désactiver la recherche de pilotes de périphériques sur Windows Update » dans « Modèles d’administration/Système/Gestion de la communication Internet/Paramètres de communication Internet » est désactivé ou n’est pas configuré.

Si vous activez ce paramètre, les administrateurs ne sont pas invités à effectuer une recherche sur le site Windows Update.

Si vous désactivez ce paramètre ou ne le configurez pas, et si « Désactiver la recherche de pilotes de périphériques sur Windows Update » est désactivé ou n’est pas configuré, une confirmation est demandée à l’administrateur avant de rechercher les pilotes de périphériques sur Windows Update.

Registry

HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\DriverSearching
Value name
DontPromptForWindowsUpdate
StateValue written
EnabledREG_DWORD = 1
DisabledREG_DWORD = 0

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_DontPromptForWindowsUpdate_1
$k = 'HKCU:\Software\Policies\Microsoft\Windows\DriverSearching'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'DontPromptForWindowsUpdate' -Value 1 -Type DWord

Disable

# Disable: DeviceSetup/DriverSearchPlaces_DontPromptForWindowsUpdate_1
$k = 'HKCU:\Software\Policies\Microsoft\Windows\DriverSearching'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'DontPromptForWindowsUpdate' -Value 0 -Type DWord

Revert to "Not configured"

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

Availability