I'm trying to install python3.6 on windows server 2016. I have downloaded python-3.6.6rc1-amd64-webinstall.Followed the default setting to install it. But during installation step I got the error message as 0x80070659-This installation is forbidden by system policy. Contact your system administrator. I have talked with system administrator but he is not aware of this policy. Can you please guide me to resolve this error?
-
2you don't have permission to install it, you need administrator accountZiTAL– ZiTAL2018年11月15日 12:23:00 +00:00Commented Nov 15, 2018 at 12:23
-
4Left click and run as administrator?curlpipesudobash– curlpipesudobash2018年11月15日 12:23:50 +00:00Commented Nov 15, 2018 at 12:23
4 Answers 4
I experienced this very same problem, and right-clicking the setup file, then Run As Administrator solved it. (Credit to @Igwilliams, who suggested this in the comments).
This was actually very frustrating for me, because I was logged in as an administrator, but apparently that still wasn't enough, I had to do the Run as Administrator thing as well.
8 Comments
Login to the system using admin credentials and try installing it. Or when installing provide admin credentials to install it.
Comments
- Run regedit
- Browse the registry to
HKLM\Software\Policies\Microsoft\Windows\Installer - Create
DisableMSI, type:REG_DWORD, value = 0 (0 should allow you to install, it was originally 1)
3 Comments
As @Cashiuus mentioned in the comments on the answer by @Liudvikas, open the logfile and navigate to the binary mentioned at the top-
The path should look like this:
C:\Users\ABC\AppData\Local\Package Cache\{5d57524f-af24-49a7-b90b-92138880481e}
Run the binary as administrator. It should uninstall properly now.