Fix Your Microsoft account wasn’t changed to a local account

Learn how to fix Your Microsoft account wasn't changed to a local account (0x80070002) error on Windows 11/10, in this article.

Kapil Arya
11x Microsoft MVP · Admin
2 min read
Add as a preferred
source on Google

In Windows, you can have Microsoft account and/or local account on your system. We’ve already seen how to setup a local account in Windows. We’ve also shared you the guide to switch to Microsoft account from local account and revert back.

Following the above mentioned guide, we came to a strange issue which we’ll be discussing in this article. Actually, we were facing some trouble with Microsoft account on one of our systems. So we decided to convert the Microsoft account to local account, but surprisingly we can’t do that because of this error:

Your Microsoft Account Wasn't Changed To A Local Account In Windows 10
We’re sorry, but something went wrong. Your Microsoft account wasn’t changed to a local account. Code: 0x80070002

Coincidently, if you’re also facing this issue on your system, try below mentioned suggestions and see if they helps.

FIX: Your Microsoft account wasn’t changed to a local account in Windows 11/10

Fix 1: General Suggestions

1. Open Services snap-in by running services.msc command. Make sure Microsoft Account Sign-in Assistant and User Profile Service are Running.

2. Run Microsoft account troubleshooter.

3. Perform clean boot and see if you can convert to local account then.

4. If this is secondary standard user account, change the account type to administrator and see if it helps. You could also try reverse, that is, if account type is administrator, change it to standard user and check.

Fix 2: Via Security Policy Snap-in

1. Press Windows Key + R and put secpol.msc in Run dialog box. Click OK to open Security Policy snap-in.

Local Security Policy Editor

2. Then in Security Policy snap-in window, navigate here:

Security Settings > Local Policies > Security Options

Your Microsoft Account Wasn't Changed To A Local Account In Windows 10

3. Make sure the Accounts: Block Microsoft accounts policy setting is set to This policy is disabled state. Close Security Policy snap-in and try switching to local account.

NOTE: Above steps will not work on Home edition because Security Policy snap-in is missing on that edition. You can try the equivalent registry mentioned in this fix.

Let us know via your comments, if issue still persists!

Share this article
https://www.kapilarya.com/fix-your-microsoft-account-wasnt-changed-to-a-local-account

Shareable URL

Article by

Kapil Arya
11x Microsoft MVP · Admin

Kapil holds Microsoft MVP title in Windows IT Pro expertise, 11-times in a row (2014-2025). He is 8-times Windows Insider MVP as well, and author of 'Windows Group Policy Troubleshooting' book. In 2015, Microsoft India accomplished him as 'Windows 10 Champion'. Being passionate Windows blogger, he loves to help others on fixing their system issues. Kapil has worked with official Microsoft Community Engagement Team (CET) on several community projects. You can subscribe him for news/updates and fixes for Windows.

Leave a Comment

Your email address will not be published. Required fields are marked *