Home >Common Problem >Fix: Microsoft Visual C++ 2015 Redistributable Setup Failed error 0x80240017

Fix: Microsoft Visual C++ 2015 Redistributable Setup Failed error 0x80240017

PHPz
PHPzforward
2023-04-18 13:07:039279browse

Microsoft Visual C has become an integral part of the Windows operating system required to run most common applications. Now, some users have recently complained about issues they encountered while trying to install Visual C Redistributable Packages for 2015 or Microsoft Visual Studio Redistributable Packages for 2013. According to these users, the installer stopped midway and displayed "0x80240017 - Unspecified Error ". There could be many reasons behind this failure. So, don’t waste your time on the reasons for this failure, follow these quick fixes to find a quick solution.

Solution——

1. Try to restart the system. After restarting the device, try installing the redistributable package again.

2. Uninstall/disable the antivirus program on your system.

If workarounds are not sufficient to resolve the issue, make these fixes.

Fix 1 – Uninstall existing redistributable installation files

If the redistributable library files are already installed on your system, you must uninstall them first.

1. Just right-click on the Windows icon and click "Apps and Features".

Fix: Microsoft Visual C++ 2015 Redistributable Setup Failed error 0x80240017

#2. Simply scroll down the list of installed applications and find any redistributable package related to the application you want to install.

(for example - Microsoft Visual C 2015-2019 Redistributable).

3. Click the three-dot menu, and then click "Uninstall".

Fix: Microsoft Visual C++ 2015 Redistributable Setup Failed error 0x80240017

4. You can click "Uninstall" again to completely uninstall the package.

Fix: Microsoft Visual C++ 2015 Redistributable Setup Failed error 0x80240017

#Wait until the uninstall process is completed. Then close everything and restart your Windows machine.

Then, try installing the redistributable package again. This time you won't encounter any errors.

Fix 2 – Empty the Temp folder

Corrupted files in the Temp folder may cause this issue.

1. Press Windows keys and R keys simultaneously to enter run.

2. Then, enter this code and click "OK" to open the Temp folder.

%温度%

Fix: Microsoft Visual C++ 2015 Redistributable Setup Failed error 0x80240017

3. When Temp is open, press the Ctrl A keys at the same time.

4. Then, press the "Delete" key on the keyboard to clear the folder.

Fix: Microsoft Visual C++ 2015 Redistributable Setup Failed error 0x80240017

After deleting all files, close File Explorer.

Then, run the Redistributable Packages installer to install it. If the error code continues to appear, proceed to the next fix.

Fix 3 – Re-register the Windows Installer service

Windows Installer may have been unregistered.

1. Right-click the ​ Windows icon and click "Run" to open it.

Fix: Microsoft Visual C++ 2015 Redistributable Setup Failed error 0x80240017

#2. Now type this in the Run terminal and press Enter to unregister the Windows Installer service.

msiexec /注销

Fix: Microsoft Visual C++ 2015 Redistributable Setup Failed error 0x80240017

3. Again, copy and paste this line into Run, then click "OK" and try again Register the Windows Installer service.

msiexec /regserver

Fix: Microsoft Visual C++ 2015 Redistributable Setup Failed error 0x80240017

After completion, run the setup once.

You won't stumble upon error codes anymore.

Fix 4 – Check for Latest Windows Updates

Lack of current update patches may cause this issue on your system.

1. Right-click the Windows icon on the taskbar and click "Settings" to access it.

Fix: Microsoft Visual C++ 2015 Redistributable Setup Failed error 0x80240017

#2. When the settings appear, click "Windows Update" on the left.

4. To check for the latest update patch, please click "Check for Updates".

Fix: Microsoft Visual C++ 2015 Redistributable Setup Failed error 0x80240017

#Windows will detect the latest patches or feature updates for your system.

5. Click "Download Now" to download and install the update patch.

Fix: Microsoft Visual C++ 2015 Redistributable Setup Failed error 0x80240017

#6. After the installation is complete, you will be asked to restart the system. Click "Restart Now" to restart the system.

Fix: Microsoft Visual C++ 2015 Redistributable Setup Failed error 0x80240017

After restarting the system, run the installer again. If the problem persists, proceed to the next fix.

Fix 5 – Adjust correct date and time

Setup will fail if the system is configured with the wrong date and time.

1. 按键盘上的Windows 键R键应打开运行。

2. 现在,输入“ timedate.cpl ”并点击“ OK ”。

Fix: Microsoft Visual C++ 2015 Redistributable Setup Failed error 0x80240017

3. 打开日期和时间设置后,转到“日期和时间”选项卡。

4. 之后,点击“更改日期和时间... ”以访问它。

Fix: Microsoft Visual C++ 2015 Redistributable Setup Failed error 0x80240017

5. 现在,只需根据您的当地时间设置时间。对日期做同样的事情。

6. 然后,点击“确定”保存设置。

Fix: Microsoft Visual C++ 2015 Redistributable Setup Failed error 0x80240017

7. 完成时间和日期的更正后,转到“ Internet Time ”部分。

8. 之后,点击“更改设置... ”。

Fix: Microsoft Visual C++ 2015 Redistributable Setup Failed error 0x80240017

9. 接下来,选中与 Internet 服务器同步”框。

10. 现在,单击“立即更新”以更新时间服务器设置。

11. 然后,点击“确定”保存更改。

Fix: Microsoft Visual C++ 2015 Redistributable Setup Failed error 0x80240017

12. 回到“日期和时间”窗口,点击“应用”和“确定”保存更改。

Fix: Microsoft Visual C++ 2015 Redistributable Setup Failed error 0x80240017

完成此操作后,重新启动系统一次。然后,再次运行安装文件并检查是否成功。

修复 6 – 执行干净启动

干净启动为设置过程提供干净的体验,停止所有干扰的第三方服务。

1. 按Windows键+R可以打开运行窗口。

2. 在那个运行窗口中,你可以写下这一行,然后按 Enter

配置文件

Fix: Microsoft Visual C++ 2015 Redistributable Setup Failed error 0x80240017

3. 之后,点击“常规”部分。

4. 在这里,选择单选按钮“选择性启动”。

5. 然后,检查这两个选项 -

加载系统服务加载启动项

Fix: Microsoft Visual C++ 2015 Redistributable Setup Failed error 0x80240017

6. 完成后,前往“服务”部分。

7. 在这里,只需勾选隐藏所有 Microsoft 服务”框。

8. 您会注意到所有第三方服务都被自动选择了。

9. 然后,单击“全部禁用”选项以禁用所有这些服务。

Fix: Microsoft Visual C++ 2015 Redistributable Setup Failed error 0x80240017

10.禁用服务后,您必须阻止异常应用程序自动启动。只需转到“启动”区域。

11.在这里,点击“打开任务管理器”以访问任务管理器实用程序。

Fix: Microsoft Visual C++ 2015 Redistributable Setup Failed error 0x80240017

任务管理器将打开。

12. 您会注意到几个应用程序设置为随系统自动启动。

13. 右键单击​​每个服务,然后点击“禁用”将其禁用。

这样,请确保您已禁用所有不需要的应用程序。

Fix: Microsoft Visual C++ 2015 Redistributable Setup Failed error 0x80240017

完成后关闭任务管理器窗口。

13. 只需单击“应用”,然后单击“确定”。

Fix: Microsoft Visual C++ 2015 Redistributable Setup Failed error 0x80240017

之后,您会注意到屏幕上出现了提示。

14.只需单击“立即重新启动”以重新启动系统以应用这些更改。

Fix: Microsoft Visual C++ 2015 Redistributable Setup Failed error 0x80240017

系统重新启动后,再次运行 Redistributable Package 设置文件。测试这是否可行。

修复 7 – 下载 Visual C++ 安装包

如果安装程序无法下载正确的软件包,您可以下载并手动安装。

1. 根据您的要求从这些链接下载特定的 Visual 包 -

适用于 Visual Studio 2013 的Visual C++ Redistributable Package – 下载链接
适用于 Visual Studio 2015 的 Visual C++ Redistributable Package  – 下载链接

2. 到达页面后,点击“下载”按钮。

Fix: Microsoft Visual C++ 2015 Redistributable Setup Failed error 0x80240017

3. 在这里,只需根据您的操作系统架构检查正确的文件。

比如,如果您使用的是 64 位架构,请检查“ vc_redistx64.exe ”。

4. 然后,点击“下一步”开始下载安装文件。

Fix: Microsoft Visual C++ 2015 Redistributable Setup Failed error 0x80240017

5. 下载安装文件后,双击它。

Fix: Microsoft Visual C++ 2015 Redistributable Setup Failed error 0x80240017

然后,按照屏幕上的步骤完成该过程。

检查此过程是否可以帮助您解决问题。

修复 8 – 运行 SFC 和 DISM 扫描

运行简单的 SFC 和 DISM 扫描应该

1.在搜索栏中输入“命令”。

2. 然后,右键单击“命令提示符”并点击“以管理员身份运行”。

Fix: Microsoft Visual C++ 2015 Redistributable Setup Failed error 0x80240017

2. 然后,编写此 SFC 扫描命令并按Enter以运行 SFC 扫描

sfc /scannow

Fix: Microsoft Visual C++ 2015 Redistributable Setup Failed error 0x80240017

3. SFC 扫描完成后,从此处复制此代码,将其粘贴到终端中,然后按Enter键。

dism 在线清理-映像恢复健康

Fix: Microsoft Visual C++ 2015 Redistributable Setup Failed error 0x80240017

等到 Windows 完成 DISM 扫描。

运行这两个扫描后,关闭命令提示符。然后,运行一次安装文件以完成安装。

The above is the detailed content of Fix: Microsoft Visual C++ 2015 Redistributable Setup Failed error 0x80240017. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:yundongfang.com. If there is any infringement, please contact admin@php.cn delete