{{ :en:blog:tutorials:windows:how-to-prevent-user-from-signing-into-a-microsoft-account-on-windows-11.png?nolink |}} ====== How to prevent user from signing into a Microsoft Account on Windows 11 ====== 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 ===== - Launch the Registry Editor by opening the run dialog ({{icon>windows}}+R) and typing regedit - Navigate to : Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System - Right-click the System Key in the left pane, expand New from the context menu, and then click **DWORD (32-bit) Value**. - Name the new DWORD "**NoConnectedUser**" - Double-click the newly-created DWORD and set its Value Data (Hexadecimal) to either of the following - **0** = Allow Microsoft Accounts - **1** = Users can’t add Microsoft Accounts - **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 ===== {{tag>"Windows 11" "Microsoft Account"}} ~~socialite:icon twitter facebook linkedin reddit telegram email ~~ ~~LINKBACK~~ ~~DISCUSSION|Commentaires~~