Skip to content

How to Enable or Disable Microsoft Accounts on Windows 11

Richard
Written by
Richard
Feb 2, 2026 Updated Apr 2, 2026 2 min read
How to Enable or Disable Microsoft Accounts on Windows 11

You can enable or disable Microsoft accounts on Windows 11 by making changes in the Registry Editor or Local Group Policy Editor.

This allows you to prevent users from signing into your Windows 11 PC with a Microsoft account, forcing them to use a local account instead.

This capability is particularly useful for administrators or users who prefer the privacy and control offered by local accounts, especially on versions like Windows 11 Pro or Enterprise.

You’ll learn exactly which registry keys or policy settings to modify to achieve this.

⚡ Quick Answer

Control Microsoft account access on Windows 11 via the Local Security Policy Editor or Registry Editor. Open secpol.msc or regedit, navigate to the relevant policy or registry key, and modify the “Accounts: Block Microsoft accounts” setting or the NoConnectedUser value.

What is a Microsoft Account?

A Microsoft account is your digital key to Windows and other Microsoft services like OneDrive and Xbox.

Why would you want to block Microsoft accounts? On shared computers or work computers, you might want to stop people from adding new Microsoft accounts. Windows 11 gives you tools to do this.

You have two main ways to control Microsoft accounts:

  • Local Security Policy Editor (easier method for managing your PC)
  • Windows Registry Editor (advanced method for power users)

How to Enable or Disable Microsoft Accounts Using Local Security Policy

You can easily turn Microsoft accounts on or off for your PC using the Local Security Policy editor.

Steps:

  1. Press Windows + R on your keyboard. The Run box opens.
  2. Type secpol.msc and press Enter. The Local Security Policy editor opens.
  3. In the left panel, click Local Policies > Security Options.
  4. Find and double-click “Accounts: Block Microsoft accounts”.
  5. Choose one of these options:
    • Disabled: Microsoft accounts work normally.
    • Users can’t add Microsoft accounts: People cannot add new Microsoft accounts.
    • Users can’t add or log on with Microsoft accounts: No one can use Microsoft accounts on this PC.
  6. Click OK to save your choice.
Local Security Policy Editor showing block Microsoft account option

How to Allow or Block Microsoft Accounts Using the Registry Editor

For more control, you can manage Microsoft account access by changing settings in the Registry Editor.

Steps:

  1. Press Windows + R, type regedit, and press Enter. The Registry Editor opens.
  2. [ADMIN REQUIRED] Navigate to this location: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System
  3. Look for a value named NoConnectedUser in the right pane.
  4. If it is not there, right-click on a blank area. Choose New > DWORD (32-bit) Value. Name it NoConnectedUser.
  5. Double-click NoConnectedUser and set the value data to:
    • 1 – Block adding new Microsoft accounts.
    • 3 – Block adding and signing in with Microsoft accounts.
  6. To allow Microsoft accounts again, delete the NoConnectedUser entry.
  7. Click OK and close the Registry Editor.
Windows Registry Editor showing NoConnectedUser setting
Windows Registry Editor showing NoConnectedUser setting

Important: Editing the Registry can cause problems if done wrong. Please back up your PC before making any changes. Follow this guide if you want to learn how to safely back up your registry: How to Open the Registry in Windows 11.

Summary

Microsoft accounts connect you to Windows 11 services, and you can choose to allow or block them using simple tools.

Can you bypass a Microsoft account on 🪟 Windows 11?

Yes, you can set up Windows 11 using a local account instead of a Microsoft account during installation.

Was this guide helpful?

Tags: #Windows 11
Was this helpful?
Richard

About the Author

Richard

Tech Writer, IT Professional

Richard, a writer for Geek Rewind, is a tech enthusiast who loves breaking down complex IT topics into simple, easy-to-understand ideas. With years of hands-on experience in system administration and enterprise IT operations, he’s developed a knack for offering practical tips and solutions. Richard aims to make technology more accessible and actionable. He's deeply committed to the Geek Rewind community, always ready to answer questions and engage in discussions.

No comments yet — be the first to share your thoughts!

Leave a Comment

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

Exit mobile version