cant log in on microsoft account windows 11, store or phonelink

Linn 0 Reputation points
2025-08-06T12:00:54.3733333+00:00

cant log in on microsoft account windows 11, store or phonelink. I can open both store and phonelink but when i press log in, it becomes grey and then goes back like nothing happend.

Windows for home | Windows 11 | Security and privacy
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Emmanuel Santana 23,115 Reputation points Independent Advisor
    2025-08-06T23:25:28.9166667+00:00

    Hello. First, let's focus on the Windows Store, then we check Phone Link.

    Search for PowerShell in the Start menu, right-click it, and choose “Run as administrator.”

    Then copy and paste the entire command below exactly as shown:

    Write-Host "`nStep 1: Resetting Microsoft Store cache..." -ForegroundColor Cyan
    try {
        Start-Process -FilePath "wsreset.exe" -Wait
        Write-Host "✅ Store cache reset complete." -ForegroundColor Green
    } catch {
        Write-Host "❌ Failed to reset Store cache: $_" -ForegroundColor Red
    }
    Write-Host "`nStep 2: Re-registering Microsoft Store..." -ForegroundColor Cyan
    try {
        $store = Get-AppxPackage -AllUsers Microsoft.WindowsStore
        if ($store) {
            Add-AppxPackage -DisableDevelopmentMode -Register "$($store.InstallLocation)\AppXManifest.xml"
            Write-Host "✅ Store re-registration completed." -ForegroundColor Green
        } else {
            Write-Host "❌ Microsoft Store package not found." -ForegroundColor Red
        }
    } catch {
        Write-Host "❌ Failed to re-register Microsoft Store: $_" -ForegroundColor Red
    }
    Write-Host "`nStep 3: Launching Store Sign-in screen..." -ForegroundColor Cyan
    try {
        Start-Process "ms-windows-store://signin"
        Write-Host "➡️ Store Sign-in window should now appear." -ForegroundColor Yellow
    } catch {
        Write-Host "❌ Could not launch sign-in link." -ForegroundColor Red
    }
    Write-Host "`nStep 4: Checking if Windows account sign-in settings open..." -ForegroundColor Cyan
    try {
        Start-Process "ms-settings:signinoptions"
        Write-Host "➡️ Windows Sign-in Options window should now open." -ForegroundColor Yellow
    } catch {
        Write-Host "❌ Sign-in Options failed to open. This suggests a deeper account framework issue." -ForegroundColor Red
    }
    Write-Host "`nStep 5: Final check - opening Microsoft account site in Edge..." -ForegroundColor Cyan
    try {
        Start-Process "microsoft-edge:https://account.microsoft.com"
        Write-Host "➡️ A browser window should open. Try signing in there." -ForegroundColor Yellow
    } catch {
        Write-Host "❌ Could not launch Edge browser." -ForegroundColor Red
    }
    
    

    This command runs a full repair for Microsoft Store login.

    → First, it clears the Store’s cache (fixes glitches)

    → Then it reinstalls the Store app (if something’s broken)

    → Then it tries to open the sign-in screen directly

    → After that, it checks if your Windows sign-in settings are working

    → Finally, it opens the Microsoft website to test if your account can sign in there

    You’ll see a message after each step, so you know what worked or failed. Just run it in PowerShell with admin rights as indicated.


  2. Linn 0 Reputation points
    2025-08-12T12:36:28.2333333+00:00

    hello, i still need help please

    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.