Windows can't install Visual C++

Marcus Ohlhauser 5 Reputation points
2024-11-18T19:38:01.4966667+00:00

Whenever I try to install Microsoft Visual C++ 2015-2022 Redistributable it tells me that "The feature you are trying to use is on a network resource that is unavailable. It then tells me it was unable to uninstall a previous version. I've tried running the install/uninstall troubleshooter and it also says it can't fix the problem. I'll attach the log file i have. Any help would be greatly appreciated.dd_vcredist_amd64_20241118132716.log

C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,780 questions
Visual Studio Setup
Visual Studio Setup
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
1,056 questions
0 comments No comments
{count} vote

1 answer

Sort by: Most helpful
  1. Tianyu Sun-MSFT 31,511 Reputation points Microsoft Vendor
    2024-11-19T08:07:58.73+00:00

    Hello @Marcus Ohlhauser ,

    Welcome to Microsoft Q&A forum.

    Except the log file, does error message(maybe from a pop-up error window) show other information, for example, directory or the name of the GUID like {xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}?

    Probably, the information like GUID of old version of the Visual C++ redistributable packages still exist in the system/registry. If you can find the GUID information which I mentioned above, you can try to search it in the registry(search and open Registry editor from Windows Search box, click Edit, Find, type the GUID and click Find Next button).

    Though, correctly finding that specific registry key, renaming or deleting that registry key should work, modifying the Windows Registry keys needs to be careful enough(How to back up and restore the registry in Windows).

    I don’t recommend manually modifying the registry keys, if you can use some tools that’s better. The troubleshooter tool is one of these tools, it helps uninstall/install programs and fix registry keys. You can consider posting a new ticket on Windows Community and see if there are other useful tools from/for Windows/registry.

    Besides, you can try to download and use Process Monitor to check the processes and the error records, especially when you are installing the Visual C++ redistributable packages. You may get the GUID and more information about the error/processes.

    BTW, please kindly try to open CMD as admin and run DISM.exe /Online /Cleanup-image /Restorehealth command, after it finishes running, run sfc /scannow to fix any corrupted system files. Also please have a try to update Windows OS and make sure that there’s no Windows update error.

    Best Regards,

    Tianyu


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.