Solved Can't delete a Local User account


Sir_George

Well-known member
Power User
VIP
Local time
6:53 PM
Posts
347
Location
Denver, CO
OS
Windows 11 Professional
I have a MS account as my primary user. I recently added a local user account and decided to remove it. I used the setting for Accounts>Other Users to remove it, but when I get to the login screen it defaults to the local user. I can still switch to my MS account, but I want to remove the local account entirely. Never having used a local account before I used the same account name as my MS account, in hindsight I should have used a different name. Anyone know what I need to do?
 

My Computer My Computer

At a glance

Windows 11 ProfessionalIntel Core i5-940032GBIntegrated Intel UHD Graphics 630
OS
Windows 11 Professional
Computer type
PC/Desktop
Manufacturer/Model
Microcenter B677
CPU
Intel Core i5-9400
Motherboard
ASRock H310CM-HDV/M.2
Memory
32GB
Graphics Card(s)
Integrated Intel UHD Graphics 630
Sound Card
Intel Kaby Lake - High Definition Audio / cAVS (Audio, Voice, Speech) [A0]
Monitor(s) Displays
LG Model: GSM59F1
Screen Resolution
2560x1080
Case
Lian Li 205M
Antivirus
Kaspersky AV
Hello mate, :alien:

Did you by chance ever set up ntplwiz to automatically sign in to the local account at startup?

 

My Computers My Computers

  • At a glance

    Windows 11 Pro for WorkstationsIntel i7-8700K 5 GHz64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600...ASUS ROG-STRIX-GTX1080TI-O11G-GAMING (11GB GD...
    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,
    TerraMaster F8 SSD Plus NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3 wall mounted
    Cooling
    Corsair Hydro H115i
    Keyboard
    Amazon Basics Wired Full Keyboard MD005
    Mouse
    Logitech MX Master 4
    Internet Speed
    2 Gbps Download and 100 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
  • At a glance

    Windows 11 ProSnapdragon X Elite (12 core) 3.42 GHz16 GB LPDDR5x-7467 MHz
    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
Hello mate, :alien:

Did you by chance ever set up ntplwiz to automatically sign in to the local account at startup?

Thanks for the reply. When I open the User Accounts, I have a listing "Guest Account." I am guessing that is the account I want to delete, but when I attempt to make that selection it won't activate, the only selection that allows a change is my MS account, as highlighted in blue in my attachment. Does that help in making a decision as the steps I need to take?
User Accounts.webp
 

My Computer My Computer

At a glance

Windows 11 ProfessionalIntel Core i5-940032GBIntegrated Intel UHD Graphics 630
OS
Windows 11 Professional
Computer type
PC/Desktop
Manufacturer/Model
Microcenter B677
CPU
Intel Core i5-9400
Motherboard
ASRock H310CM-HDV/M.2
Memory
32GB
Graphics Card(s)
Integrated Intel UHD Graphics 630
Sound Card
Intel Kaby Lake - High Definition Audio / cAVS (Audio, Voice, Speech) [A0]
Monitor(s) Displays
LG Model: GSM59F1
Screen Resolution
2560x1080
Case
Lian Li 205M
Antivirus
Kaspersky AV
Check the Users must enter a user name and password to use this computer box in netplwiz and click/tap on OK to see if that may sort this for you.
 

My Computers My Computers

  • At a glance

    Windows 11 Pro for WorkstationsIntel i7-8700K 5 GHz64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600...ASUS ROG-STRIX-GTX1080TI-O11G-GAMING (11GB GD...
    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,
    TerraMaster F8 SSD Plus NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3 wall mounted
    Cooling
    Corsair Hydro H115i
    Keyboard
    Amazon Basics Wired Full Keyboard MD005
    Mouse
    Logitech MX Master 4
    Internet Speed
    2 Gbps Download and 100 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
  • At a glance

    Windows 11 ProSnapdragon X Elite (12 core) 3.42 GHz16 GB LPDDR5x-7467 MHz
    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
Check the Users must enter a user name and password to use this computer box in netplwiz and click/tap on OK to see if that may sort this for you.
Thanks...that solved it! As a side note, I deleted the local user account through the Settings by logging in as an administrator.
In the Accounts, I selected Family & other users and deleted the account. I thought that was the correct method to remove it and it would no longer have any trace of being installed including the login screen. Is the usual result that it still shows at the login screen?
Thanks again for your assistance.
 

My Computer My Computer

At a glance

Windows 11 ProfessionalIntel Core i5-940032GBIntegrated Intel UHD Graphics 630
OS
Windows 11 Professional
Computer type
PC/Desktop
Manufacturer/Model
Microcenter B677
CPU
Intel Core i5-9400
Motherboard
ASRock H310CM-HDV/M.2
Memory
32GB
Graphics Card(s)
Integrated Intel UHD Graphics 630
Sound Card
Intel Kaby Lake - High Definition Audio / cAVS (Audio, Voice, Speech) [A0]
Monitor(s) Displays
LG Model: GSM59F1
Screen Resolution
2560x1080
Case
Lian Li 205M
Antivirus
Kaspersky AV
Great news.

This can happen when netplwiz was set up for an account that got deleted.
 

My Computers My Computers

  • At a glance

    Windows 11 Pro for WorkstationsIntel i7-8700K 5 GHz64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600...ASUS ROG-STRIX-GTX1080TI-O11G-GAMING (11GB GD...
    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,
    TerraMaster F8 SSD Plus NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3 wall mounted
    Cooling
    Corsair Hydro H115i
    Keyboard
    Amazon Basics Wired Full Keyboard MD005
    Mouse
    Logitech MX Master 4
    Internet Speed
    2 Gbps Download and 100 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
  • At a glance

    Windows 11 ProSnapdragon X Elite (12 core) 3.42 GHz16 GB LPDDR5x-7467 MHz
    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
To fully remove the User Profile go to Search or press the Windows key +R in the box type
sysdm.cpl and press Enter.
Go to the Advanced Tab
Under User Profiles click the Settings Button
Select the Local User Profile you want to remove and click the Delete Button.
Restart the computer and the user profile will no longer be listed in the login and there will no longer be this profile under C:\Users

 

My Computer My Computer

At a glance

Windows 11 Pro Insider 64 bit 25H2 26200.5742Intel Core i7 9700K 3.6016 GBnVidia GEForce RTX 2060 Super
OS
Windows 11 Pro Insider 64 bit 25H2 26200.5742
Computer type
PC/Desktop
Manufacturer/Model
Gigabyte Z390 UD
CPU
Intel Core i7 9700K 3.60
Motherboard
Gigabyte Z390 UD
Memory
16 GB
Graphics Card(s)
nVidia GEForce RTX 2060 Super
Sound Card
onboard
Monitor(s) Displays
Two 27" Dell 4K monitors
Screen Resolution
3840 x 2160
Hard Drives
M.2 NVME SSD, 500 GB; Two 2TB Mechanical HDD's
PSU
850w PSU
Case
Cyberpower PC
Cooling
Water cooled
Keyboard
Backlit Cyberpower gaming keyboard
Mouse
Backlit Cyberpower gaming mouse
Internet Speed
1 GB mbps
Browser
Brave
Antivirus
Windows Security
Or literally just open command prompt and type net user addusersnamehere /delete

(Pressing shift and f10 will open command prompt in setup.exe or in your normal windows screen or anywhere else in any app even in the windows setup screen after installing a new copy of windows , windows key + R will open the run box to type cmd.exe (pressing ctrl and enter to run in admin mode instead of just enter which launches in normal mode)

Any leftover files in the users folder just type erase C:/Users/usersprofile and press y to confirm

Or open regedit.exe and delete the user from the users section or clicking on COMPUTER in the very top left of the regedit tree display folder menu thingy and typing users or the actual username in the search bar (one of the f keys I think it’s f3 will open up a “find” search bar) and click f3 to keep finding any other mentions file by file completely erasing it from not just the pc but the entire registry.

windowskey + r bring up the run.exe and type netplwiz to bring up a user gui showing active online user account (great to check you don’t have other remote users on your pc) but also can delete add or change their permissions (admin or user) and open up user setting where you can remove the profile.

Sure I can think of more but these are just a few off the top of my head ☺️
 

My Computer My Computer

At a glance

windows 11
OS
windows 11
Computer type
Laptop
Back
Top Bottom