How to Log Into Windows 11 Without a Microsoft Account

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:

  1. Click I don’t have internet (if available).
  2. Then click Continue with limited setup.
  3. 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:

  1. Press Shift + F10 to open Command Prompt.
  2. Type: oobe\bypassnro
  3. Press Enter. Your PC will restart automatically.
  4. 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.

  1. Press Windows + I to open Settings.
  2. Go to Accounts → Your info.
  3. Under Account settings, click Sign in with a local account instead.
  4. Follow the on-screen prompts:
    • Enter your current Microsoft account password.
    • Create a username, password, and password hint for your local account.
  5. 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:

  1. Open Settings → Accounts → Other users.
  2. Click Add account.
  3. When prompted to sign in with Microsoft, click I don’t have this person’s sign-in information.
  4. On the next page, choose Add a user without a Microsoft account.
  5. 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.

  1. Press Windows + X → select Terminal (Admin) or Command Prompt (Admin).
  2. Type the following command and press Enter: net user NewUserName NewPassword /add Example: net user LocalUser mypass123 /add
  3. 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:

  1. Log in to your local account.
  2. Open Settings → Accounts → Other users (or Family & other users).
  3. Select the Microsoft account you want to remove and click Remove.
  4. 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.

  1. Press Windows + R, type gpedit.msc, and press Enter.
  2. Go to: Computer Configuration > Windows Settings > Security Settings > Local Policies > Security Options
  3. Find Accounts: Block Microsoft accounts.
  4. Double-click it and select Users can’t add or log on with Microsoft accounts.
  5. 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.

Posted by Arpita

With a background in Computer Science, she is passionate about sharing practical programming tips and tech know-how. From writing clean code to solving everyday tech problems, she breaks down complex topics into approachable guides that help others learn and grow.

X