Turn off access to all Windows Update features
Désactiver l’accès à toutes les fonctionnalités Windows Update
Explanation
This policy setting allows you to remove access to Windows Update.
If you enable this policy setting, all Windows Update features are removed. This includes blocking access to the Windows Update website at http://windowsupdate.microsoft.com, from the Windows Update hyperlink on the Start menu, and also on the Tools menu in Internet Explorer. Windows automatic updating is also disabled; you will neither be notified about nor will you receive critical updates from Windows Update. This policy setting also prevents Device Manager from automatically installing driver updates from the Windows Update website.
If you disable or do not configure this policy setting, users can access the Windows Update website and enable automatic updating to receive notifications and critical updates from Windows Update.
Note: This policy applies only when this PC is configured to connect to an intranet update service using the "Specify intranet Microsoft update service location" policy.
Ce paramètre de stratégie permet de supprimer l’accès à Windows Update.
Si vous activez ce paramètre de stratégie, toutes les fonctionnalités de Windows Update sont supprimées. Cela inclut le blocage de l’accès au site web Windows Update (http://windowsupdate.microsoft.com) à partir du lien Windows Update du menu Démarrer, ainsi qu’à partir du menu Outils dans Internet Explorer. Les mises à jour automatiques de Windows Update sont également désactivées ; vous ne recevez pas de mises à jour critiques de Windows Update et vous n’êtes pas prévenu de leur disponibilité. Ce paramètre de stratégie empêche également le Gestionnaire de périphériques d’installer automatiquement les mises à jour de pilotes à partir du site web Windows Update.
Si vous désactivez ce paramètre de stratégie ou si vous ne le configurez pas, les utilisateurs peuvent accéder au site web Windows Update et activer les mises à jour automatiques afin de recevoir des notifications et des mises à jour critiques de Windows Update.
Remarque : cette stratégie ne s'applique que lorsque ce PC est configuré de manière à se connecter à un service de mise à jour intranet à l'aide de la stratégie « Spécifier l'emplacement du service de mise à jour intranet de Microsoft ».
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate- Value name
DisableWindowsUpdateAccess
| 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: ICM/RemoveWindowsUpdate_ICM
$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 'DisableWindowsUpdateAccess' -Value 1 -Type DWordDisable
# Disable: ICM/RemoveWindowsUpdate_ICM
$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 'DisableWindowsUpdateAccess' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": ICM/RemoveWindowsUpdate_ICM
$k = 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate'
Remove-ItemProperty -Path $k -Name 'DisableWindowsUpdateAccess' -ErrorAction SilentlyContinue