Turn off Windows Update device driver search prompt
Désactiver l’invite de recherche de pilotes de périphériques sur Windows Update
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.
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_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\DriverSearching- Value name
DontPromptForWindowsUpdate
| State | Value written |
|---|---|
| Enabled | REG_DWORD = 1 |
| Disabled | REG_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_2
$k = 'HKLM:\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 DWordDisable
# Disable: DeviceSetup/DriverSearchPlaces_DontPromptForWindowsUpdate_2
$k = 'HKLM:\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 DWordRevert to "Not configured"
# Revert to "Not configured": DeviceSetup/DriverSearchPlaces_DontPromptForWindowsUpdate_2
$k = 'HKLM:\Software\Policies\Microsoft\Windows\DriverSearching'
Remove-ItemProperty -Path $k -Name 'DontPromptForWindowsUpdate' -ErrorAction SilentlyContinue