Microsoft Windows Error Code 0x80070317: How to Fix Installation Failure

Medium 30-60 minutes High Severity Verified June 2026
Error Code
0x80070317
Brand
Microsoft Windows
Product Type
hresult
Severity
High
DIY Difficulty
Medium
Estimated Fix Time
30-60 minutes
Error code 0x80070317 indicates a general installation failure in Windows, often due to corrupted system files, conflicts with existing software, or insufficient permissions. This guide provides step-by-step fixes to resolve the issue and successfully complete your installation.
Ad

Tools You'll Need

How to Fix Error Code 0x80070317

  1. Run the Windows Installer Troubleshooter

  2. Check for Windows Updates

    Back up important data before installing major updates.
  3. Run System File Checker (SFC) and DISM

    Do not close the Command Prompt until scans complete.
  4. Perform a Clean Boot

    Remember to re-enable services after installation.
  5. Repair .NET Framework and Visual C++ Redistributables

    Only download from official Microsoft sources.
Ad

When to Call a Professional

If error persists after all steps, consider contacting Microsoft Support or a certified technician. This may indicate deeper system corruption that requires advanced recovery tools.

Frequently Asked Questions

What does error 0x80070317 mean?
It means ERROR_INSTALL_FAILURE, a general installation failure often due to corrupted system files, conflicting software, or permission issues.
Can I fix error 0x80070317 without reinstalling Windows?
Yes, most cases can be resolved with the steps in this guide, such as running SFC/DISM or performing a clean boot.
Does error 0x80070317 affect all software installations?
It can occur with any installer, but is common with Microsoft software like Office or Visual Studio.
Will a system restore fix error 0x80070317?
Possibly, if the error started after a recent change. Restore to a point before the issue began.
Is error 0x80070317 related to malware?
While not direct, malware can corrupt system files, leading to installation failures. Run a full antivirus scan if you suspect infection.