Skip to main content

How to install Windows 11 with an offline account

Windows 11 account login bypass.
@witherornot1337 / Twitter/X

Microsoft has been keen for all its users to use online, connected Microsoft Accounts for Windows logins for years and many versions of the operating system, but it's really kicked it into high gear in recent years. Now there aren't any official ways to decline using a connected account when installing Windows 11, but there are a few ways you can get around it.

Here's how you can use an offline account when installing Windows 11, to avoid Microsoft oversight.

Recommended Videos

Difficulty

Easy

Duration

5 minutes

Note: There are some features of Windows 11 and its connected apps that require an online Microsoft account, so you may not be able to use them without logging in with a different account first.

The quick bypass

The quickest and easiest way to avoid signing up or logging in with a connected Microsoft account during Windows 11 installation is with this handy little bypass.

Step 1: Start the Windows 11 installation and when you get to the screen where you have to choose your country or region, press Shift + F10 to open a Command Prompt window.

Step 2: Type the following without quotation marks: "start ms-cxh:localonly" and press Enter.

Step 3: You'll then be presented with a Windows 10-style user creation window with associated fields. Fill in your username and password and select Next to continue.

Step 4: Follow the on-screen instructions to complete the Windows 11 installation. Once you reach the operating system's desktop screen, you should be logged in with your offline account. No online connectivity required -- although you should still update to the latest version of Windows 11 to improve features, stability, and security.

The other bypass (while it lasts)

Another method for skipping the Microsoft Account requirement as part of Windows 11's installation is the BypassNRO command. This was recently removed from the latest Windows 11 preview build for Windows Insiders, so may not be available for much longer in the official releases. However, as of April 2025, it's still viable, so consider using it if for some reason you run into trouble with the other method.

Step 1: Launch the Windows 11 installation process and when you get to the part asking you to input Wi-Fi details to connect a network, press Shift + F10 to open up a Command Prompt window.

Step 2: Type the following without quotation marks: "c:\windows\system32\oobe\BypassNRO.cmd" then press Enter.

Your PC will reboot and the install process will start up again. When you reach the network screen, however, you'll see an option to continue setting up Windows without signing in to a Wi-Fi network or connecting to a wired network over Ethernet. You'll then be prompted to setup a local account and can use that for logging into Windows 11 once it's finished.

Alternatively: If you want to do this manually, you can launch Regedit from the Command Prompt and input the following to achieve the same effect:

"reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\OOBE /v BypassNRO /t REG_DWORD /d 1 /f shutdown /r /t 0"

Jon Martindale
Jon Martindale is a freelance evergreen writer and occasional section coordinator, covering how to guides, best-of lists, and…
Windows 11 users outsmart Microsoft once again with new local account trick
A screenshot of the Windows 11 Microsoft Account setup page

A newly discovered trick allows Windows 11 users to bypass Microsoft’s online account requirement during setup, raising questions around user control and privacy. The workaround, shared by X user @witherornot1337, lets users set up Windows 11 with a local account instead of being forced to log in with a Microsoft account.

This follows previous similar methods, highlighting an ongoing cat-and-mouse game between Microsoft and privacy-conscious users. Microsoft has been increasingly pushing online accounts as a mandatory requirement for Windows 11, particularly in Home and Pro editions. This change has frustrated many users who prefer local accounts for greater privacy and independence from Microsoft’s ecosystem.

Read more
I hope Microsoft adds these 6 things to the next major Windows Update
Windows 11 logo on a laptop.

Windows 11 updates have a bit of a reputation, from slowing Intel's newest desktop processors to breaking games. Despite the occasional hiccup, we still look forward with cautious optimism.

Despite the occasional rough patch, Microsoft continues to evolve the OS, and each update feels like a chance for a new beginning. While Microsoft hasn't confirmed anything yet, the rumor mill is buzzing with what comes next, and I'm starting to feel excited. The talk of new features suggests fixes for long-standing annoyances, productivity boosts, and quality-of-life improvements worth waiting for.
What's coming to Windows in 2025?

Read more
Microsoft could make account-free Windows 11 installs a thing of the past
Windows 11 logo on a laptop.

The offline Windows 11 install looks like it could officially be a thing of the past. 

Microsoft is officially shutting the door on local accounts during Windows 11 setup, confirming that all new installations, Home and Pro alike, will now require a Microsoft account. 

Read more