Reputation: 615
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
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
Reputation: 109
HKLM\Software\Policies\Microsoft\Windows\Installer
DisableMSI
, type: REG_DWORD
, value = 0 (0 should allow you to install, it was originally 1)Upvotes: -1
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
Reputation: 483
Login to the system using admin credentials and try installing it. Or when installing provide admin credentials to install it.
Upvotes: 1