question

heeha45-4165 avatar image
0 Votes"
heeha45-4165 asked LimitlessTechnology-2700 answered

I have enabled the Group Policy "Turn off the Store application", but I can still download apps from Windows Store

Dear all, i aimed at disabling user from accessing windows store.

I have enabled the Group Policy "Turn off the Store application", but I can still download apps from Windows Store.

I have also modified the setting in registry "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\WindowsStore:RemoveWindowsStore" to one. Still no effect.

I have detached my PC from my work domain and workgroup. But the setting still doesn't take effect. Any help?

P.S.:
windows version: windows 10 Pro 10.0.19042 Build 19042
system type: x64-based PC

windows-10-generalwindows-group-policy
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

LimitlessTechnology-2700 avatar image
0 Votes"
LimitlessTechnology-2700 answered LimitlessTechnology-2700 published

Hello @heeha45-4165

This is because disabling that way the Store is only possible for Education or Enterprise editions of Windows 10.

I would suggest 2 ways:

GPO:
From: COMPUTER CONFIGURATION > POLICIES > WINDOWS SETTINGS > SECRURITY SETTINGS > SOFTWARE RESTRICTION POLICIES >
Create a New Rule that disallows: %programfiles%\WindowsApps\Microsoft.WindowsStore*
(the * wildcard is because Microsoft have been changing the path to the Store in the last years so you want to cover all changes)

Registry key:
From: >> Expand KEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\WindowsStore >>Right click and >> select NEW >> REG_DWORD >> Name it RemoveWindowsStore >> Set the value to 1

Script to populate the registry key through logon Script:
$RegKeyPath = "HKLM:\KEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\WindowsStore"
$StoreItem = "RemoveWindowsStore"
$StatusValue = "1"
New-Item -Path $RegKeyPath -Force | Out-Null
New-ItemProperty -Path $RegKeyPath -Name $StoreItem -Value $StatusValue -PropertyType REG_DWORD -Force | Out-Null

Hope this helps!
Best regards,

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

LimitlessTechnology-2700 avatar image
0 Votes"
LimitlessTechnology-2700 answered tarkandost-6297 Suspended commented

Hello @heeha45-4165

I would suggest you to use below PowerShell

Get-AppxPackage -name "windowsstore" -user "username" | Remove-AppxPackage

https://docs.microsoft.com/en-us/powershell/module/appx/get-appxpackage?view=win10-ps

If the reply was helpful, please don’t forget to upvote or accept as answer.

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hello,
Thankyou for your reply. But sadly after i run that command in powershell, the user can still access to windows store and download and run the apps.

0 Votes 0 ·