Share via

Login Window Closes Automatically When Attempting to Sign In to Microsoft Account

Md Zafar Jawed 0 Reputation points
2026-03-11T10:11:24.5366667+00:00

I am experiencing an issue when attempting to sign in to my Microsoft account on my system. When I try to log in through the Microsoft Store and other Microsoft platforms, the sign-in window initially appears and displays my account. However, after I select my account and proceed with the sign-in process, the login window closes automatically before the process can be completed.

As a result, I am unable to successfully sign in to my Microsoft account. This issue occurs consistently across multiple Microsoft applications that require authentication.

I would appreciate any guidance or troubleshooting steps to resolve this problem.

Windows for home | Windows 11 | Accounts, profiles, and login
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. John DeV 158.9K Reputation points Independent Advisor
    2026-03-12T08:15:07.2266667+00:00

    Please try creating a new local administrator account then check if the issue persists.

    https://support.microsoft.com/en-us/windows/manage-user-accounts-in-windows-104dc19f-6430-4b49-6a2b-e4dbd1dcdf32

    0 comments No comments

  2. John DeV 158.9K Reputation points Independent Advisor
    2026-03-11T10:55:32.4933333+00:00

    Hi, good day!

    • When was the last time it worked properly?
    • Have you made any changes to your computer recently?

    Please try this if it helps.

    Press Windows key+R to pen Run then copy and paste the path below

    %localappdata%\Packages

    Press Enter

    After that, find the folder named "Microsoft.Windows.CloudExperienceHost_cw5n1h2txyewy"

    Rename it to Microsoft.Windows.CloudExperienceHost_cw5n1h2txyewy.old

    Restart your computer

    I look forward to receiving your update and I'm willing to collaborate with you till we resolve the issue. Do keep me informed by clicking "Add comment" below.


  3. Q&A Assist
    2026-03-11T10:11:42.1866667+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    Try the following steps in order, as the issue affects Microsoft Store and other sign-in surfaces:

    1. Run the Microsoft Store reset tool
      • Press Windows logo key + R.
      • Type wsreset.exe and select OK.
      • A blank Command Prompt opens, then closes after a few seconds, and Microsoft Store should reopen automatically.
      • Try signing in again.
    2. Make sure Windows and Microsoft Store are updated
      • Check Windows Update and install any available updates: use the Check for updates entry from the article.
      • Open Microsoft Store, go to Downloads and updates, and select Get updates to update Store and apps.
    3. Use the Microsoft account Sign-in Helper
      • If the sign-in window still closes or loops when trying to log in with the Microsoft account, use the Sign-in Helper tool to detect and fix common Microsoft account sign-in issues.
    4. Check for general Microsoft account sign-in problems
      • If the account password has stopped working or the username is not recognized, follow the guidance under Recover lost access to your Microsoft account, including:
        • Reset your password if needed.
        • Use the Sign-in Helper tool if the password is correct but sign-in still fails.
    5. If sign-in problems affect Windows itself

    If the sign-in window still closes immediately after these steps, collect details (where it happens, any error text, and recent changes) and use the Sign-in Helper tools above as the next escalation path.


    References:

    0 comments No comments

Your answer

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