Accounts Enable or Disable Microsoft Accounts in Windows 11

  • Thread starter Thread starter Brink
  • Start date Published: Start date Updated Updated:

Microsoft_Account_banner.png

This tutorial will show you how to enable or disable the ability to add and/or sign in to the PC with Microsoft accounts in Windows 10 and Windows 11.

You can set the Accounts: Block Microsoft accounts security policy to:
  • Users can’t add Microsoft accounts = Users will not be able to add new Microsoft accounts on the computer, switch a local account to a Microsoft account, or connect a domain account to a Microsoft account. Users will still be able to sign in to Windows with existing Microsoft accounts.
  • Users can’t add or log on with Microsoft accounts = In addition to the above, users will not be able to sign in to Windows with existing Microsoft accounts. Users will only be able to sign in to Windows with a local account.
References:

You must be signed in as an administrator to enable or disable Microsoft accounts.

Users will still be able to add Microsoft accounts in Accounts used by other apps to sign in to apps and the Microsoft Store with a Microsoft account.




Contents

  • Option One: Enable or Disable Microsoft Accounts in Local Security Policy
  • Option Two: Enable or Disable Microsoft Accounts using REG file




Option One

Enable or Disable Microsoft Accounts in Local Security Policy


Local Security Policy is only available in the Windows 10/11 Pro, Enterprise, and Education editions.

All editions can use Option Two to change the same policy.


1 Open Local Security Policy (secpol.msc).

2 Perform the following actions: (see screenshot below)
  1. Expand open the Local Policies folder in the left pane.
  2. Click/tap on the Security Options subfolder in the left pane.
  3. Double click/tap on the Accounts: Block Microsoft accounts policy in the right pane.
Block_Microsoft_accounts_secpol-1.png

3 In the Local Security Setting tab, select This policy is disabled (default), Users can’t add Microsoft accounts, or Users can't add or log on with Microsoft accounts for what you want, and click/tap on OK. (see screenshot below)

Block_Microsoft_accounts_secpol-2.png

4 You can now close Local Security Policy if you like.




Option Two

Enable or Disable Microsoft Accounts using REG file


1 Do step 2 (enable), step 3 (disable add), step 4 (disable add and sign-in) below for what you want.

2 Enable Microsoft Accounts

This is the default setting.


A) Click/tap on the Download button below to download the file below, and go to step 5 below.​

Enable_Microsoft_accounts.reg


(Contents of REG file for reference)
Code:
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System]
"NoConnectedUser"=-

3 Disable Add New Microsoft Accounts

A) Click/tap on the Download button below to download the file below, and go to step 5 below.​

Disable_add_new_Microsoft_accounts.reg


(Contents of REG file for reference)
Code:
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System]
"NoConnectedUser"=dword:00000001

4 Disable Add and Sign-in with Microsoft Accounts

A) Click/tap on the Download button below to download the file below, and go to step 5 below.​

Disable_add_and_sign-in_with_Microsoft_accounts.reg


(Contents of REG file for reference)
Code:
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System]
"NoConnectedUser"=dword:00000003

5 Save the .reg file to your desktop.

6 Double click/tap on the downloaded .reg file to merge it.

7 When prompted, click/tap on Run, Yes (UAC), Yes, and OK to approve the merge.

8 You can now delete the downloaded .reg file if you like.


That's it,
Shawn Brink


 

Attachments

Last edited:
@Brink, these are the "Value Banners" which originate from Client.CBS.

View attachment 134223

They can't be hidden without hacking Client.CBS's AppxManifest.xml. In older W10 releases, you could disable them with Vivetool – but not any longer in W11.

Thank you for confirming. I didn't think they could either. :shawn:
 

My Computers

System One System Two

  • OS
    Windows 11 Pro for Workstations
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom self build
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING (11GB GDDR5X)
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G75 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2,
    4TB Samsung 990 PRO M.2,
    8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3 wall mounted
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gbps Download and 35 Mbps Upload
    Browser
    Chrome and Edge
    Antivirus
    Microsoft Defender
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    CyberPower CP1500PFCLCD
    Galaxy S23 Plus phone
  • Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Surface Laptop 7 Copilot+ PC
    CPU
    Snapdragon X Elite (12 core) 3.42 GHz
    Memory
    16 GB LPDDR5x-7467 MHz
    Monitor(s) Displays
    15" HDR
    Screen Resolution
    2496 x 1664
    Hard Drives
    1 TB SSD
    Internet Speed
    Wi-Fi 7 and Bluetooth 5.4
    Browser
    Chrome and Edge
    Antivirus
    Microsoft Defender
@Brink, these are the "Value Banners" which originate from Client.CBS.

View attachment 134223

They can't be hidden without hacking Client.CBS's AppxManifest.xml. In older W10 releases, you could disable them with Vivetool – but not any longer in W11.

Ohhh, that would explain it then...
So would it be the same reason for the one that still shows in Settings > Accounts?

ms acct push in settings-accounts.webp
 

My Computers

System One System Two

  • OS
    Windows 11 Pro 23H2, Build: 22631.5335 (Retail)
    Computer type
    PC/Desktop
    CPU
    Intel Core i5-12600K
    Motherboard
    ASRock B760M PG Riptide
    Memory
    Crucial Classic DDR5-4800 16GB
    Monitor(s) Displays
    1 good old Benq model
    Hard Drives
    Kingston KC3000 SSD 512GB PCIe 4.0 M.2 2280 NVMe
    PSU
    Seasonic G12 GM 750Watt
    Case
    metal, 15+ years old, ATX/mATX
    Cooling
    Thermalright Peerless Assassin 120
    Keyboard
    Lenovo, wired
    Mouse
    Logitech, wired
    Browser
    Chrome
    Other Info
    First time DIY build.
  • Operating System
    Windows 11 Home 23H2, Build: 22631.4751 (OEM)
    Computer type
    PC/Desktop
    Manufacturer/Model
    Acer Aspire XC-1760
    CPU
    Intel Core i5-12400
    Motherboard
    Acer Andrew H610 (PCIe Gen 4)
    Memory
    8 GB DDR4
    Graphics card(s)
    Intel(R) UHD Graphics 730
    Sound Card
    Integrated, HD Audio
    Monitor(s) Displays
    old Samsung
    Screen Resolution
    1920x1080, 60 Hz
    Hard Drives
    M.2 PCIe NVMe SSD (WD or Kingston, not sure), 512GB, partitioned into C & D drives.
    PSU
    Brand unknown. 180W. (80 Plus Gold certification)
    Case
    Slim, DTX
    Cooling
    Brand unknown. Air cooling.
    Keyboard
    Lenovo (wired)
    Mouse
    Logitech (wired)
    Browser
    Chrome
    Other Info
    Extra CPU details:
    Intel UHD Graphics, 6 cores, 12 threads, 2.5 GHz, LGA1700, Intel H610 Chipset.
If you haven't noticed the theme, MS liberally sprinkles "upsells" all over Settings and other places in Windows to "helpfully" remind you to use MS Accounts and OneDrive/Office365 products. Other than the "Windows tax" paid by your PC's manufacturer to include a copy of Windows, the real cash cow is recurring income from online services.

The idea is if MS keeps reminding you to use a MS Account for everything, you'll eventually get convinced to use OneDrive. And after you run out of free storage space, you'll happily convert to a paid user. And a paid OneDrive user will happily roll over into a paid Office365 user.

No, there won't be a simple setting to turn all those wonderful encouragements off. Unless you're running Enterprise or Education editions, where those people actually don't want their users to be playing with MS Accounts. No upsells for them.
 

My Computer

System One

  • OS
    Windows 7
@garlin Oh I definitely noticed the theme alright. lol. And, for us, none of that stuff is needed or wanted. I had thought when I read Brink's tutorials that doing them might get rid of it all. When there were these 2 'residual' pieces left afterward, I just wondered if another kind of tweak/adjustment to the system might finish the job. But ok, it looks like we just have to live with them, I guess. No biggie. It's not often in our daily use that we'll be going into those 2 Settings pages where they appear anyway. I'm thankful that they're not pushing it in our face through every screen on the PC. Hopefully it won't come to that in future. lol.
 

My Computers

System One System Two

  • OS
    Windows 11 Pro 23H2, Build: 22631.5335 (Retail)
    Computer type
    PC/Desktop
    CPU
    Intel Core i5-12600K
    Motherboard
    ASRock B760M PG Riptide
    Memory
    Crucial Classic DDR5-4800 16GB
    Monitor(s) Displays
    1 good old Benq model
    Hard Drives
    Kingston KC3000 SSD 512GB PCIe 4.0 M.2 2280 NVMe
    PSU
    Seasonic G12 GM 750Watt
    Case
    metal, 15+ years old, ATX/mATX
    Cooling
    Thermalright Peerless Assassin 120
    Keyboard
    Lenovo, wired
    Mouse
    Logitech, wired
    Browser
    Chrome
    Other Info
    First time DIY build.
  • Operating System
    Windows 11 Home 23H2, Build: 22631.4751 (OEM)
    Computer type
    PC/Desktop
    Manufacturer/Model
    Acer Aspire XC-1760
    CPU
    Intel Core i5-12400
    Motherboard
    Acer Andrew H610 (PCIe Gen 4)
    Memory
    8 GB DDR4
    Graphics card(s)
    Intel(R) UHD Graphics 730
    Sound Card
    Integrated, HD Audio
    Monitor(s) Displays
    old Samsung
    Screen Resolution
    1920x1080, 60 Hz
    Hard Drives
    M.2 PCIe NVMe SSD (WD or Kingston, not sure), 512GB, partitioned into C & D drives.
    PSU
    Brand unknown. 180W. (80 Plus Gold certification)
    Case
    Slim, DTX
    Cooling
    Brand unknown. Air cooling.
    Keyboard
    Lenovo (wired)
    Mouse
    Logitech (wired)
    Browser
    Chrome
    Other Info
    Extra CPU details:
    Intel UHD Graphics, 6 cores, 12 threads, 2.5 GHz, LGA1700, Intel H610 Chipset.

Latest Support Threads

Back
Top Bottom