Make Redmond Angry By Setting Up Windows 11 With A Local Account

hands on Redmond really – and I mean really – wants you to log into Windows 11 with a Microsoft account.

If you’re setting up your own computer, rather than using a centrally managed one, Windows 11 assumes you have and want to associate the PC with a Microsoft account during installation. That’s a problem if you place a higher premium on your privacy than the convenience of having your settings and files synchronized across multiple computers you might log into. It’s an even bigger problem if you’re setting up a PC for someone else, such as a relative, or to donate to charity. You don’t want another person having to log in as you and then getting access to your data.

A Windows local account, which is stored only on the PC itself, has several advantages. It doesn’t send your preferences into the cloud, doesn’t deploy OneDrive to gobble up your files, and doesn’t work on other computers.

By default, Microsoft tries to prevent you from setting up Windows 11 using a local account, but below I’ll show you two workarounds that allow you to do it. If you already have Windows set up with a Microsoft account, I’ll show you how to add a local account, which you can use instead.

Method 1: Entering the ms-cxh:localonly command

You’ll begin by starting the Windows 11 install process, which in most cases, involves booting off of a USB flash drive that you’ve written the installer to.

If you’re just getting started and don’t have an installation disk already, grab a USB flash drive or other external drive that has a capacity of 8GB or more. Then download the Media Creation Tool from Microsoft and use it to write the operating system installer to your drive.

Windows Media Creation Tool

Windows Media Creation Tool – Click to enlarge

After you have your installation media, boot off of it. If your PC has no OS on it, you’ll probably be prompted to boot off of the external disk. If it already has something on it, make sure you select the appropriate boot device before your C: drive starts to load. You can do this in the BIOS or by hitting a special key (F12 on some computers) as soon as the computer starts.

Step through the normal Windows 11 installation process, entering your language, product key, and other information that the software asks for.

Windows installation process

Windows installation process – Click to enlarge

Wait patiently during the big file copy and reboot process.

Windows 11 install process

Windows 11 install process – Click to enlarge

At the screen where you choose a country, hit Shift + F10 to launch a command prompt window.

Windows 11 install - country chooser

Windows 11 install – country chooser – Click to enlarge

In the command prompt window, type start ms-cxh:localonly and hit Enter. In the current build of Windows 11 installer that we tested, this rebooted the PC and led us back to the same screen (which is necessary). In Insider builds of Windows, however, you may get a dialog box asking for the username and password here.

Enter start ms-chx:local

Enter start ms-chx:local – Click to enlarge

After the reboot, step through the rest of the process until you get to the Sign in screen.

Windows 11 install sign-in screen

Windows 11 install sign-in screen – Click to enlarge

There, hit Shift + F10 again to get the command prompt. At the prompt, enter ipconfig /release, which will turn off your internet connection.

enter ipconfig /release

Enter ipconfig /release – Click to enlarge

After you hit Sign in, you will be asked to enter a local username. You can pick anything you want.

Enter username

Enter username – Click to enlarge

Then, after you hit Next, you will be asked to enter a password. If you don’t want to have a password, you can leave this field blank (but having no password is a bad practice). If you fill it in, you’ll be asked to confirm it and to enter answers for three security questions.

Enter password

Enter password – Click to enlarge

The software will then step you through the rest of the installation process. After that’s complete, you’ll have a working copy of Windows 11 with only a local account.

Method 2: Using Rufus to prepare a local account install disk

While the first method I showed you is more than adequate for installing Windows 11 with a local account, you can also prepare your USB Flash installation drive for this purpose in advance and do just a little less typing at the command prompt.

Start by inserting your USB flash drive or external SSD. Then download, install, and open Rufus, an installation disk burner created by developer Pete Batard. You can get it at rufus.ie/en/.

Select your drive. Check “List USB hard drives” if your drive does not appear in the drop down list.

Click List USB Hard Drives if your drive doesn't appear on Rufus' list

Click List USB Hard Drives if your drive doesn’t appear on Rufus’ list – Click to enlarge

Then choose your ISO file by hitting the Select button.

Choose your ISO file

Choose your ISO file – Click to enlarge

Then click the Start button.

Click the Start button in Rufus

Click the Start button in Rufus – Click to enlarge

Check Remove requirement for an online Microsoft account and click Ok.

Click remove requirement for an online Microsoft account

Click remove requirement for an online Microsoft account – Click to enlarge

Click OK when you are warned that you will be destroying all data on your storage device. Don’t be alarmed.

Rufus warns it will destroy all data on your device

https://flo.health/about-flo – Click to enlarge

Now Rufus will take a couple of minutes to write to your external drive.

Boot off of your USB flash drive and go through the installation process until you get to the Sign in screen.

Sign-in screen

Sign-in screen – Click to enlarge

Hit Shift + F10 here to open the command prompt. And, at the command prompt, enter ipconfig /release to kill your Internet connection.

ipconfig /release

ipconfig /release – Click to enlarge

Click Sign in, and you’ll be asked to enter a username for your local account.

Enter username

Enter username – Click to enlarge

Then enter a password. You can have a blank password but that’s not recommended.

Enter a password

Enter a password – Click to enlarge

If you created a password, you’ll be asked to enter the answers for some security questions.

Add security questions

Add security questions – Click to enlarge

Complete the install process and you’ll have Windows 11 with a local account ready to go.

How to install a local account on an existing PC

If you’ve already set up your computer with a Microsoft account, you can still add a local account and use that from now on. It won’t erase your Microsoft login, but as long as you use the local account, you won’t be syncing your preferences and data with Microsoft going forward.

To add a local account to Windows 11, first navigate to Settings->Accounts.

Click Accounts

Click Accounts – Click to enlarge

Then scroll down and click “Other Users.”

Click Other Users

Click Other Users – Click to enlarge

Click the Add account button.

Click Add account

Click Add account – Click to enlarge

In the dialog box that pops up, click “I don’t have this person’s sign-in information.”

Click I don't have this person's sign-in information

Click I don’t have this person’s sign-in information – Click to enlarge

Then click “Add a user without a Microsoft account.”

Click add a user without a Microsoft account

Click Add a user without a Microsoft account – Click to enlarge

Enter a username, password, and answers to three security questions. Then click Next.

Enter username, password, and answers to security questions

Enter username, password, and answers to security questions – Click to enlarge

You’ll now see your new username on the list of users in Settings.

Username listed

Username listed – Click to enlarge

You can then sign out of your account and sign in as the new, local user.®


Original Source


A considerable amount of time and effort goes into maintaining this website, creating backend automation and creating new features and content for you to make actionable intelligence decisions. Everyone that supports the site helps enable new functionality.

If you like the site, please support us on “Patreon” or “Buy Me A Coffee” using the buttons below

To keep up to date follow us on the below channels.