Share via

Can't sign into Microsoft account

Anonymous-7904 5 Reputation points
2026-04-07T19:34:57.69+00:00

Every time I try to sign into my Microsoft account it just opens a dialog box and closes it 30 sec later and goes back to the old screen! How should I sign in?

Windows for home | Windows 11 | Accounts, profiles, and login
0 comments No comments

1 answer

Sort by: Most helpful
  1. Norah-L 4,780 Reputation points Microsoft External Staff Moderator
    2026-04-08T00:20:32.21+00:00

    Good day Anonymous-7904!

    Thank you for reaching out. I'm happy to help.

    From what you described, when attempting to sign in to your Microsoft account, the sign‑in prompt opens but closes by itself after about 30 seconds, returning you to the previous screen. This behavior might be related to UAC settings, corrupted saved credentials, or a Windows app registration issue. You can try the following steps:

    1. Enable User Account Control (UAC)

    If UAC is disabled, sign-in dialogs can close automatically.

    Search UAC in Start, set it to the default Notify me only when apps try to make changes

    Restart the PC, then try signing in again.

    1. Clear Saved Credentials

    Open Credential Manager, remove any Microsoft or Windows credentials linked to your account, then retry via Settings > Accounts > Your info.

    1. Re‑register CloudExperienceHost

    Open PowerShell as admin and run:

    Get-AppxPackage Microsoft.Windows.CloudExperienceHost | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}
    

    Restart and test again.

    Additional checks:

    • Boot once into Safe Mode and try signing in, then restart normally.
    • Ensure Windows is fully updated.
    • If needed, create a new local user account to test sign‑in behavior.

    Please let me know how it goes!


    If the answer is helpful, 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' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.