If you're trying to open an app like Microsoft Paint in the Run Dialog and see an error message, it could be caused by your app aliases. But what exactly are App Execution Aliases, where do you find them, and how do you use them?

What Are App Execution Aliases?

An alias is an alternative name given to something. The most obvious example is the codename given to a spy or undercover agent. On Windows, aliases have nothing to do with spying. Instead, they are used for streamlining tasks, such as entering commands.

Windows 10 and 11 both allow aliases to be declared for some apps by default. The available apps vary but are often those commonly associated with command line tools. Giving an app an alias allows it to be executed using a shorter title rather than the full name or path.

App aliases can be used in several Windows Command Line Interfaces (CLI), including the Run Dialog, Command Prompt, and PowerShell. If you use these tools with any regularity, app aliases can help to streamline entering commands.

How to Enable App Execution Aliases in Settings

You can enable and disable aliases for compatible apps in the main settings in both Windows 10 and 11. If more than one app uses the same alias name, you can choose which has the alias applied to it.

In Windows 11:

  1. Open Settings > Apps, and look for Advanced app settings.
  2. In the advanced app settings, click App execution aliases to see the list of compatible apps.
  3. Use the slider switches to enable or disable the alias for each app. You can see the alias name below each app.
app aliases in windows 11

In Windows 10:

  1. If you're using Windows 10, you'll find the aliases in Settings > Apps & features.
  2. Click the App execution aliases link near the top of the Apps & features page.
  3. You can then enable and disable aliases using the switches.
app aliases in Windows 10

By default, in both Windows 10 and 11, you can only enable or disable existing app aliases. But if you don't mind editing the Registry, you can create new aliases for many other apps.

Create App Execution Aliases in Registry Editor

Before editing or creating registry keys, it is advisable to create a full backup of the Windows Registry. Of course, you should also ensure you understand how to restore the Registry from that backup.

The process below for creating app execution aliases in the Registry Editor should be the same in both Windows 10 and 11.

  1. Open Windows Search, type Registry Editor, and click on the search result to open it.
  2. In the editor, navigate to HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\App Paths.
  3. Next, right-click on the App Paths key in the left-hand pane, and select New > Key.
  4. Give the new key an alias name that relates to the app and ends with .exe. For example, if the alias is for Calendar, call it something like cal.exe.
  5. With the alias selected, double-click the Default value in the right-hand pane.
    editing app aliases in registry editor
  6. In the Value data field, you will need to enter the full path to the app executable file. For example C:\Program Files (x86)\Calendar.exe.
  7. Right-click in the right pane and select New > String value. Name the string path. The change the Value data to the same path as above, but without the app filename.

You can now close the Registry Editor. The new App Execution Alias will now be available to use in the Windows CLIs.

Using and Creating App Execution Aliases

Entering commands into tools such as Command Prompt and PowerShell can be laborious. You can streamline that process by enabling or creating aliases for apps that commonly feature in those commands. Why type out a full path to an executable file when you can point to it with a few keystrokes?