Hello experts,
While installing SCCM client, the below error is throwing
Ccmsetup failed with error code 0x80070666.
Note: I googled the error it shows "Microsoft Visual C++ redist" error occurs if device requires restart for windows update. I did the restart too and retried installation, but still occurring same error.
Kindly let me know the reason for this error and help me with steps to fix it. Thanks
Hello
Panja Ajay,
Several Windows users are facing the "
0x80070666" error when trying to install Microsoft Visual C++. The error occurs at the start of the installation process. However, there are various causes for the error to occur,
Another Visual C++ installation is already present.
Courrpt installation of Visual C++
Windows Update is preparing to install the same Visual C++ package.
You can follow the below ways to troubleshoot the issue,
Uninstall current Visual C++ Redistributable packages:
The error appears when the user tries to install Visual C++ Redistributable 2016, but a recent installation is present on the system.
- Firstly, press the Win logo+ R keys to open a Run dialog box.
- Then, type "appwiz.cpl" and press Enter to open the Programs & Features section.
- Now, scroll down under the Programs and Features screen to locate all your Microsoft Visual C++ Redist installations.
- Nextly, right-click on every Microsoft Visual C++ Redist installation and select uninstall.
- Lastly, restart your system once every Visual C++ package gets uninstalled.
Install pending Windows updates:
- Firstly, press the Win logo+ R keys to open a Run dialog box.
- Then, type "ms-settings:windowsupdate" and press Enter to open the Windows Update tab.
- Nextly, click on Check for updates, follow the instructions and install the pending Windows update.
- Lastly, restart your system once every pending update gets installed. Try again to install the redist package, and check whether the error is resolved.
Repair the Visual C++ Installation:
The error "
0x80070666" can also occur if the Visual C++ package is corrupted/damaged. You can follow the below ways to fix the issue from a command prompt.
Firstly,
ensure that the installer for the redistributable package you want to install is
already on the device. Ensure its exact
location and if not present, then
download it.
- Firstly, press the Win logo+ R keys to open a Run dialog box.
- Then, type "cmd" and hit Enter to open Command Prompt.
- Now, use the following command to change the directory of the file,
CD C:\Users\*YourUser*\Downloads
- Nextly, type vc_redist.x64.exe /uninstall and hit Enter.
- Then, repair and follow the prompts shown on the screen to repair the Microsoft Visual C++ Redistributable package.
- Lastly, reboot the system and install the Visual C++ Redistributable package again.
Thus, I hope the above fixes help you to fix the error "Ccmsetup failed with error code 0x80070666."
----------------------
Regards,
tejtherh4