How to Completely Disable ‘App Execution Aliases’ in Windows 11 to Prevent Fake Apps from Launching

In Windows 11, Microsoft introduced a feature called “App Execution Aliases.” This system allows modern UWP apps (downloaded from the Microsoft Store) to register a simple command-line keyword (like python.exe or notepad.exe). When you type that keyword into the Run box or Command Prompt, Windows intercepts it and launches the modern app instead of the traditional desktop program.

While intended for convenience, this feature is notoriously hijacked by Microsoft itself to push its own services. For example, if you don’t have Python installed and you type python into the terminal, Windows will use an App Execution Alias to instantly launch the Microsoft Store and aggressively prompt you to download their specific version of Python.

Worse, this system can cause massive conflicts if you install a third-party application that shares the same executable name as a built-in Windows app. If you want true control over your command line and want to stop Windows from intercepting your commands, you must disable these aliases.

Step 1: Open the Advanced App Settings

  1. Press the Windows Key + I to open the Settings application.
  2. In the left-hand sidebar, click on Apps.
  3. Click on Advanced app settings (usually located near the bottom of the list).

Step 2: Access the Alias Dashboard

  1. Look for the section titled App execution aliases and click on it.
  2. You are now looking at a comprehensive list of every single application on your computer that has registered a command-line shortcut. Beneath the name of each app, you will see the exact text string it is intercepting (e.g., winget.exe, spotify.exe, python3.exe).

Step 3: Kill the Interceptors

You can now go down the list and manually revoke the alias privileges for any app that is causing trouble.

  1. Scroll down until you find the entry for App Installer (python.exe) and App Installer (python3.exe).
  2. Click the toggle switch next to both of them to turn them Off.
  3. Scroll down and find Notepad. If you use a third-party text editor like Notepad++ and want it to launch when you type notepad, turn this alias Off.

The Result

By turning off the alias for Python, you have successfully severed Microsoft’s redirect loop. If you open a Command Prompt right now and type python, instead of violently opening the Microsoft Store, Windows will simply return the standard error: ‘python’ is not recognized as an internal or external command.

This allows you to safely install Python directly from Python.org, add it to your system PATH variable, and execute it cleanly without Windows 11 attempting to override your commands with its own Store apps.

RELATED POSTS

  • How to Add a ‘Move to Folder’ Option to the Windows 11 Context Menu Using the Registry
  • How to Completely Disable ‘Delivery Optimization’ in Windows 11 to Save Bandwidth
  • How to Enable the Hidden Windows God Mode Folder
  • How to Restrict a User to Only Run Specific Allowed Applications in Windows 11
  • How to Completely Remove the ‘Include in Library’ Context Menu Option in Windows 11
  • Get the best tech tips delivered straight to your inbox.

    Join thousands of readers mastering Apple, Google, Microsoft, and Linux.