How to set up Windows 11 without a Microsoft account

Windows 11 setup wants you to sign in with a Microsoft account, and Microsoft keeps closing the shortcuts around it. A local account still makes sense for plenty of people: a PC for a parent who doesn't need OneDrive, a refurbished machine you're setting up to pass on, or someone who just doesn't want their computer login tied to an online account. I've set up Windows 11 with a local account myself. Here are the ways that still work, starting with the most dependable.
Tags: Windows 11
Short answer
Use Rufus. When you make the install USB, check Remove requirement for an online Microsoft account and Create a local account with username. Setup then skips the Microsoft account screen. Already set up with a Microsoft account? Switch in Settings, Accounts, Your info.
- Works on
- Windows 11
- Cost
- Free
- Skill
- Tinkerer
- Last checked
Local account or Microsoft account?
Neither is wrong. It depends on who's using the PC.
| Feature | Local account | Microsoft account |
|---|---|---|
| Sign-in | A username and password that only exist on this PC | Your Outlook, Hotmail, or Microsoft email and password |
| OneDrive and settings sync | No, unless you sign in to OneDrive separately | Yes |
| Forgot the password | Security questions, or a password reset disk | Reset online |
| BitLocker recovery key | You have to save it yourself | Saved to your account automatically |
| Drive encryption on Windows 11 Home | Not turned on automatically | Turned on automatically on most newer PCs |
A local account is a good fit for a PC that mostly runs a browser, a shared family computer, a PC you're refurbishing to give away, or anyone who'd rather keep things simple. If you use OneDrive and want your files on every device, the Microsoft account is less hassle.
The reliable way: Rufus
Rufus is a free tool for making bootable USB sticks. It can set up the Windows installer to skip the Microsoft account screen and create your local account for you. Because the change is built into the install media, it doesn't depend on a trick Microsoft might remove next month. It's the same tool I recommend for installing Windows 11 on an unsupported PC, and both options can be checked at once.
This is a clean install, so it erases the PC's drive. Back up your files first.
- Download the Windows 11 ISO from Microsoft's Download Windows 11 page (the "Download Windows 11 Disk Image" section), and Rufus from rufus.ie.
- Plug in a USB stick of 8 GB or more. Everything on it gets erased.
- Open Rufus, pick the USB stick, click Select, choose the ISO, and click Start.
- In the Windows User Experience box, check Remove requirement for an online Microsoft account and Create a local account with username, and type the name you want. Click OK.
- Boot the PC from the USB stick. The boot menu key is usually F12 on Dell and Lenovo, F9 on HP, or Esc.
- Install as normal. Setup skips the Microsoft account screen and signs you in to the local account.
- Set a password right away. The account Rufus creates has no password. Go to Settings, Accounts, Sign-in options, Password, and add one.
Without Rufus: OOBE\BYPASSNRO
If you're setting up a new or refurbished PC that's already at the Windows setup screens, you can try this first. Whether it works depends on which Windows 11 version is installed.
- Don't connect to the internet. Unplug the network cable, and don't pick a Wi-Fi network.
- At the "Let's connect you to a network" screen, press Shift+F10 to open a Command Prompt. On some laptops it's Shift+Fn+F10.
- Type the command exactly as shown, with the backslash and capital letters, and press Enter:
OOBE\BYPASSNRO
- The PC restarts and comes back to setup. At the network screen, click I don't have internet, then Continue with limited setup, and create your local account.
If the PC restarts but there's no "I don't have internet" option, this trick has been removed from your version. Use the Rufus method instead.
Other tricks, and what no longer works
start ms-cxh:localonly: typed into the same Shift+F10 Command Prompt, this opened a box to create a local account on some 2025 Windows 11 install media. In October 2025, Microsoft said it was removing these shortcuts, and Insider test builds no longer have it. Worth a try, but don't count on it.- Windows 11 Pro only: choose Set up for work or school, then Sign-in options, then Domain join instead. That creates a local account. Windows 11 Home doesn't have this option.
- The fake email trick (signing in with a made-up address so setup gives up and offers a local account) has been blocked.
Because these keep changing, Rufus is the method I'd plan on. The setup screens are a moving target, and the install media is the part you control.
Switch an existing PC to a local account
If Windows is already set up with a Microsoft account, you don't need to reinstall.
- Switch your own account: open Settings, Accounts, Your info, and choose Sign in with a local account instead. Windows asks for your current PIN or password, then a new local username and password. Your files and programs stay put.
- Add a second, local account: Settings, Accounts, Other users, Add account. Choose I don't have this person's sign-in information, then Add a user without a Microsoft account.
Before you switch, check whether the drive is encrypted. Open Settings, Privacy & security, Device encryption (or search for Manage BitLocker). If encryption is on, sign in at aka.ms/myrecoverykey and write down the recovery key first. It's saved to your Microsoft account now, and once you switch you'll want your own copy.
After setup
- Give the account a password, and set up a PIN under Sign-in options if you prefer something shorter.
- Write down the BitLocker recovery key if you turn on encryption later. Without a Microsoft account, nobody else has a copy.
- Sign in to apps one at a time where you want them. The Microsoft Store, Outlook, and OneDrive each let you sign in without changing your Windows login.
- Keep Windows Update on. A local account gets exactly the same security updates. With Secure Boot certificates changing in 2026, staying current matters on older PCs.
Still on Windows 10? You can keep a local account there, but enrolling in Extended Security Updates requires signing in with a Microsoft account.
Local account questions
Can you still install Windows 11 without a Microsoft account?
Yes. The most dependable way in 2026 is to make the install USB with Rufus and check its options to remove the online account requirement and create a local account. Command-line tricks during setup still work on some Windows versions, but Microsoft has been removing them.
Does OOBE\BYPASSNRO still work?
Sometimes. It depends on the Windows 11 version on your install media. Press Shift+F10 at the network screen, type OOBE\BYPASSNRO exactly as shown, and press Enter. If the PC restarts and offers "I don't have internet," it worked. If not, use Rufus instead.
Can I switch to a local account after setting up Windows 11?
Yes. Go to Settings, Accounts, Your info, and choose "Sign in with a local account instead." You can also add a separate local account under Settings, Accounts, Other users.
What do I lose with a local account?
OneDrive syncing, settings that follow you between PCs, automatic backup of your BitLocker recovery key, and automatic drive encryption on Windows 11 Home. You can still sign in to the Microsoft Store, Outlook, or OneDrive individually.
Does Windows 10 ESU need a Microsoft account?
Yes. To enroll a Windows 10 PC in the free Extended Security Updates, you have to sign in with a Microsoft account. That's a Windows 10 requirement and doesn't affect Windows 11.