Setting up a new Windows 11 PC almost always requires signing in with a Microsoft account during the out-of-box experience (OOBE). While a Microsoft account offers genuine benefits — syncing settings, files, and preferences across devices — many users have perfectly valid reasons to prefer a local account: privacy concerns, shared family devices, enterprise environments, or simply a preference for a self-contained setup without a mandatory internet dependency.
Fortunately, a straightforward workaround bypasses the Microsoft account requirement during the initial Windows 11 setup process using a single registry entry and a reboot. This guide walks you through every step clearly, so you understand exactly what is happening and why before you make any changes.
⚠️ Important: This guide is intended for use on devices you own or are authorized to configure. The registry edit described below is a well-documented and widely used method, but any modification to the Windows registry should be performed carefully and only when you understand what it does. This guide explains every command so you can make an informed decision before proceeding.
Step 1: Begin the Windows 11 Setup Process
Power on your new PC or begin a fresh Windows 11 installation. Work through the initial setup screens as normal:
- Select your region and preferred keyboard layout.
- If prompted to connect to a Wi-Fi network, you may skip this step if your device allows it — though Windows 11 Home will often insist on a network connection before displaying the Microsoft account sign-in screen.
Continue until you reach the screen asking you to sign in with a Microsoft account. This is the point at which you will pause and open a Command Prompt using the method described in Step 2. Do not attempt to sign in or dismiss this screen — leave it open and proceed to the next step.
Step 2: Open a Command Prompt During Setup
Windows makes a Command Prompt accessible during the OOBE setup process using a built-in keyboard shortcut. This is an intentional feature provided by Microsoft for setup and recovery purposes — it is not a hack or an exploit.
- Press Shift + F10 on your keyboard. On laptops where function keys require the Fn key to activate, press Shift + Fn + F10 instead.
- A black Command Prompt window will appear on top of the setup screen. If nothing happens after a few seconds, try the alternative key combination. On most desktop keyboards and the majority of laptop keyboards, Shift + F10 alone is sufficient.
Step 3: Apply the Registry Bypass and Restart
In the Command Prompt window, type the following three commands. You can enter them one at a time, pressing Enter after each line, or paste all three at once if your keyboard and setup environment support pasting:
@echo off
reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\OOBE /v BypassNRO /t REG_DWORD /d 1 /f
shutdown /r /t 0
Here is exactly what each line does:
@echo off— Suppresses command echoing in the terminal output, keeping the display clean. This line is optional but included for clarity.reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\OOBE /v BypassNRO /t REG_DWORD /d 1 /f— Adds a registry value namedBypassNRO(where NRO stands for “Network Requirement OOBE”) under the Windows OOBE configuration key. Setting this value to1instructs the Windows 11 setup process to offer a “limited setup” path that does not require a Microsoft account or an active internet connection. The/fflag applies the change without prompting for confirmation.shutdown /r /t 0— Restarts the computer immediately (/t 0means a zero-second delay). The restart is necessary because the registry change must be read by the setup process on its next initialization — it cannot take effect without a reboot.
After pressing Enter on the final command, your PC will restart automatically within a second or two. This is completely expected behavior — do not be alarmed.
Step 4: Create a Local Account
After the reboot, Windows 11 setup will resume from the beginning of the OOBE flow. Work through the region and keyboard layout screens again as before. When you reach the network and account setup screens, you will now see a new option at the bottom of the screen: “I don’t have internet” or “Continue with limited setup” — the exact wording varies slightly between Windows 11 versions and update builds.
Select this option to continue without a Microsoft account. Windows will then present the local account creation screens:
- Enter your preferred username for the local account. This is the name that will appear on the login screen and in File Explorer.
- Set a password for the account. This step is technically optional — you can leave it blank if the device is strictly for personal use and you do not need login protection — but setting a strong password is strongly recommended for any shared or portable device.
- If a password is set, Windows will prompt you to select and answer three security questions. These are used for local account password recovery if you forget your credentials, so choose answers you will reliably remember.
Complete the remaining setup screens — privacy settings, diagnostic data options, and any optional features — and Windows will finish configuring your desktop. You will be signed in to a fully functional Windows 11 local account with no Microsoft account required.
After Setup: What You Gain and What You Give Up
Understanding the practical trade-offs of a local account before completing setup will help you decide whether this approach is right for your situation. Neither option is universally better — it depends entirely on how you use your PC.
What You Gain with a Local Account
- Your account and login credentials exist entirely on the device — no Microsoft servers are involved in authentication.
- Settings, browsing history, and files are not automatically synced to or from the cloud without your explicit action.
- The account functions fully offline with no dependency on internet connectivity.
- No Microsoft account password is required to log in, which can simplify access on devices shared among multiple family members.
What You Give Up with a Local Account
- Automatic settings sync across Windows devices — including wallpaper, accessibility preferences, and saved Wi-Fi passwords — is not available.
- Microsoft Store app purchases and downloads require signing into a Microsoft account within the Store app separately.
- OneDrive automatic backup and sync requires a separate sign-in as well.
- Windows Hello face recognition and certain biometric features may have reduced functionality depending on your specific device hardware.
Importantly, none of the above Microsoft account features are permanently lost. You can connect a Microsoft account at any time after setup by navigating to Settings → Accounts → Your info and signing in — choosing a local account during setup does not lock you out of these features indefinitely.
Conclusion
The requirement to sign in with a Microsoft account during Windows 11 setup is a default behavior, not a hard limitation of the operating system. The BypassNRO registry method documented here is a legitimate, well-established technique that restores the local account creation option that was standard in earlier versions of Windows — without complications or third-party tools required.
Whether your motivation is privacy, simplicity, offline use, or a specific deployment scenario, a local account is a fully supported configuration in Windows 11. It simply takes a few extra steps to reach during the initial setup process — and now you know exactly how to get there.
Richard Applegate
Comments (0)
No comments yet. Be the first!