- Community Home
- >
- Servers and Operating Systems
- >
- HPE ProLiant
- >
- Servers - General
- >
- Fixing Python Installation Error 0x80070659 on Win...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Wednesday - last edited Wednesday by support_s
Wednesday - last edited Wednesday by support_s
Fixing Python Installation Error 0x80070659 on Windows Server 2022
Struggling to install Python on Windows? You’re not alone.
If you’ve run into the 0x80070659 error while installing Python it usually means the Windows Installer is being blocked by a system policy. This can happen because of Group Policy restrictions, registry settings, or security configurations that prevent software installations.
Python is everywhere these days — powering automation, AI and ML projects, DevOps workflows, and data pipelines. This error can completely stop your setup and prevent you from running any of your accelerator or automation solutions. Getting past this installer block is essential to set up Python smoothly and keep your workflows running without interruptions.
Python installation failed with error code 0x80070659 — blocked by Windows Installer policy.
Root Cause
The error happens when the registry key controlling MSI installations restricts or disables installer execution. This prevents the Python MSI installer from running successfully.
Step-by-Step Resolution
1. Re-register the Windows Installer
This refreshes the Windows Installer service and resolves corruption issues. Run these commands in an elevated Command Prompt (Run as Administrator):
msiexec /unregister
msiexec /regserver
Restart your system after running the commands.
2. Modify the Registry Policy
Ensure MSI installations are not disabled in the registry:
Press Win + R, type regedit, and press Enter.
Navigate to: HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Installer
Locate or create a DWORD (32-bit) value named DisableMSI.
Set its value to 0.
Restart your PC.
Result
After these steps, the Python installer should run without any policy-related blocks. Re-registering the Windows Installer and updating the registry value resolved the error completely.
- Tags:
- ProLiant Server
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Wednesday
Wednesday
Re: Fixing Python Installation Error 0x80070659 on Windows Server 2022
very useful article on fixing Python installation error
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
