I am trying to permanently remove the python.exe 'App Execution Alias' from the UI Screen. This is not about disabling the Alias it is specifically about removal of the item from the list of items on the App Execution Alias UI
Note: this is not the same as 'similar' questions like: Typing “python” on Windows 10 (version 1903) command prompt opens Microsoft store . I want to remove the item from the 'List of Items' shown on the App Execution Alias UI Screen.
Windows 'App Execution Aliases' are located under the path %USERPROFILE%\AppData\Local\Microsoft\WindowsApps. When toggling the slider in the Windows UI for App Execution Aliases the backing python.exe disappears.
The backing registry entries for the UI Screen are supposedly located under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths (also under HKEY_CURRENT_USER etc.)
However none of these locations contain the python.exe alias (other aliases do exist in these locations, so I believe this is the correct registry path)
So does anyone know how to remove the python.exe alias item from the list of items that appears on the App Execution Alias UI Screen ?
python.exein Settings > Apps > App execution aliases? (2) You could also search it in the registry using RegScanner. – harrymc Sep 29 '21 at 15:33RegScannerwill find it in the registry. – harrymc Sep 29 '21 at 18:19PATHenvironment variable. Thepython.exeandpython3.exealiases come from the Microsoft.DesktopAppInstaller package. Unfortunately, this package cannot be uninstalled. – Michiel van Oosterhout Feb 13 '23 at 07:49