R Learner
R Learner

Reputation: 615

Python 3.6 Installation failed

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?

Upvotes: 42

Views: 55364

Answers (4)

Jatin Rathour
Jatin Rathour

Reputation: 15

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.

Upvotes: 0

pentestor
pentestor

Reputation: 109

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

Upvotes: -1

Liudvikas Akelis
Liudvikas Akelis

Reputation: 1323

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.

Upvotes: 91

Sekar Ramu
Sekar Ramu

Reputation: 483

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

Upvotes: 1

Related Questions