Re: "Getting 'This app can’t run on your PC' (Access Denied) error when running Python or checking version in CMD on Windows 11"
Mats Wichmann
mats at wichmann.us
Mon Mar 10 14:23:35 EDT 2025
On 3/10/25 10:08, Praveen Kumar via Python-list wrote:
> Hi Matt,
>
> I pointed out onething that related to the errors, what I pointed out is I
> just gone through the system 32 path in c drive and I found the python
> executive and other python files indicating 0 kb, and I deleted these exe,
> since these are seem to be corrupted to me, then after I tried running
> python and python --version with admin and all those executables, anyway it
> works really well.
>
> (Finally The all issues stand resolved.)
>
> Thank you for support matt and team,
>
> I'm really thankful for your attention to this matter.
The "empty" ones are part of the app execution alias system in Windows.
If you do nothing at all, these at the things that offer to launch the
Microsoft Store you can install Python from there. They're not actual
files, they are NTFS reparse points, and if you need to remove them you
should use the fsutil utility.
Yes, this is pretty obscure.
More information about the Python-list
mailing list