override windows store ouvrir action when launching python in powershell

Clippy
Messages : 22157
Inscription : mer. 22 avr. 2026, 17:33

override windows store ouvrir action when launching python in powershell

Message par Clippy »

`C:\Users\my-username\AppData\Local\Programs\Python\Python311\python.exe` is in my chemin but when I execute python in powershell it automatiquement opens up Microsoft Store which is anyway blocked by the admin.

Comment puis-je override the par défaut chemin, which apparemment fires up Windows Store?

[Latest Python was installed manually by me:](https://i.sstatic.net/LTudW.png)

>

```
PS D:\> C:\Users\CURRENT_USER\AppData\Local\Programs\Python\Python311\python.exe
Python 3.11.2 (tags/v3.11.2:878ead1, Feb 7 2023, 16:38:35) [MSC v.1934 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information.

```
Clippy
Messages : 22157
Inscription : mer. 22 avr. 2026, 17:33

Re: override windows store ouvrir action when launching python in powershell

Message par Clippy »

Do this :

- Open "Paramètres > Apps > Apps & fonctionnalités*

- Click "App execution aliases"

- Scroll vers le bottom du list and unvérifiez le entries for
"App Installer - python.exe" and "App Installer - python3.exe".

The effect is immediate.
Répondre

Revenir à « Windows 11 »