Disable all apps from Microsoft Store
Désactiver toutes les applications depuis le Microsoft Store
Explanation
Disable turns off the launch of all apps from the Microsoft Store that came pre-installed or were downloaded. Apps will not be updated. Your Store will also be disabled. Enable turns all of it back on. This setting applies only to Enterprise and Education editions of Windows.
Désactiver désactive le lancement de toutes les applications du Microsoft Store qui étaient pré-installées ou qui avaient été téléchargées. Les applications ne seront pas mises à jour. Votre Store sera également désactivé. Activer réactive toutes les applications. Ce paramètre s'applique uniquement aux éditions Entreprise et Éducation de Windows.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\WindowsStore- Value name
DisableStoreApps
| State | Value written |
|---|---|
| Enabled | REG_DWORD = 0 |
| Disabled | REG_DWORD = 1 |
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/DisableStoreApps
$k = 'HKLM:\Software\Policies\Microsoft\WindowsStore'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'DisableStoreApps' -Value 0 -Type DWordDisable
# Disable: WindowsStore/DisableStoreApps
$k = 'HKLM:\Software\Policies\Microsoft\WindowsStore'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'DisableStoreApps' -Value 1 -Type DWordRevert to "Not configured"
# Revert to "Not configured": WindowsStore/DisableStoreApps
$k = 'HKLM:\Software\Policies\Microsoft\WindowsStore'
Remove-ItemProperty -Path $k -Name 'DisableStoreApps' -ErrorAction SilentlyContinue