Visual Studio 2022 Hard-Freezes Windows

Edward Fisher 0 Reputation points
2023-07-02T11:47:38.01+00:00

A few weeks ago, my D: drive (which had Visual Studio 2022 Community installed on it) failed. I replaced the hard drive, reinstalled VS 2022, but Visual Studio 2022 has been unusable.

Whenever I attempt to compile anything, Windows will fully freeze and I am forced to shut off my computer.

I ended up using Windows' [Reset This PC] option to go back to factory defaults.

Visual Studio 2022 still freezes Windows any time it is used.

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,354 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Anna Xiu-MSFT 30,791 Reputation points Microsoft Vendor
    2023-07-07T09:05:27.07+00:00

    Hi @Edward Fisher, 

    Sorry for my delay reply! 

    Please open your registry editor and navigate to:

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\Setup 

    Please modify the value data of SharedInstallationPath to the new drive (Before editing, please back-up the data). 

    Then, check that your VS2022 is working properly. 

    Sincerely,

    Anna


    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.