Remove access to use all Windows Update features
Supprimer l’accès à l’utilisation de toutes les fonctionnalités de Windows Update
Explanation
This setting allows you to remove access to scan Windows Update.
If you enable this setting user access to Windows Update scan, download and install is removed.
Ce paramètre vous permet de supprimer l’accès à l’analyse Windows Update.
L’activation de ce paramètre supprime l’accès utilisateur à l’analyse, au téléchargement et à l'installation Windows Update.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate- Value name
SetDisableUXWUAccess
| 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/DisableUXWUAccess
$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 'SetDisableUXWUAccess' -Value 1 -Type DWordDisable
# Disable: WindowsUpdate/DisableUXWUAccess
$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 'SetDisableUXWUAccess' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": WindowsUpdate/DisableUXWUAccess
$k = 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate'
Remove-ItemProperty -Path $k -Name 'SetDisableUXWUAccess' -ErrorAction SilentlyContinue