Block Microsoft Account creation in Windows 10

Having a connected Microsoft account can come in handy sometimes, but far from all the time, so getting rid of the questions and have the option not to click no or cancel whenever the question comes up, which is far too often most of the times.

Then it’s good to have the option to actually disable it in the registry and get a break from it all.

This script sets the NoConnectedUser registry entry to 3 which disables the online account creation option.

This should work on most versions of Windows 10, have only tested it on Windows 10 Pro and have not got the question for a while now.

Options for the registry value is.

0 = Allow Microsoft Accounts
1 = Users can’t add Microsoft Accounts
3 = Users can’t add or log on with Microsoft accounts

# Script to disable the Microsoft Account questions and creations.
# Be sure to have a local account before using this script.
#
# Se status of registry key:
# Get-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" -Name "NoConnectedUser"

# Setting registry key
New-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" -Name "NoConnectedUser" -PropertyType DWORD -Value "3"

Leave a Reply

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

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.