Table of Contents

How to prevent user from signing into a Microsoft Account on Windows 11

Author(s): Louis Ouellet


With the integration of Microsoft accounts into Windows 11, users have the ability to sync settings, files, and preferences across devices. However, there may be situations where an administrator needs to restrict this capability for security or policy compliance. Whether you're managing a corporate environment or you simply prefer to use local accounts, Windows 11 provides a way to disable the ability to sign in with a Microsoft account. This article guides you through the steps to configure your system and ensure that users adhere to account policies.

Tutorial

  1. Launch the Registry Editor by opening the run dialog ( + R) and typing:
    regedit
  2. Navigate to : Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System
  3. Right-click the System Key in the left pane, expand New from the context menu, and then click DWORD (32-bit) Value.
  4. Name the new DWORD NoConnectedUser
  5. Double-click the newly-created DWORD and set its Value Data (Hexadecimal) to either of the following
    1. 0 = Allow Microsoft Accounts
    2. 1 = Users can’t add Microsoft Accounts
    3. 3 = Users can’t add or log on with Microsoft accounts

Conclusion

By following the steps outlined in this guide, you have successfully updated the registry settings to restrict the use of Microsoft accounts on Windows 11. This measure not only helps in maintaining control over user access but also ensures that your system conforms to the desired account management policies. Remember to back up your registry before making changes, as incorrect modifications can lead to system instability. With this configuration in place, you can now manage user accounts with greater confidence and precision.

Tags

Discussion

Enter your comment. Wiki syntax is allowed:
E C᠎ D K​ L