Turn off Automatic Download and Install of updates
Désactiver le téléchargement automatique et l’installation des mises à jour
Explanation
Enables or disables the automatic download and installation of app updates.
If you enable this setting, the automatic download and installation of app updates is turned off.
If you disable this setting, the automatic download and installation of app updates is turned on.
If you don't configure this setting, the automatic download and installation of app updates is determined by a registry setting that the user can change using Settings in the Microsoft Store.
Active ou désactive le téléchargement et l'installation automatiques des mises à jour de l'application.
Si vous activez ce paramètre, le téléchargement et l'installation automatiques des mises à jour de l'application sont désactivés.
Si vous désactivez ce paramètre, le téléchargement et l'installation automatiques des mises à jour de l'application sont activés.
Si vous ne configurez pas ce paramètre, le téléchargement et l'installation automatiques des mises à jour de l'application sont déterminés par un paramètre de registre que l'utilisateur peut modifier à l'aide des paramètres du Microsoft Store.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\WindowsStore- Value name
AutoDownload
| State | Value written |
|---|---|
| Enabled | REG_DWORD = 2 |
| Disabled | REG_DWORD = 4 |
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: WindowsStore/DisableAutoInstall
$k = 'HKLM:\Software\Policies\Microsoft\WindowsStore'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'AutoDownload' -Value 2 -Type DWordDisable
# Disable: WindowsStore/DisableAutoInstall
$k = 'HKLM:\Software\Policies\Microsoft\WindowsStore'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'AutoDownload' -Value 4 -Type DWordRevert to "Not configured"
# Revert to "Not configured": WindowsStore/DisableAutoInstall
$k = 'HKLM:\Software\Policies\Microsoft\WindowsStore'
Remove-ItemProperty -Path $k -Name 'AutoDownload' -ErrorAction SilentlyContinue