Computer >> Computer tutorials >  >> Troubleshooting >> Windows Errors

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

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.

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

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

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

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.

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

1.Download Visual C++ Redistributable for Visual Studio 2015 from Microsoft Website.

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

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

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.

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

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.

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

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.

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

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.

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

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”.

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

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

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

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.

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

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

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

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).

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

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

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

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:

FC6260C33678BB17FB8B88536C476B4015B7C5E9\packages\Patch\x64\Windows8.1-KB2999226-x64.msu

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.

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

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.

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

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.