Several apps can be accessed using Command Prompt, PowerShell, and the Run Command box in Windows 11 and 10. For example, notepad.exe is the default alias for opening Notepad from Command Prompt. Type the notepad and press the Enter key on the keyboard to launch the Notepad application.
The alias names of the applications are usually similar to the original application’s name; however, if two different applications have the same alias, they will conflict. In this case, you trying to open the intended program via Command Prompt or Run command box by entering its alias may open another app.
To address this limitation, Microsoft added an option in the Settings app starting with the Windows 10 April 2018 Update (version 1803) to specify which app should use the alias when multiple applications have the same name.
This risewindows article will walk you through enabling and disabling App Execution Aliases in Windows 11 and 10. In addition, you will learn how to create execution aliases for specific apps in Windows 11/10.
How to Manage App Execution Aliases in Windows 11?
If more than one app uses the same alias name in Windows 11, you can select which one should use an alias. Here are the steps:
Step 1. First, open the Settings app.
Step 2. Then, click on the Apps category in the left pane.
Step 3. After that, click on the Advanced app settings tab on the right pane.
Step 4. In the following screen, click on the App execution aliases tile.
Step 5. When you’re done, Windows 11 will display the list of all the apps that can use aliases. Here, you will see the alias names of the apps just below their names. Turn Off the toggle switch beside the app name if you don’t want an app to use the alias name. And, if you want some app to use the alias name associated with that particular app, then turn On the toggle switch for that app.
How to Enable or Disable App Execution Aliases in Windows 10?
To enable or disable app execution aliases in Windows 10, do the following:-
Step 1. First, launch the Settings app.
Step 2. Then, click on the Apps category.
Step 3. Next, select the Apps and features tab on the left-hand side.
Step 4. After that, click on the App execution aliases link to see the list of apps that might have conflicting aliases.
Step 5. Finally, turn Off the toggle button for the apps with the same name.
Now, when you open an app using their alias names through Command Prompt or Run command box, it would only open the apps which have their toggle enabled. And if you disabled toggle beside any app, when you try to open that app using Command Prompt, you’ll end up with a message “is not recognized as internal or external command, operable program or batch file.”
Also, when you try to open the disabled aliases program through the Run box, you will see a message, “Windows cannot find ‘program name.’ Make sure you typed the name correctly, and then try again.”
How to Create Execution Aliases for Specific Apps in Windows 11 or 10?
Windows 11/10 does not provide app execution aliases for all your installed apps. However, if you need, you can add or create execution aliases for your favorite apps in Windows 11 or 10 by registry tweak.
To create an execution alias for any specific app in Windows 11 or 10, use the following steps:-
Step 1. First, open the Registry Editor.
Step 2. When the Registry Editor window appears on your computer, navigate to the following path in the left sidebar:-
Step 3. Then, right-click on the App Paths key and select New > Key.
Step 4. Name the new key with a meaningful alias of your desired app. The alias should end with the “.exe” extension. For instance, we want to create an alias for the ShareX app. So, we need to name the newly created key ShareX.exe.
Step 5. Next, double-click the (Default) REG_STRING in the right pane. Then, enter the absolute filename of your app’s executable file. After that, click the OK button.
Step 6. Then, right-click the blank area in the right pane and select New > String Value.
Step 7. Name the string as the path. Then, double-click on it and set its “Value data” to your app’s full path (minus the filename).
Step 8. Click OK.
Once you complete the above, you can type that alias in the Command Prompt, Run command box, or PowerShell to launch your app quickly.
You guys are amazing, keep reading, keep learning, and keep growing.