Python installation fails with error 0x80070659 — Installation is prohibited by system policy

When installing Python on Windows Server, you may encounter error 0x80070659 with the message "This installation is forbidden based on system policy." This is a standard security restriction that blocks the execution of files downloaded from the internet. The issue can be resolved in under a minute without modifying the registry or Group Policies. Simply run the installer as an administrator.

How to quickly start the installation:

  • First, unblock the downloaded file: File Properties → General tab → check the Unblock box.

  • Then, initiate the installation by selecting Run as administrator from the context menu.

Updated Date 08.10.2026
We use cookies and web analytics services to ensure the proper functioning of the website, analyze web-site traffic, and improve the quality of our services.
By continuing to use the website, you consent to the Privacy Policy and consent to the processing of cookie files and technical data.