1. Press Win + R and type regedit
2. Navigate to: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System
3. Right-click > New > DWORD (32-bit) Value
4. Name it: NoConnectedUser
5. Set value to: 3
Windows Pro or higher
1. Press Win + R and type gpedit.msc
2. Navigate to: Computer Configuration > Administrative Templates > Windows Components > Windows Signin
3. Find "Block Microsoft Account" policy
4. Set it to "Enabled"