Prevent Installed Apps from Opening Microsoft Store in Windows 11
If you have installed an app from the Microsoft Store on your Windows 11 computer and noticed that the store opens automatically every time you restart your computer, you may want to prevent this behavior. This article will provide a detailed explanation of how to prevent installed apps from opening the Microsoft Store in Windows 11.
Why Does the Microsoft Store Open Automatically?
The Microsoft Store may open automatically after installing a new app due to a setting in the app's manifest file. The manifest file is an XML file that contains information about the app, such as its name, version, and capabilities. One of the capabilities that an app can declare is "autoLaunch", which allows the app to launch automatically when the system starts or when a specific event occurs.
If an app has the "autoLaunch" capability declared in its manifest file, the Microsoft Store will open automatically every time the app is launched. This behavior can be annoying, especially if you did not intend to launch the app or if you want to prevent the Microsoft Store from opening automatically.
How to Prevent Installed Apps from Opening the Microsoft Store
To prevent installed apps from opening the Microsoft Store in Windows 11, you can follow these steps:
- Press the Windows key + X and select "Windows Terminal (Admin)" or "Command Prompt (Admin)" from the menu.
- Type the following command and press Enter:
Get-AppxPackage | Where-Object {$_.Name -like "*MicrosoftStore*"} | Select-Object -ExpandProperty PackageFullNameThis command will display the package full name of the Microsoft Store app.
- Copy the package full name of the Microsoft Store app.
- Type the following command and press Enter:
Add-AppxPackage -DisableDevelopmentMode -Register "C:\Program Files\WindowsApps\\AppxManifest.xml" -DisableAutoLaunch Replace
with the package full name of the Microsoft Store app that you copied in step 3. This command will register the Microsoft Store app with the "DisableAutoLaunch" option, which will prevent the app from launching automatically.
In this article, we have explained why the Microsoft Store may open automatically after installing a new app in Windows 11. We have also provided a detailed explanation of how to prevent installed apps from opening the Microsoft Store by using the "DisableAutoLaunch" option. By following the steps in this article, you can prevent the Microsoft Store from opening automatically and take control of your Windows 11 experience.