How to restore the built-in administrator from Microsoft account to local account?


Diabolus

Member
Local time
9:43 PM
Posts
2
OS
Windows 11
Hi all,
I just updated to Windows 11 Pro a HP ZBook Fury 15 G7 laptop I just redeemed from my company and delivered with a "clean" installation of Windows 10 Pro with the sole account of built-in administrator.
While peeking around in the new Windows 11, I did a great stupid thing: I absent-mindedly changed the built-in administrator account I was using from local account to my Microsoft account. 🤦‍♂️
The problem popped up immediately after, when I tried creating a normal User account with my Microsoft account, as it's safe to do for daily use: the system prevented me from doing so because there was already an account connected to my Microsoft account! 😱
My request is very simple: is there a way to restore back the built-in administrator account to local account, so that I can proceed to create a new User account linked to my Microsoft account?
Thank you so much in advance! 🙏🙏🙏
 
Windows Build/Version
Windows 11 Pro version 24H2 (OS Build 26 100.3194)

My Computer

System One

  • OS
    Windows 11
    Computer type
    Laptop
    Manufacturer/Model
    HP ZBook Futy 15 G7 Mobile Workstation
    CPU
    Intel Core i7-10850H @ 2.70 GHz
    Memory
    32.0 GB
    Graphics Card(s)
    Intel UHD Graphics; NVIDIA Quadro RTX 3000
    Monitor(s) Displays
    Internal display 15.6"; External display MSI MD241P 23.8" IPS
    Screen Resolution
    Internal display 1920 x 1080; External display 1920x1080
    Hard Drives
    SSD 512 GB
    Mouse
    Logitech MX Vertical
    Internet Speed
    1 Gbit/s
Settings >Accounts switch to use local account.

 

My Computers

System One System Two

  • OS
    Windows 11 Enterprise 25H2 26200 7462
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom Build
    CPU
    Intel XEON E5-2699 v3
    Motherboard
    ASUS X99-A
    Memory
    64GB Teamgroup UD4-3600
    Graphics Card(s)
    NVIDIA GeForce GTX 1080 Ti
    Sound Card
    Integrated
    Monitor(s) Displays
    ACER X34 Predator
    Screen Resolution
    3440 x 1440
    Hard Drives
    Crucial CT1000P 3P SSD8 1TB
    Crucial CT1000 BX500 SSD 1TB
    PSU
    GameMax Pro
    Case
    Fractal Design
    Cooling
    Corsair H110iGT + 6 140mm Fans
    Keyboard
    Corsair K4
    Mouse
    G-Skill G502
    Internet Speed
    300MBs
    Browser
    Chrome
    Antivirus
    OEM
    Other Info
    ASUS RT-AC87U Router
  • Operating System
    25H2 26200.5074
    Computer type
    Laptop
    Manufacturer/Model
    ASUS X555LA
    Memory
    8GB
    Browser
    Chrome
    Antivirus
    OEM
Thank you Jockey, nice try... but, as I noticed horrified immediately after switching the built-in administrator account from local to my Microsoft account, there's no such option in the Accounts setting windows for the built-in administrator 🤷‍♂️
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    Laptop
    Manufacturer/Model
    HP ZBook Futy 15 G7 Mobile Workstation
    CPU
    Intel Core i7-10850H @ 2.70 GHz
    Memory
    32.0 GB
    Graphics Card(s)
    Intel UHD Graphics; NVIDIA Quadro RTX 3000
    Monitor(s) Displays
    Internal display 15.6"; External display MSI MD241P 23.8" IPS
    Screen Resolution
    Internal display 1920 x 1080; External display 1920x1080
    Hard Drives
    SSD 512 GB
    Mouse
    Logitech MX Vertical
    Internet Speed
    1 Gbit/s
There's a Hidden Administrator in Windows that usually is never unhidden except when having major issues and does not have a password.

After setting up a Microsoft Account with Admin rights I like to add a New User as a Local Account with Admin rights, name at least one character different and not an E-Mail name. Then I Sign out [right-click of the Start button] then reboot to get both Users on the screen and pick which I want to use. It's also possible to be logged in as Local and remove any other visible account. Sign out, or log off, is different from Reboot which only brings same user back.
 

My Computers

System One System Two

  • OS
    Win11 Pro RTM Version 24H2 Build 26100.4202
    Computer type
    Laptop
    Manufacturer/Model
    Dell Vostro 3400
    CPU
    Intel Core i5 11th Gen. 2.40GHz
    Memory
    12GB
    Hard Drives
    256GB SSD NVMe M.2
  • Operating System
    Win11 Pro RTM Version 24H2 Build 26100.4202
    Computer type
    PC/Desktop
    Manufacturer/Model
    Dell Vostro 5890
    CPU
    Intel Core i5 10th Gen. 2.90GHz
    Memory
    16GB
    Graphics card(s)
    Onboard, no VGA, using a DisplayPort-to-VGA adapter
    Monitor(s) Displays
    24" Dell
    Hard Drives
    512GB SSD NVMe, 4TB Seagate HDD
    Browser
    Firefox, Edge
    Antivirus
    Windows Defender/Microsoft Security
The hidden administator account is meant to be a troubleshooting tool only and not to be used as one's daily used account. It is hidden for a reason. I say all that for anyone who reads this thread as it seems you are aware of why it should not be used. Since there is no peronal data on the machine I suggest you do a reset using the "remove everything" option. This willl put the machine back into OOBE condition, recreates the hidden account, and will allow your to set up your account during OOBE.
 

My Computers

System One System Two

  • OS
    Windows 11 Pro 25H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    Dell Optiplex 7080
    CPU
    i9-10900 10 core 20 threads
    Motherboard
    DELL 0J37VM
    Memory
    32 gb
    Graphics Card(s)
    none-Intel UHD Graphics 630
    Sound Card
    Integrated Realtek
    Monitor(s) Displays
    Benq 27
    Screen Resolution
    2560x1440
    Hard Drives
    2x1tb Solidigm m.2 nvme /External drives 512gb Samsung m.2 sata+2tb Kingston m2.nvme
    PSU
    500w
    Case
    MT
    Cooling
    Dell Premium
    Keyboard
    Logitech wired
    Mouse
    Logitech wireless
    Internet Speed
    so slow I'm too embarrassed to tell
    Browser
    #1 Edge #2 Firefox
    Antivirus
    Defender+MWB Premium
  • Operating System
    Windows 11 Pro 24H2 26200.8457
    Computer type
    PC/Desktop
    Manufacturer/Model
    Beelink Mini PC SER5
    CPU
    AMD Ryzen 7 6800U
    Memory
    32 gb
    Graphics card(s)
    integrated
    Sound Card
    integrated
    Monitor(s) Displays
    Benq 27
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Crucial nvme
    Keyboard
    Logitech wired
    Mouse
    Logitech wireless
    Internet Speed
    still too embarrassed to tell
    Browser
    Firefox
    Antivirus
    Defender
    Other Info
    System 3 is non compliant Dell 9020 i7-4770/24gb ram Win11 PRO 26200.8457
Hi, welcome.

When you install Windows, Windows creates a user account and by default it is an Admin account.
The Admin account and the Built-In Administrators account are two separate accounts.
The Built-In Administrators account does not show by default
The Admin account created by Windows after install, does.
Note: You cannot change the Built-in account to a local account

This is how you access the Built-In Administrators account — with some information on how to manipulate the Built-In Administrators account.



Also






 

My Computers

System One System Two

  • OS
    Windows 11 Pro 25H2 Build 26200.8524
    Computer type
    PC/Desktop
    Manufacturer/Model
    Sin-built 2013
    CPU
    Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz
    Motherboard
    ASUS ROG Maximus VI Formula
    Memory
    32.0 GB of I forget and the box is in storage.
    Graphics Card(s)
    Gigabyte nVidia GeForce GTX 1660 Super OC 6GB
    Sound Card
    Onboard thingy
    Monitor(s) Displays
    5 x LG 25MS500-B - 1 x 24MK430H-B - 1 x Wacom Pro 22" Touch Screen Tablet
    Screen Resolution
    All over the place
    Hard Drives
    Too many to list.
    OS on Samsung 1TB 870 QVO SATA
    PSU
    Silverstone 1500
    Case
    NZXT Phantom 820 Full-Tower Case
    Cooling
    Noctua NH-D15 Elite Class Dual Tower CPU Cooler / 6 x EziDIY 120mm / 2 x Corsair 140mm somethings / 1 x 140mm Thermaltake something / 2 x 200mm Corsair.
    Keyboard
    Corsair K95 / Logitech diNovo Edge Wireless
    Mouse
    Logitech: G402 / G502 / Mx Masters / Mx Air Cordless
    Internet Speed
    2000/500Mbps
    Browser
    All sorts
    Antivirus
    Kaspersky Premium
    Other Info
    ㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
    TP-Link BE9300 WiFi 7 Bluetooth 5.4 (Archer TBE550E)
    TP-Link TX201 V1 2.5GB Lan

    Grandstream HT812 - VoIP
    ASUS DSL-AX82U - Mesh
    ASUS RT-AC68U - Mesh
    ASUS RT-BE88U Router

    Brother MFC-L2880DW Printer

    I’m on a horse.
  • Operating System
    Windows 11 Pro 25H2 Build 26200.8524
    Computer type
    Laptop
    Manufacturer/Model
    LENOVO Yoga 7 14IRL8 - 7i EVO OLED 14" Touchscreen i5 12 Core 16GB/512GB
    CPU
    Intel Core 12th Gen i5-1240P Processor (1.7 - 4.4GHz)
    Memory
    16GB LPDDR5 RAM
    Graphics card(s)
    Intel Iris Xe Graphics Processor
    Sound Card
    Optimized with Dolby Atmos®
    Screen Resolution
    QHD 2880 x 1800 OLED
    Hard Drives
    M.2 512GB
    Antivirus
    Defender / Malwarebytes
    Other Info
    …still on a horse.
Hi all,
I just updated to Windows 11 Pro a HP ZBook Fury 15 G7 laptop I just redeemed from my company and delivered with a "clean" installation of Windows 10 Pro with the sole account of built-in administrator.
While peeking around in the new Windows 11, I did a great stupid thing: I absent-mindedly changed the built-in administrator account I was using from local account to my Microsoft account. 🤦‍♂️
The problem popped up immediately after, when I tried creating a normal User account with my Microsoft account, as it's safe to do for daily use: the system prevented me from doing so because there was already an account connected to my Microsoft account! 😱
My request is very simple: is there a way to restore back the built-in administrator account to local account, so that I can proceed to create a new User account linked to my Microsoft account?
Thank you so much in advance! 🙏🙏🙏


same thing happened to me (was using the built-in admin after a motherboard swap, and logged into my microsoft account in the activation troubleshooter, which converted the built-in)

be logged in as another admin (you can create one: run compmgmt.msc, expand local users and groups, open users, right click and new > user, fill in info, and then close that wizard, but then double-click that new account, "member of" tab, and add in administrators--now you have another local admin account)

run regedit

expand HKEY_LOCAL_MACHINE > SAM

right click on SAM (the one under SAM; i.e. Computer\HKEY_LOCAL_MACHINE\SAM\SAM), and select Permissions

select Administrators check the Allow box for Full Permissions, and OK

hit F5 (to refresh the registry, and be able to expand)

expand SAM > Domains > Account > Users, and select 1F4 (i.e. Computer\HKEY_LOCAL_MACHINE\SAM\SAM\Domains\Account\Users\000001F4)

leave (Default), F, ForcePasswordReset, SupplementalCredentials, UserTile, and V, and right click anything else and delete

restart your computer

but still log in to the other admin account one last time, then compmgt.msc > local users and groups > users, then right click on your built-in admin and "set password" (hello pin cleared that out when you converted to an MS account)

then log back in as that built-in admin with said password (and its domain in "netplwiz" will be back to the machine's hostname, not "microsoftAccount"); and, you can then freely convert any other added local account to be your microsoft account (leaving that built-in local account as it should be: not tied to online)
 

My Computer

System One

  • OS
    Windows 11
That's impressive.
People have been reporting this problem and failing to solve it for a decade. Reinstalling Windows had been thought to be the only 'solution'.
In the threads I saw, the cause was thought to be that the Built-in Admin had been enabled & was logged in to whilst updating from Windows 7 to Windows 10 and had subsequently been converted to an MSAccount-linked one at some unknown stage [probably by accident as stated in your explanation].

right click anything else and delete
I'm wondering what an equivalent solution for Windows Home might be.
Please would you show me or tell me what was in that Registry Key that needed to be deleted.
I think the equivalent Registry path for Windows Home would be that shown in Enable or Disable Built-in Administrator Account - ElevenForumTutorials Option 5 Step 8 but that does not show any entries that match what you said would need to be deleted.
1768588469046.webp


Here's hoping,
Denis
 

My Computer

System One

  • OS
    Windows 11 Home x64 Version 25H2 Build 26200.8037
Hi, I am also struggling to change the builtin Administrator from logging in to a MS Account to a Local Account on one of my VMs. This thread is one of the most comprehensive discussions I have found. There is also a thread from 2024 that has extensive instructions. But, STILL, I have not been able to accomplish this change. It seems that MS is turning the screws tighter and tighter to force Windows user to use an MS Account. (I'll save the rants for another forum.)

So here I am, looking for another fix. On my system for the builtin Admin, there is no option to change to a local account. The Registry Key described above doesn't exist.

So I'm checking if I've missed some post that has the solution. All help is welcome. Thanks a bunch.

P.S. I've been here many time in the past, but recently created a new account.
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    Asus
    CPU
    Intel Core(TM) i7-12700K
    Motherboard
    Asus Tuf Gaming H670-Pro
    Memory
    32 GB
same thing happened to me (was using the built-in admin after a motherboard swap, and logged into my microsoft account in the activation troubleshooter, which converted the built-in)

be logged in as another admin (you can create one: run compmgmt.msc, expand local users and groups, open users, right click and new > user, fill in info, and then close that wizard, but then double-click that new account, "member of" tab, and add in administrators--now you have another local admin account)

run regedit.....

That's impressive.
People have been reporting this problem and failing to solve it for a decade. Reinstalling Windows had been thought to be the only 'solution'.

@Kari will find this solution interesting. He's one of those that investigated this issue a decade ago, when this loophole first appeared with Windows 10.

Kari said:
I have now replicated your situation and can confirm the loophole in Windows 10 you have accidentally found. I installed Windows 7, activated the built-in administrator account and removed all other user accounts. I then upgraded to Windows 10 which after the upgrade naturally had only this one user account, the built-in administrator account.

This allowed me to connect the built-in administrator account in Windows 10 to a Microsoft account and use Windows Store to download apps. Notice that because the default restrictions, this is normally not possible; when the built-in admin account is used as it should, not as a sign-in account to Windows but solely for administrative tasks it is not possible to use most of the Windows Apps with it (Store, Edge and so on), and it cannot be converted to a Microsoft Account.

The loophole you found, activating the built-in admin in previous version and then upgrading to Windows 10 using it seems to override all default security restrictions on the said built-in admin account, making it possible to connect it to a Microsoft account. However, as this is meant never to happen, once you have converted the built-in admin account to a Microsoft account, it is no longer possible to convert it back to a local account. It is absolutely impossible, that is why the Your account page does not even show the Sign in with a local account instead option
How to remove Microsoft Account from the Hidden Administrator - Windows 10 Help Forums - post #10
 

My Computers

System One System Two

  • OS
    Windows 11 Home
    Computer type
    Laptop
    Manufacturer/Model
    Acer Aspire 3 A315-23-R9VY
    CPU
    AMD Athlon Silver 3050U
    Memory
    8GB
    Graphics Card(s)
    Radeon Graphics
    Monitor(s) Displays
    laptop screen
    Screen Resolution
    1366x768 native resolution, up to 2560x1440 with Radeon Virtual Super Resolution
    Hard Drives
    1TB Samsung EVO 870 SSD (from April 2026: 250GB EVO 850)
    Internet Speed
    150 Mbps
    Browser
    Edge, Firefox
    Antivirus
    Defender
    Other Info
    fully 'Windows 11 ready' laptop. Windows 10 C: partition migrated from my old unsupported 'main machine' then upgraded to 11. A test migration ran Insider builds for 2 months. When 11 was released on 5th October 2021 it was re-imaged back to 10 and was offered the upgrade in Windows Update on 20th October. Windows Update offered the 22H2 Feature Update on 20th September 2022. It got the 23H2 Feature Update on 4th November 2023 through Windows Update, 24H2 on 3rd October 2024 through Windows Update by setting the Target Release Version for 24H2, and 25H2 on 30th September 2025 through Windows Update by setting the Target Release Version for 25H2.

    UPDATE - 11 April 2026: due to mechanical deterioration this PC has been retired from active duty. The OS with all software and files has been migrated to my System Seven below to carry on as my general purpose 'main machine'.

    My SYSTEM THREE is a Dell Latitude 5410, i7-10610U, 32GB RAM, 512GB NVMe ssd, supported device running Windows 11 Pro.

    My SYSTEM FOUR is a 2-in-1 convertible Lenovo Yoga 11e 20DA, Celeron N2930, 8GB RAM, 256GB ssd. Unsupported device: currently running Win10 Pro, plus Win11 Pro RTM and Insider Dev, Beta, and RP 24H2 as native boot vhdx.

    My SYSTEM FIVE is a Dell Latitude 3190 2-in-1, Pentium Silver N5030, 8GB RAM, 1TB NVMe ssd, supported device running Windows 11 Pro, plus Insider Beta, Dev, and Canary builds (and a few others) as a native boot .vhdx.

    My SYSTEM SIX is a Dell Latitude 5550, Core Ultra 7 165H, 64GB RAM, 1TB NVMe SSD, supported device, Windows 11 Pro 24H2, Hyper-V host machine. Updated to 25H2 on 30th September 2025.

    My SYSTEM SEVEN is a Lenovo Thinkpad T580, Intel Core i7-8650U, 16GB RAM, 512GB NVMe SSD + 2nd 512GB NVMe SSD, a supported device for Windows 11. This is my current general purpose 'main machine'. The installed Windows 11 Home from my System One has been migrated to this machine.
  • Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Dell Latitude E4310
    CPU
    Intel® Core™ i5-520M
    Motherboard
    0T6M8G
    Memory
    8GB
    Graphics card(s)
    (integrated graphics) Intel HD Graphics
    Screen Resolution
    1366x768
    Hard Drives
    500GB Crucial MX500 SSD
    Browser
    Firefox, Edge
    Antivirus
    Defender
    Other Info
    unsupported machine: Legacy bios, MBR, TPM 1.2, upgraded from W10 to W11 using W10/W11 hybrid install media workaround. In-place upgrade to 22H2 using ISO and a workaround. Feature Update to 23H2 by manually installing the Enablement Package. In-place upgrade to 24H2 using hybrid 23H2/24H2 install media. Upgraded to 25H2 by Enablement Package. Also running Insider Dev, and Canary builds and Windows 10 as native boot .vhdx.

    My SYSTEM THREE is a Dell Latitude 5410, i7-10610U, 32GB RAM, 512GB NVMe ssd, supported device running Windows 11 Pro.

    My SYSTEM FOUR is a 2-in-1 convertible Lenovo Yoga 11e 20DA, Celeron N2930, 8GB RAM, 256GB ssd. Unsupported device: currently running Win10 Pro, plus Win11 Pro RTM and Insider Dev, Beta, and RP 24H2 as native boot vhdx.

    My SYSTEM FIVE is a Dell Latitude 3190 2-in-1, Pentium Silver N5030, 8GB RAM, 1TB NVMe ssd, supported device running Windows 11 Pro, plus Insider Beta, Dev, and Canary builds (and a few others) as a native boot .vhdx.

    My SYSTEM SIX is a Dell Latitude 5550, Core Ultra 7 165H, 64GB RAM, 1TB NVMe SSD, supported device, Windows 11 Pro 24H2, Hyper-V host machine. Updated to 25H2 on 30th September 2025.

    My SYSTEM SEVEN is a Lenovo Thinkpad T580, Intel Core i7-8650U, 16GB RAM, 512GB NVMe SSD + 2nd 512GB NVMe SSD, a supported device for Windows 11. This is my current general purpose 'main machine'. The installed Windows 11 Home from my System One has been migrated to this machine.

Latest Support Threads

Back
Top Bottom