Unable to sign in or start Visual Studio

John 506 Reputation points
2023-04-26T00:58:45.82+00:00

I am now unable to sign in or start Visual Studio 2022. Either my computer is taking too long to start or my credentials may have been compromised or rejected. Can anyone help me?

Microsoft Security | Microsoft Authenticator
Developer technologies | Visual Studio | Other
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Tianyu Sun-MSFT 34,451 Reputation points Microsoft External Staff
    2023-04-26T01:59:02.0233333+00:00

    Hello @John,

    Welcome to Microsoft Q&A forum.

    Is there any error message?

    Please try following methods first and let us know if the issue persists.

    1. Disable installed extension or antivirus which may block VS and reboot your machine then run VS as administrator.
    2. Run devenv /SafeMode in Developer Command Prompt for Visual Studio 2022.
    3. Try to repair VS(VS Installer > More > Repair) and reset VS settings(run devenv /ResetSettings in Developer Command Prompt for Visual Studio 2022).
    4. Rename the .IdentityService folder(C:\Users\username\AppData\Local\.IdentityService), and sign in VS again.

    Please let us know if you did something before this issue appeared.

    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.