In many infrastructures, the Microsoft Store is disabled or removed completely from the machine. In this article we are going to take a look on the different methods you could use to achieve this.
Method 1: Group Policy
Probably the easiest method to disable the Store is via a Group Policy. To achieve this, open up the Group Policy Editor (or gpedit) and navigate to:
Computer Configuration -> Administrative Templates -> Windows Components -> Store
In here, you can find the Turn off the Store Application setting. Double-click it and select Enabled.
Method 2: Registry
If Group Policy is not desired, you can achieve the same result by using the registry. To disable the Store via the registry, open up regedit and navigate to the following key:
In here, a new key called WindowsStore must be created. After the key has been created, create a new DWORD named RemoveWindowsStore and set its value to 1.
Method 3: Remove Store with PowerShell
This is not a recommended method from my point of view, but with a simple PowerShell cmdlet you can uninstall Microsoft Store completely. The command which must be used is:
Get-AppxPackage *windowsstore* | Remove-AppxPackage
Microsoft Store is an Appx package, and appx powershell cmdlets can be used to achieve different operations.