MS Visual C++ 2012 Redistributable failed to install – error 0x80070659
MS Visual C++ Redistributable Packages install runtime that may be required for running applications built with a specific version of Visual Studio. In my case, Microsoft Azure required Visual C++ Redistributable 2012 to create backups for MS Windows Server 2016 Database VM.
The automatic installation process via MS Azure Guest tools failed with the error below.
As recommended, I downloaded the MS Visual C++ Redistributable from the Microsoft website for manual installation.
The installation failed with the error “0x80070659 – This installation is forbidden by system policy”.
The log file included the following lines:
The cause of the issue was in a local policy disabling MCI installation.
The policy restriction can be turned off via registry editor.
- Type in Windows Search field “regedit” and press enter
- Go to key HKLM\Software\Policies\Microsoft\Windows\Installer
- Create REG_DWORD value “DisableMSI”.
- Set the “DisableMSI” value to “0”
Run the MS Visual C++ Redistributable installer again.
I hope this information will help you!