Open in the explorer

Only display the private store within the Windows Store app

Afficher uniquement le magasin privé dans l’application du Windows Store

From Windows 10 1803, this policy is replaced by WindowsStore/RequirePrivateStoreOnly (renamed or merged (similar name, same key)).

From Windows Server 2022, this policy is replaced by WindowsStore/RequirePrivateStoreOnly (renamed or merged (similar name, same key)).

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

Explanation

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

If you enable this setting, users will not be able to view the retail catalog in the Windows Store app, 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 Windows Store app.

French text from Windows 10 1709

Refuse l’accès au catalogue de vente au détail dans l’application du Windows Store, mais affiche le magasin privé.

Si vous activez ce paramètre, les utilisateurs ne peuvent pas afficher le catalogue de vente au détail dans l’application du Windows Store, mais ils peuvent afficher les applications dans le magasin privé.

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

Registry

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.

Enable

# Enable: WindowsStore/RequirePrivateStoreOnly_1
$k = 'HKCU:\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_1
$k = 'HKCU:\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_1
$k = 'HKCU:\Software\Policies\Microsoft\WindowsStore'
Remove-ItemProperty -Path $k -Name 'RequirePrivateStoreOnly' -ErrorAction SilentlyContinue

Availability

Windows 11

— 26H2— 25H2— 24H2— 23H2— 22H2— 21H2

Windows 10

— 22H2— 21H2— 21H1— 20H2— 2004— 1909— 1903— 1809— 1803✓ 1709✓ 1703✓ 1607— 1511— 1507

Windows Server

— 2025— 2022✓ 2016