Visual Studio 2022 cannot be started

峻輝 高 20 Reputation points
2024-02-12T01:44:53.4+00:00

Visual Studio 2022 cannot be started. After using "devenv /ResetSettings" to no avail, remove the installation and delete (C:\Program Files (x86)\Microsoft Visual Studio and C:\Program Files\Microsoft Visual Studio), then re-download and install as follows. No matter how many times I end the execution directly after the situation in the picture above, it will be the same. I don’t know what happened. VS2022ERROR

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

Accepted answer
  1. Anna Xiu-MSFT 30,936 Reputation points Microsoft External Staff
    2024-02-12T05:28:33.5366667+00:00

    Hi @峻輝 高, 

    Welcome to Microsoft Q&A! 

    Do you have any errors or warnings during installing VS? 

    You can launch your Visual Studio 2022 in Safe Mode (run devenv /SafeMode in Developer Command Prompt for VS 2022) and check that it works properly. 

    If it doesn’t work, please try to rename the folder: C:\Users\<username>\AppData\Local\Microsoft\VSCommon\OnlineLicensing\VisualStudio.

    Then, restart your computer and run the VS as administrator to check it again.  

    If you have any anti-virus software or security management software, please temporarily disable them. 

    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.  


1 additional answer

Sort by: Most helpful
  1. 峻輝 高 20 Reputation points
    2024-02-12T06:43:25.97+00:00

    After executing "devenv /SafeMode" it gets the following error after starting visual studio 2022 "microsoft.visualstudio.shell.serviceunavailable exception: svsidentitynexuslntegration" Then I opened the "visual studio Installer" and unchecked everything (everything that had been installed before) and clicked "Modify" and it almost removed it, but it didn't completely remove visual studio, it still kept visual studio 2022, Do I need to additionally remove visual studio 2022? thank!!

    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.