Python on Windows Server

I had occasion to install python on a Windows Server 2022 machine today. Windows server has an administrator, like Linux root, and regular users.

I could only install python as administrator, which is fair enough, but it got installed in a place in the file system which is not accessible to regular users.

This is less than ideal for usability.

Please can the packaging be revised to fix this, or of course if I have misunderstood how it works please reply with a note as to how I and others should proceed.

Thanks !

If you installed for “all users” python will be in c:\program files, but if you install only for adminstrator them its in the admins USERPROFILE folder.

My guess is that you did not install for all users.

I didn’t see a place to select for all users. Can you post a screenshot please?

I’m not near a windows computer to get you a screen shot.

Uninstall python, do not repair, uninstall.
Run the setup again as the administrator.
You should see the install for all users option.

Thanks, I will try that tomorrow

I found the ‘install for all users’ option eventually, buried deep after making a new directory in ‘Program Files’. I think the install wrapper could do with an overhaul to make ‘install for all users’ easier on Windows Server; I imagine this should be the default option.

Alternatively just install it somewhere custom.

Say, make a folder in root: C:\Python\x.yy, then give the proper permission on that tree to Everyone.

To do that you have to be the admin and if you are the admin you can run setup for all users.