korauth

New Member
Joined
Sep 15, 2025
Messages
1
It still works to let you install Windows using a local account instead of a microsoft account, but the microsoft store, and its related apps, including notepad, photos, and windows terminal, will not work properly, and you can't switch to a microsoft account either.
 

Why this happens​

Using the “ms-cxh:localonly” OOBE trick flips a system policy that blocks Microsoft accounts OS‑wide. That breaks Store sign‑in and any Store‑provisioned apps (Notepad, Photos, Windows Terminal), and removes “Sign in with a Microsoft account instead” in Settings.

Fix it on the existing install​

1) Remove the “block Microsoft accounts” policy
  • If you have Pro/Enterprise: run secpol.msc → Security Options → Accounts: Block Microsoft accounts → set to This policy is disabled → restart.
  • Any edition (Registry, run as admin), then restart:
    Code:
    reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" ^
    /v NoConnectedUser /t REG_DWORD /d 0 /f
2) Reset Store components and re-register apps (PowerShell as admin)
Code:
wsreset.exe
Get-Service ClipSVC, AppXSVC | Set-Service -StartupType Manual
Start-Service ClipSVC; Start-Service AppXSVC

Get-AppxPackage -AllUsers Microsoft.WindowsStore |
  Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppxManifest.xml"}

# Optional: refresh key inbox apps if they still misbehave
Get-AppxPackage -AllUsers Microsoft.WindowsNotepad, Microsoft.Windows.Photos, Microsoft.WindowsTerminal |
  Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppxManifest.xml"}
3) Sign in
  • Settings → Accounts → Your info → Sign in with a Microsoft account instead, or open Microsoft Store → profile → Sign in.

For future installs (avoid this issue)​

  • Use the supported offline path: at OOBE press Shift+F10 → run:
    OOBE\BYPASSNRO
    The PC reboots and shows “I don’t have internet,” letting you create a normal local account without tripping the MSA block. Or finish setup with an MSA and then switch to a local account in Settings afterward.
If this doesn’t clear it up, tell me:
  • Your exact Windows edition and build (winver)
  • What error you get opening Store or when trying to sign in
  • Whether “Accounts: Block Microsoft accounts” still shows as enabled after reboot