Press "Enter" to skip to content

Fix Microsoft Visual C 2015 Redistributable Setup Fails Error 0x80240017

0x80240017 Unspecified Error

Easily Fix 0x80240017 Visual C++ Setup Failed Error

The 0x80240017 Unspecified Error occurs when users try to install Visual C++ Redistributable Package for Visual Studio 2013 or 2015. The Error seems to occur on all versions of Windows and in most cases can be fixed easily by replacing some missing files and DLLs. In this article, we have listed a detailed guide for completely fixing the issue using some easy to follow solutions.

0x80240017 Unspecified Error

Why is 0x80240017 Unspecified Error Triggered in the First Place?

It is possible that most users have been encountering this error due to the following common reasons.

  • Missing DLLs: It is possible in some cases that some DLL files from your computer are missing due to which the error has popped up while trying to install Visual C++ redistributable. Therefore, we suggest that you follow the solutions below to install these files on your computer.
  • Outdated Windows: Some users have complained that their Windows was outdated due to which the issue was being triggered on their computer and as soon as they applied the update, the issue went away.
  • Installation Glitch: It is possible that the installation has been glitched and you cannot proceed with installing the software from the package. Therefore, you can try alternate ways of installing the Visual C++ redistributable to fix the issue as we have mentioned below.

Now that we have made you aware of some of the common reasons behind its occurrence, we can finally start implementing the solutions.

Fixing the 0x80240017 Error:

Contents hide

Method 1: Download Visual C++ Package Again

  1. Download the Visual C++ Redistributable Package from the official Microsoft Website.
  2. Select the appropriate architecture of the package and click on the download option. Downloading Proper Visual Studio C++ Software from Microsoft Website
  3. After that, run the downloaded “.exe” file and follow the on-screen instructions to install it on your computer.
  4. Check to see if doing so fixes the issue while installing Visual C++.

Method 2: Install Service Pack 1 for Windows 7

  1. Download the Windows 7 Service Pack 1 from the Microsoft Website.
  2. Make sure to download the ISO file from their website and wait for the download to complete.
  3. After downloading the ISO, download the WinCDEMU tool on your computer and run it after installation.
  4. Now, run the tool and point it towards the download directory where the Service Pack 1 ISO has been downloaded.
  5. After this, right-click on the ISO file and select the “SelectDrive Letter and Mount”.
  6. Now, select the USB drive letter that you want to make bootable and select “OK”.
  7. Now, restart your computer and boot from this USB.
  8. Proceed with the on-screen installation steps to install Service Pack 1 on your computer and check to see if the issue is fixed.

Method 3: Install Universal C Runtime Update

  1. Using this link, navigate to the Microsoft Website and scroll down to the second method.
  2. From there, select the appropriate download according to your device and click on the “Download the Package” now button. Download the Package Now
  3. After downloading the package on your computer, make sure to run its executable to install it.
  4. Now, check to see if the issue is fixed.

Method 4: Check for Windows Update

  1. Press “Windows+ I” to launch into settings, click on the “Update& Security” option and select the “Check for Updates” button from the right side. Check for updates
  2. Wait for the checking process to be finished and click on the “Download and Install” button if the updates are available and for them to be installed on your computer.
  3. Try to install Microsoft Visual C++ Redistributable after this and check to see if the 0x80240017 unspecified error is fixed.

Method 5: Remove Previous Visual C++ Redistributable Packages

  1. Press “Windows + R” to launch RUN, type in “Appwiz.cpl” and press “Enter” to launch into the application wizard. Typing in “Appwiz.cpl” and pressing “Enter”
  2. From here, scroll down on the right side and right-click on any Microsoft Visual C++ installations that you find.
  3. Select the “Uninstall” button and follow through with the on-screen instructions to completely remove them from your computer.
  4. Check to see if you are able to install the Microsoft Visual C++ redistributable after removing the older versions from your computer.

Method 6: Install Older Python Version

If the error is being triggered while trying to install a Python distribution, we recommend that you try to install an older version and check to see if the issue is fixed. This is because the older versions, especially the Python Version 3.4.3 is more stable than the newer ones and it might fix the 0x80240017 error while installing the Python distribution.

Method 7: Updating GPU Drivers

  1. Some GPU driver updates also install the latest version of the VisualC++ updates with them therefore, you can try to install the GPU driver updates and counter this issue along with it.
  2. Press “Windows+ R” to launch into Run, type in “devmgmt.msc” and press “Enter” to launch into the device management window. Typing devmgmt.msc in the Run prompt
  3. From here, make sure to expand the “Display Adapters” option and right-click on your GPU driver.
  4. Select the “Update Driver” option and then click on the “Search Automatically for Updated Driver Software” button.
  5. Alternatively, you can also check for GPU updates on your relevant GPU Support application such as GeForce Experience or AMD Catalyst.

Method 8: Install Visual C++ in Safe Mode

Some programs and services are prevented from running in the safe mode. Therefore, if the service was interfering with the installation of the Visual C++ software, it will no longer do that.

  1. Press “Windows+ R” to launch the RUN prompt, type in “msconfig” and press “Enter” to launch into the ms configuration panel. Typing in “Msconfig”
  2. After doing that, click on the “General” tab from above and ensure that you check the “Selective Startup” option.
  3. From there, ensure that only the “Load System Services” option is selected and that the rest aren’t selected.
  4. Now, Select the “Services” option and check the “Hide all Microsoft Services” option. After that, click on the “Disable All” button. Hide All Microsoft Services
  5. Select “Apply” to save your changes and restart your computer.
  6. In this mode, try to install the Visual C++ software and check to see if you still get the 0x80240017 unspecified error while doing so.
  7. After the installation, restart your computer after undoing the changes from the ms config panel.

Method 9: Correcting Date and Time Settings

  1. Press “Windows + I” to launch into the settings, click on the “Time & Language” option and from the left side, click on the “Date & Time” button.
  2. On the right, make sure that the “Set Time Automatically” toggle is turned on and that the time is set properly. Set time zone automatically
  3. If the toggle is on but the time isn’t proper, turn the toggle off.
  4. After that, click on the “Set Now” button under the “Set Date and Time Manually” heading.
  5. Set the proper time and check to see if you are able to fix the 0x80240017 error while Visual C++ installation.

Method 10: Performing Repair Installation

  1. If the issue is still occurring while installing the Visual C++ software, you can download the Windows Media Creation Tool on your computer.
  2. Now, Run the tool and select the “Repair this Computer” option when prompted.
  3. Follow the on-screen instructions to completely repair the Windows installation on your computer and check to see if the 0x80240017 error is fixed.

Fixing the 0x80240017 Windows Failed to Execute MSU package:

Fix 1: Running the DISM and SFC Scan

  1. Press “Windows + R” to launch Run, type in “cmd” and press “Shift + CTRL + Enter” to launch with admin permissions. Typing in cmd
  2. From there, type in the following commands and press “Enter” after each to execute them on your computer.
DISM.exe/Online/Cleanup-image/Scanhealth DISM.exe/Online/Cleanup-image/Restorehealth sfc/ scannow

Fix 2: Run Windows Update Troubleshooter

  1. Press “Windows+ I” to launch into the settings, click on the “Update and Security” option and from the left side, click on the “Troubleshoot” button. Clicking on Additional Troubleshooters
  2. On the right, click on the “Additional Troubleshooters” option and select the “Windows Update” button after that.
  3. Click on the “Start the Troubleshooter” button that drops down and wait for the process to be completed.

Fix 3: Reset Microsoft Store App

  1. Press “Windows + R” to launch into Run, type in “WSReset.exe” and press “Enter”. wsreset.exe
  2. Wait for the new window to execute and complete this process and it will close automatically.
  3. After the window has been closed, check to see if the 0x80240017 Windows Failed to Execute MSU package error has been fixed.

Fix 4: Configure Windows Installer Service to Manual

  1. Press “Windows + R” to launch into the Run prompt, type in “services.msc” and press “Enter” to launch into the service management window. Typing in “services.msc”
  2. From there, right-click on the “Windows Installer Service” and select the “Properties” option.
  3. From the “General” tab, click on the “Startup Type” dropdown and select the “Manual” option.
  4. Now, click on “OK” to save your changes, restart your computer and check to see if the 0x80240017 Windows Failed to Execute MSU package error has been fixed.

Fix 5: Removing Temporary Files

  1. Press “Windows + R” to launch the Run prompt, type in “%temp%” and press “Enter” to launch into the temporary files folder. Typing in “%temp%”
  2. Inside here, press “CTRL+A” to select all the files and then press “Shift + Delete” to remove the files from your computer.
  3. After doing this, make sure to try again and check to see if the 0x80240017 Windows Failed to Execute MSU package error has been fixed

Fix 6: Register Windows Installer Server Again

  1. Press “Windows + R” to launch the Run prompt, type in “cmd” and press “Shift + CTRL + Enter” to launch with admin permissions.
  2. Type in the following commands one by one and press “enter” to execute them.
msiexec /unregister msiexec /regserver

Fix 7: Install Windows 8 Package (Windows 8 Users Only)

  1. On your computer, navigate to the following address.
C:\ProgramData\Package Cache
FC6260C33678BB17FB8B88536C476B4015B7C5E9\packages\Patch\x64\Windows8.1-KB2999226-x64.msu
C: mkdir tmp mkdir tmp\tmp move C:\ProgramData\Package Cache\FC6260C33678BB17FB8B88536C476B4015B7C5E9\packages\Patch\x64\Windows8.1-KB2999226-x64.msu c:\tmp expand -F:* c:\tmp\Windows8.1-KB2999226-x64.msu c:\tmp\tmp dism /online /add-package /packagepath:c:\tmp\tmp\Windows8.1-KB2999226-x64.cab

Fix 8: Disable Antivirus Temporarily

  1. Press “Windows+ I” to launch into the settings, click on the “Update& Security” option and select the “Windows Security” button from the left side.
  2. After this, click on the “Virus& Threat Protection” option from the right side and click on the “Manage Settings” button under the “Virus & Threat Protection” button.
  3. Now, from here, make sure to disable the toggle under the “Real-Time Protection” option. Disable real-Time Protection
  4. Now that the Real-Time protection has been disabled, install the app and check to see if the 0x80240017 unspecified error has been fixed.

Fix 9: Reset Windows Update Components

  1. Press “Windows + R” to launch the Run prompt, type in “cmd” and press “Shift + CTRL + Enter” to launch with admin permissions.
  2. After that, execute the following commands one by one and to completely reset the Windows Update components.
net stop wuauserv net stop cryptSvc net stop bits net stop msiserver ren C:\Windows\SoftwareDistribution SoftwareDistribution.old ren C:\Windows\System32\catroot2 Catroot2.old net start wuauserv net start cryptSvc net start bits net start msiserver

Fix 10: Use Activated Windows

This issue can sometimes plague your computer if the Windows installation hasn’t been fully activated. This is because an activated version of Windows is required in order to be able to install and use some Microsoft services. Therefore, we suggest that you try to activate your Windows installation.

If the above fixes weren’t able to fix your issue, contact us for further troubleshooting.

Fix Microsoft Visual C++ 2015 Redistributable Setup Fails Error 0x80240017

Fix Microsoft Visual C++ 2015 Redistributable Setup Fails Error 0x80240017: If you are facing the error code “0x80240017 – Undefined error” when trying to install Microsoft Visual C++ 2015 Redistributable Setup then don’t worry as today we are going to see how to fix this error. Visual C++ 2015 Redistributable is required for various app or programs to run, and if you don’t have the Redistributable package installed on your PC then you might not be able to access those apps. So without wasting any time let’s see How to Fix Microsoft Visual C++ 2015 Redistributable Setup Fails Error 0x80240017 with the help of the below-listed guide.

Table of Contents

Fix Microsoft Visual C++ 2015 Redistributable Setup Fails Error 0x80240017

Make sure to create a restore point just in case something goes wrong.

Method 1: Download Windows 7 Service Pack (SP1) Update

Select your Language then click on Download button. On the next page either select “windows6.1-KB976932-X64” or “windows6.1-KB976932-X86” according to your system architecture.

windows6.1-KB976932-X64 – For 64-bit System
windows6.1-KB976932-X86 – For 32-bit System

Once you have downloaded and install the Windows 7 Service Pack (SP1) Update, simply restart your PC to save changes. Now from Programs and Features window, make sure to completely remove Microsoft Visual C++ 2015 Redistributable package and then follow the below-guide.

2.Select your Language from the drop-down and click on Download.

3.Select the vc-redist.x64.exe (for 64-bit Windows) or vc_redis.x86.exe (for 32-bit Windows) according to your system architecture and click Next.

4.Once you click Next the file should start downloading.

5.Double-click on the download file and follow the on-screen instruction to complete the installation.

6.Reboot your PC to save changes and see if you’re able to Fix Microsoft Visual C++ 2015 Redistributable Setup Fails Error 0x80240017.

If you’re still facing the error message then install Microsoft Visual C++ Redistributable Update:

If repairing or re-installing Visual C++ Redistributable for Visual Studio 2015 didn’t fix the problem then you should try to install this Microsoft Visual C++ 2015 Redistributable Update 3 RC from Microsoft website.

Method 2: Perform Clean Boot

Sometimes 3rd party software can conflict with Microsoft Visual C++ and therefore, you may face Setup Fails Error 0x80240017. In order to Fix Microsoft Visual C++ 2015 Redistributable Setup Fails Error 0x80240017, you need to perform a clean boot in your PC and diagnose the issue step by step.

Method 3: Make sure Date and Time of your PC is Correct

1.Right-click on date and time on the taskbar and then select “Adjust date/time“.

2.Make sure to Turn on the toggle for Set Time Automatically”.

3.For Windows 7, click on “Internet Time” and tick mark on “Synchronize with an Internet time server.”

4.Select Server “time.windows.com” and click update and “OK”. You don’t need to complete update. Just click OK.

Setting correct date & time should Fix Microsoft Visual C++ 2015 Redistributable Setup Fails Error 0x80240017, if not then continue.

Method 4: Delete Temporary Files from your PC

1.Press Windows Key + R then type temp and hit Enter.

2.Click on Continue to open the Temp folder.

3.Select all the files or folders present inside the Temp folder and permanently delete them.

Note: To permanently delete any file or folder, you need to press Shift + Del button.

Method 5: Re-register Windows Installer service

1.Press Windows Key + R then type the following and hit Enter:

msiexec /unregister

Note: When you hit Enter, it won’t show anything so don’t worry.

2.Again open Run dialog box and then type “msiexec /regserver” (without quotes) and hit Enter.

3.This would successfully Re-register Windows Installer service and should fix your issue.

Method 6: Run DISM Tool

1.Press Windows Key + X and select Command Prompt(Admin).

2.Type the following command in cmd and hit enter after each one:

Dism /Online /Cleanup-Image /CheckHealth Dism /Online /Cleanup-Image /ScanHealth Dism /Online /Cleanup-Image /RestoreHealth

3.Let the DISM command run and wait for it to finish.

4. If the above command doesn’t work then try on the below:

Dism /Image:C:\offline /Cleanup-Image /RestoreHealth /Source:c:\test\mount\windows Dism /Online /Cleanup-Image /RestoreHealth /Source:c:\test\mount\windows /LimitAccess

Note: Replace the C:\RepairSource\Windows with the location of your repair source (Windows Installation or Recovery Disc).

5.Reboot your PC to save changes and see if you’re able to Fix Microsoft Visual C++ 2015 Redistributable Setup Fails Error 0x80240017.

Method 7: Install Windows8.1-KB2999226-x64.msu

1.Make sure to uninstall Visual C++ Redistributable for Visual Studio 2015 from your system.

2.Navigate to the following path:

C:\ProgramData\Package Cache\

3.Now here you need to find the path which would resemble something like this:

2.Once you find file, open Command Prompt (Admin) and type the following command one by one and hit Enter after each one:

C: mkdir tmp mkdir tmp\tmp move C:\ProgramData\Package Cache\FC6260C33678BB17FB8B88536C476B4015B7C5E9\packages\Patch\x64\Windows8.1-KB2999226-x64.msu c:\tmp expand -F:* c:\tmp\Windows8.1-KB2999226-x64.msu c:\tmp\tmp dism /online /add-package /packagepath:c:\tmp\tmp\Windows8.1-KB2999226-x64.cab

Note: Make sure to Replace “FC6260C33678BB17FB8B88536C476B4015B7C5E9” and file name “Windows8.1-KB2999226-x64.msu” according to your system.

3.Once finished, reboot your PC to save changes.

If you’re still facing the issue then you can manually download and install the Windows8.1-KB2999226-x64.msu directly from Microsoft website.

Recommended:

  • Fix USB Tethering Not Working in Windows 10
  • SOLVED: Your PC ran into a problem and needs to restart
  • Fix The program can’t start because api-ms-win-crt-runtime-l1-1-0.dll is missing
  • Enable Adobe Flash Player on Chrome, Firefox, and Edge

That’s it you have successfully learned How to Fix Microsoft Visual C++ 2015 Redistributable Setup Fails Error 0x80240017 but if you still have any questions regarding this tutorial then feel free to ask them in the comment’s section.

Comments are closed, but trackbacks and pingbacks are open.