Error 0x80004003: Failed to read instance cf2af2f5 trying to install VS2022 Community

Andre 0 Reputation points
2023-02-13T21:03:44.2366667+00:00
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,123 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Tianyu Sun-MSFT 33,881 Reputation points Microsoft External Staff
    2023-02-14T06:50:54.8833333+00:00

    Hello Andre,

    Welcome to Microsoft Q&A forum.

    Please navigate to this directory: "C:\ProgramData\Microsoft\VisualStudio\Packages_Instances\XXXXXXXX", rename the state.json file and repair/continue the installation of VS.

    If this doesn’t work, please try to remove following folders, and reinstall VS.

    C:\Program Files (x86)\Microsoft Visual Studio

    C:\Program Files\Microsoft Visual Studio

    %programdata%\Microsoft\visualstudio\packages

    Feel free to let us know the result.

    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.

    0 comments No comments

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.