Microsoft has been steadily pushing users toward using online accounts for Windows 11. By default, newer versions require signing in with a Microsoft account during setup — especially on Home and Pro editions. While a Microsoft account does unlock features like OneDrive sync and app integration, not everyone wants to link their PC to the cloud.
Fortunately, it’s still possible to set up and log into Windows 11 with a local account instead. Whether you’re installing Windows for the first time or switching from a Microsoft login, this guide walks you through every method that still works in 2025.
Log Into Windows 11 Without a Microsoft Account
You’ll need a Windows 11 PC or installation media (USB or ISO file). Local accounts work entirely offline, so you can skip Microsoft sign-in screens during setup or later create one directly from Settings once Windows is installed.
Step 1: Understand the Difference Between Accounts
Before you start, it helps to know what you’re switching to.
- Microsoft Account: Connected online; syncs settings, purchases, and OneDrive storage.
- Local Account: Exists only on your device; data is stored locally and doesn’t sync to the cloud.
If you prefer privacy, faster setup, or just want a simple offline user account, a local account is the way to go.
Step 2: Create a Local Account During Windows Setup
If you’re installing Windows 11 from scratch, you can bypass the Microsoft login screen even though Microsoft hides it by default.
Option 1: Disconnect From the Internet
When the setup asks you to connect to Wi-Fi or Ethernet:
- Click I don’t have internet (if available).
- Then click Continue with limited setup.
- Enter your desired username and password for the local account.
You’ll be taken directly to the Windows desktop with no online sign-in required.
Option 2: Block Internet Access Manually
If the “I don’t have internet” button doesn’t appear:
- Press Shift + F10 to open Command Prompt.
- Type:
oobe\bypassnro - Press Enter. Your PC will restart automatically.
- After reboot, you’ll now see the I don’t have internet option in setup.
Choose that, then proceed with offline setup as shown above.
This method works even on newer Windows 11 builds (24H2 and 25H2), which try to enforce Microsoft sign-ins.
Step 3: Convert an Existing Microsoft Account to a Local Account
If you’ve already signed in with a Microsoft account, you can switch to a local account without reinstalling Windows.
- Press Windows + I to open Settings.
- Go to Accounts → Your info.
- Under Account settings, click Sign in with a local account instead.
- Follow the on-screen prompts:
- Enter your current Microsoft account password.
- Create a username, password, and password hint for your local account.
- Click Sign out and finish.
After logging back in, you’ll be using your new local account.
Step 4: Create a New Local User Account (Without Removing Microsoft Login)
If you want to keep your main Microsoft account but create an offline account for guests or secondary users:
- Open Settings → Accounts → Other users.
- Click Add account.
- When prompted to sign in with Microsoft, click I don’t have this person’s sign-in information.
- On the next page, choose Add a user without a Microsoft account.
- Enter a username, password, and password hint.
Now you can log out of your Microsoft profile and log into the local one whenever needed.
Step 5: Use Command Prompt to Add a Local Account
If Windows is already running, you can also create a local account directly via Command Prompt.
- Press Windows + X → select Terminal (Admin) or Command Prompt (Admin).
- Type the following command and press Enter:
net user NewUserName NewPassword /addExample:net user LocalUser mypass123 /add - Then, to grant administrator rights:
net localgroup administrators NewUserName /add
You’ll now have a local user you can sign into at the next reboot.
Step 6: Remove the Microsoft Account (Optional)
If you’ve already created a local account and want to remove your Microsoft login completely:
- Log in to your local account.
- Open Settings → Accounts → Other users (or Family & other users).
- Select the Microsoft account you want to remove and click Remove.
- Confirm the deletion when prompted.
This will delete the linked profile from your PC while keeping your new local account intact.
Step 7: Bypass Microsoft Account in Future Installations
To make future installs easier:
- Keep your PC disconnected from Wi-Fi until Windows setup finishes.
- If setup forces an online account, use the “oobe\bypassnro” command again.
- Alternatively, use tools like Rufus to create installation media that automatically disables Microsoft account requirements.
This ensures you can install Windows 11 with a local account every time — even on newer versions that hide the option.
Step 8: Use Group Policy (Windows 11 Pro and Enterprise Only)
If you’re using Windows 11 Pro or Enterprise, you can prevent Microsoft account login prompts altogether.
- Press Windows + R, type
gpedit.msc, and press Enter. - Go to:
Computer Configuration > Windows Settings > Security Settings > Local Policies > Security Options - Find Accounts: Block Microsoft accounts.
- Double-click it and select Users can’t add or log on with Microsoft accounts.
- Click Apply → OK.
After applying this policy, all new logins must use local accounts only.
Step 9: Understand the Trade-offs
Logging in without a Microsoft account gives you more privacy and fewer online dependencies. However, you’ll lose certain cloud-based conveniences, such as:
- OneDrive file syncing
- Password and settings sync across devices
- Microsoft Store automatic sign-in
- Remote device management features
If you don’t rely heavily on these, a local account provides a simpler and faster login experience.
Wrapping Up
Even though Microsoft is making it harder to skip online accounts in Windows 11, it’s still possible to log in without a Microsoft account using the right methods.
Whether you disconnect from the internet during setup, run the oobe\bypassnro command, or switch from an online account later in Settings, you can regain full control over your user profile and privacy.
A local account gives you a cleaner, faster startup experience — and keeps your data on your PC, where it belongs.