Open in the explorer

Only display the private store within the Microsoft Store

Afficher uniquement le magasin privé dans le Microsoft Store

In Windows 10 1803, this policy replaces WindowsStore/RequirePrivateStoreOnly_1 (renamed or merged (similar name, same key)).

In Windows 10 1803, this policy replaces WindowsStore/RequirePrivateStoreOnly_2 (renamed or merged (similar name, same key)).

In Windows Server 2022, this policy replaces WindowsStore/RequirePrivateStoreOnly_1 (renamed or merged (similar name, same key)).

In Windows Server 2022, this policy replaces WindowsStore/RequirePrivateStoreOnly_2 (renamed or merged (similar name, same key)).

Type
Computer and user
GPO path
Computer Configuration › Policies › Administrative Templates › Windows Components › Store User Configuration › Policies › Administrative Templates › Windows Components › Store FR: Configuration ordinateur › Stratégies › Modèles d'administration › Composants Windows › Windows StoreFR: Configuration utilisateur › Stratégies › Modèles d'administration › Composants Windows › Windows Store
Supported on
At least Windows Server 2016, Windows 10 FR: Au moins Windows Server 2016, Windows 10
ADMX file
WindowsStore.admx
Internal name
WindowsStore/RequirePrivateStoreOnly

Explanation

Denies access to the retail catalog in the Microsoft Store, but displays the private store.

If you enable this setting, users will not be able to view the retail catalog in the Microsoft Store, but they will be able to view apps in the private store.

If you disable or don't configure this setting, users can access the retail catalog in the Microsoft Store.

French text from Windows 11 26H2

Refuse l'accès au catalogue de vente au détail dans le Microsoft Store, mais affiche le magasin privé.

Si vous activez ce paramètre, les utilisateurs ne pourront pas afficher le catalogue de vente au détail dans le Microsoft Store, mais ils pourront afficher les applications dans le magasin privé.

Si vous désactivez ou ne configurez pas ce paramètre, les utilisateurs peuvent accéder au catalogue de vente au détail dans le Microsoft Store.

Registry

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\WindowsStore
HKEY_CURRENT_USER\Software\Policies\Microsoft\WindowsStore
Value name
RequirePrivateStoreOnly
StateValue written
EnabledREG_DWORD = 1
DisabledREG_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.

Computer (HKLM)

Enable

# Enable: WindowsStore/RequirePrivateStoreOnly
$k = 'HKLM:\Software\Policies\Microsoft\WindowsStore'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'RequirePrivateStoreOnly' -Value 1 -Type DWord

Disable

# Disable: WindowsStore/RequirePrivateStoreOnly
$k = 'HKLM:\Software\Policies\Microsoft\WindowsStore'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'RequirePrivateStoreOnly' -Value 0 -Type DWord

Revert to "Not configured"

# Revert to "Not configured": WindowsStore/RequirePrivateStoreOnly
$k = 'HKLM:\Software\Policies\Microsoft\WindowsStore'
Remove-ItemProperty -Path $k -Name 'RequirePrivateStoreOnly' -ErrorAction SilentlyContinue

User (HKCU)

Enable

Disable

Revert to "Not configured"

Availability

Windows 10

Windows Server