Switch From Local to Microsoft Account on Windows 11/10
You can switch from a local to a Microsoft account in Windows 11 and 10 in about three minutes, and switch back just as easily. Here are the steps for both directions, and how to decide which account suits you.
To switch from a local to a Microsoft account in Windows 11:
- Open Settings > Accounts > Your info.
- Under Account settings, click Sign in with a Microsoft account instead.
- Enter your Microsoft email and password, then your current local password when asked.
- Create a PIN.
Your files, apps and desktop stay exactly as they are. Only the way you sign in changes. On Windows 10 the path is the same.
Account Type Finder
First find out which kind of account you use now. Paste this into PowerShell:
Get-LocalUser | Where-Object Enabled | Select-Object Name,PrincipalSourceOn our test PC the command returned MicrosoftAccount.

Local account vs Microsoft account, at a glance
| Local account | Microsoft account | |
|---|---|---|
| Sign in with | A username and password kept on this PC | Your Microsoft email, then a PIN |
| Forgotten password | Security questions only | Reset online from any device |
| Settings sync between PCs | No | Yes, optional |
| OneDrive, Store, Find my device | Sign in to each separately; Find my device unavailable | Works automatically |
| Drive encryption recovery key | You must save it yourself | Saved to your account |
| Data shared with Microsoft | Least | More, though sync can be switched off |
The steps
Switch from a local account to a Microsoft account
- Press Windows + R, paste the line below and press Enter.
ms-settings:yourinfo- Click Sign in with a Microsoft account instead.
- Type your Microsoft email, or choose Create one if you do not have an account.
- Enter the password, complete any verification step, then type your current local password once.
- Set up a PIN. From now on you sign in with the PIN.
Worked if: Your info shows your email address under your name.
Switch back to a local account
- Open Settings > Accounts > Your info.
- Click Sign in with a local account instead.
- Confirm your PIN or password, choose a username and password for the local account, and click Sign out and finish.
Before you do this on an encrypted PC: save your BitLocker or device encryption recovery key from account.microsoft.com. After switching, new keys are no longer stored there for you.
Keep a local account and still use Microsoft apps
You can stay on a local account and sign in to OneDrive, the Microsoft Store or Office individually. When an app offers to “use this account everywhere on your device”, choose Microsoft apps only. That keeps your Windows sign-in local.
Setting up a new PC is a different situation
Windows 11 setup asks for a Microsoft account before you reach the desktop. The simplest route is to sign in during setup and switch to a local account afterwards with the steps above. If you want to avoid the account altogether, see our guide to setting up Windows 11 with a local account.
You do not have to sync everything
A Microsoft account does not force your data into the cloud. Open Settings > Accounts > Windows backup and switch off Remember my apps and Remember my preferences, and turn off OneDrive folder backup there too if you do not want Desktop and Documents uploaded. You keep the sign-in and password-recovery benefits without the syncing.
Which should you choose?
| Choose a Microsoft account if | Choose a local account if |
|---|---|
| You tend to forget passwords | You want the least data leaving the PC |
| You use OneDrive, Microsoft 365 or the Store | The PC is offline or shared in a workshop or lab |
| You have more than one Windows PC | You prefer one fixed password you control |
| You want Find my device and automatic recovery-key backup | You are selling or lending the PC |
If the option is missing
No “Sign in with a Microsoft account instead” link means the PC is managed by a workplace or school, or you are signed in with a work account (the command above shows AzureAD or ActiveDirectory). Ask your IT admin. A greyed-out page can also mean you are not an administrator on this PC.
Which account type do you use?
One tap. It shows other readers what is common.
Frequently asked questions
Will I lose my files when I switch to a Microsoft account?
No. It is the same user profile with the same files, apps and settings. Only the sign-in method changes.
Can I switch back to a local account later?
Yes. Open Settings, Accounts, Your info and choose Sign in with a local account instead. Save your encryption recovery key first.
Do I need a Microsoft account to use Windows 11?
Setup asks for one, but after setup you can switch to a local account and Windows keeps working. Some features, such as Find my device and settings sync, need a Microsoft account.
Does a Microsoft account upload my files?
Only if OneDrive folder backup is on. You can use a Microsoft account with backup and sync switched off.
Axee Davies is the founder of AxeeTech, publishing gaming guides, codes, and Windows how-tos since March 2013. A tech enthusiast for 13+ years — starting with smartphones and Android rooting — he now runs a site that puts out a new guide every day for Roblox players, traders, and Windows users. More about AxeeTech
More Guides You May Like
Download ASUS RT-AC68U Firmware 3.0.0.4.386_51733-g8eebcd2 (2025 Update)
How to Fix a Printer Offline Showing on Windows 11 and Windows 10 (2026)
mmsys.cpl: Open the Classic Sound Control Panel in Windows 11/10 (Every Command)
Windows 11 Update “Something Went Wrong”? 7 Fixes That Work
Zebra Printer Not Printing? 7 Fixes for Blank, Skipped and Stuck Labels
Print Spooler Keeps Stopping in Windows 11/10? 7 Fixes
Wi-Fi Option Not Showing in Windows 11? 7 Fixes to Get It Back
Windows Security Not Opening in Windows 11/10? 7 Fixes