Microsoft Removes OOBE\BYPASSNROcmd in Windows : New Workaround for Local Accounts

Listen to this Post

Microsoft has removed the `OOBE\BYPASSNRO.cmd` command from the Windows 11 installer, pushing users toward mandatory Microsoft account logins. However, a new workaround has been discovered to bypass this restriction and create a local account.

Steps to Bypass Microsoft Account Requirement in Windows 11

1. Start Windows 11 Setup

  • Boot from the Windows 11 installation media.
  • Select your region and keyboard layout.

2. Stop at the Secondary Keyboard Layout Screen

  • Do not click Skip when prompted for a secondary keyboard layout.

3. Open the Developer Console

  • Press `Ctrl + Shift + J` to open the Developer Console.
  • A dark screen with a `>` prompt will appear.

4. Enter the Restart Command

  • Type the following (case-sensitive):
    [javascript]
    WinJS.Application.restart(“ms-cxh://LOCALONLY”)
    [/javascript]
  • Use Tab-completion for accuracy:
  • Type `WinJS.A` + Tab → `Application.`
  • Type `res` + Tab → restart.

5. Exit the Developer Console

  • Press Enter to execute.
  • Press Escape (or click the screen if Escape fails).

6. Set Up a Local Account

  • The screen refreshes, showing a Windows 10-style local account setup.
  • Enter a username, password, and security questions.

7. Complete Setup

  • Windows 11 will log in to the new local account.
  • Adjust privacy settings as needed.

You Should Know:

  • Alternative PowerShell Method (Post-Installation):
    net user LocalAdmin P@ssw0rd /add 
    net localgroup Administrators LocalAdmin /add 
    
  • Registry Hack to Disable Forced Online Login:
    reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\OOBE" /v BypassNRO /t REG_DWORD /d 1 /f 
    
  • Linux Equivalent (For Dual Boot Systems):
    sudo mount /dev/sda1 /mnt 
    sudo chroot /mnt 
    regedit /e bypass.reg "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\OOBE" 
    

Relevant Links:

What Undercode Say:

Microsoft’s aggressive push for online accounts undermines user autonomy. While workarounds exist, they may be patched in future updates. Linux users avoid such restrictions entirely—consider exploring Kali Linux for security testing or Ubuntu for privacy-focused workflows.

Expected Output:

A functional Windows 11 installation with a local account, bypassing Microsoft’s online requirement.

References:

Reported By: Charlescrampton Microsoft – Hackers Feeds
Extra Hub: Undercode MoN
Basic Verification: Pass ✅

Join Our Cyber World:

💬 Whatsapp | 💬 TelegramFeatured Image