Python 3.6 Installation failed

Viewed 25385

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?

3 Answers

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.

Login to the system using admin credentials and try installing it. Or when installing provide admin credentials to install it.

  • 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)
Related