Do not include drivers with Windows Updates
Ne pas inclure les pilotes avec les mises à jour Windows
Explanation
Enable this policy to not include drivers with Windows quality updates.
If you disable or do not configure this policy, Windows Update will include updates that have a Driver classification.
Activez cette stratégie pour ne pas inclure les pilotes avec les mises à jour qualité Windows.
Si vous désactivez ou ne configurez pas cette stratégie, Windows Update inclut les mises à jour qui présentent une classification Pilote.
Use cases
Excludes drivers from Windows Update quality updates. Enable it when drivers are managed through another tool (OEM tooling, Configuration Manager) and you want to avoid a generic driver replacing the validated one.
Microsoft generally recommends leaving drivers allowed (the default): by excluding them you take on the responsibility of keeping drivers current, including their security fixes.
Microsoft source: Walkthrough: Use Group Policy to configure Windows Update for Business
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate- Value name
ExcludeWUDriversInQualityUpdate
| 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: WindowsUpdate/ExcludeWUDriversInQualityUpdate
$k = 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'ExcludeWUDriversInQualityUpdate' -Value 1 -Type DWordDisable
# Disable: WindowsUpdate/ExcludeWUDriversInQualityUpdate
$k = 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'ExcludeWUDriversInQualityUpdate' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": WindowsUpdate/ExcludeWUDriversInQualityUpdate
$k = 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate'
Remove-ItemProperty -Path $k -Name 'ExcludeWUDriversInQualityUpdate' -ErrorAction SilentlyContinue