Delete ALL Windows 11 user accounts


GeekDad66

New member
Local time
9:57 PM
Posts
5
OS
Windows 11
Is there a way to delete ALL accounts (Local/Microsoft/Admin/etc.) such that all are removed and upon reboot Windows 11 drops into an initial account setup?

-Thanks-
 

My Computer

System One

  • OS
    Windows 11

idgat

Well-known member
Member
VIP
Local time
11:57 AM
Posts
299
Location
Newcastle NSW AUS
OS
Windows 11
Settings > Accounts > Family and other users

Start menu > All apps > Windows tools > Control Panel > User accounts
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    HP
    CPU
    Intel i5-9400
    Memory
    8GB
    Graphics Card(s)
    NVIDIA GeForce GT730
    Monitor(s) Displays
    Samsung 32"
    Screen Resolution
    1920x1080
    Hard Drives
    2 x 1TB SSDs
    Internet Speed
    Classic Australian w.a.p.
    Antivirus
    KIS

Megahertz

Wish to be flying
Member
VIP
Local time
10:57 PM
Posts
135
Location
Brazil
OS
Windows 7 HP 64 - Windows 11 Pro - Lubuntu
Why do you want to delete all users?
You have to enter Audit mode. Under Audit mode the user is built in Administrator and then you delete all users.
When you exit Audit mode you will be back to OOBE where a new user must be created.
 

My Computers

System One System Two

  • OS
    Windows 7 HP 64 - Windows 11 Pro - Lubuntu
    Computer type
    PC/Desktop
    Manufacturer/Model
    custom build
    CPU
    i5 6600K - 800MHz to 4400MHz
    Motherboard
    GA-Z170-HD3P
    Memory
    4+4G GSkill DDR4 3000
    Graphics Card(s)
    IG - Intel 530
    Monitor(s) Displays
    Samsung 226BW
    Screen Resolution
    1680x1050
    Hard Drives
    (1) -1 SM951 – 128GB M.2 AHCI PCIe SSD drive for Windows 7 and Lubuntu
    (2) -1 WD SATA 3 - 1T for Data
    (3) -1 WD SATA 3 - 1T for backup
    (4) -1 BX500 SSD - 128G for Win 10
    PSU
    Thermaltake 450W TR2 gold
    Keyboard
    Old and good Chicony mechanical keyboard
    Mouse
    Logitech mX performance - 9 buttons (had to disable some)
    Internet Speed
    350 Mb/s
    Browser
    Firefox 64
  • Operating System
    Windows 7 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Asus Q550LF
    CPU
    i7-4500U 800- 3000MHz
    Motherboard
    Asus Q550LF
    Memory
    (4+4)G DDR3 1600
    Graphics card(s)
    IG intel 4400 + NVIDIA GeForce GT 745M
    Sound Card
    Realtek
    Monitor(s) Displays
    LG Display LP156WF4-SPH1
    Screen Resolution
    1920 x 1080
    Hard Drives
    BX500 120G SSD for Windows and programs
    & 1T HDD for data
    Internet Speed
    350 Mb/s
    Browser
    Firefox 64

GeekDad66

New member
Thread Starter
Local time
9:57 PM
Posts
5
OS
Windows 11
It looks like Audit mode is exactly what I am looking for - Thanks!
 

My Computer

System One

  • OS
    Windows 11

cereberus

Well-known member
Pro User
VIP
Local time
2:57 AM
Posts
2,543
OS
Windows 10 Pro + others in VHDs
It looks like Audit mode is exactly what I am looking for - Thanks!
A possibly simpler solution is "reset my pc" but then you need to reinstall apps.
 

My Computer

System One

  • OS
    Windows 10 Pro + others in VHDs
    Computer type
    Laptop
    Manufacturer/Model
    ASUS Vivobook 14
    CPU
    I7
    Motherboard
    Yep, Laptop has one.
    Memory
    16 GB
    Graphics Card(s)
    Integrated Intel Iris XE
    Sound Card
    Realtek built in
    Monitor(s) Displays
    N/A
    Screen Resolution
    1920x1080
    Hard Drives
    1 TB Optane NVME SSD, 1 TB NVME SSD
    PSU
    Yep, got one
    Case
    Yep, got one
    Cooling
    Stella Artois
    Keyboard
    Built in
    Mouse
    Bluetooth , wired
    Internet Speed
    72 Mb/s :-(
    Browser
    Edge mostly
    Antivirus
    Defender
    Other Info
    TPM 2.0

Megahertz

Wish to be flying
Member
VIP
Local time
10:57 PM
Posts
135
Location
Brazil
OS
Windows 7 HP 64 - Windows 11 Pro - Lubuntu
It looks like Audit mode is exactly what I am looking for - Thanks!
You didn't answer why you want to delete all users. There may be a better solution.
Do you know how to enter Audit mode from running windows?
Rename to Audit.cmd and run it

It will reboot and give you a screen like below
attachment.php

Hit cancel
You're now as System administrator.
Go to settings - users accounts and delete all users
When done, restart
It will bring again the window above.
Hit ok. It will restart and continue with OOBE. Don't do nothing. Shutdown (Alt+F4)
 

Attachments

  • Audit.cmd.txt
    117 bytes · Views: 3
Last edited:

My Computers

System One System Two

  • OS
    Windows 7 HP 64 - Windows 11 Pro - Lubuntu
    Computer type
    PC/Desktop
    Manufacturer/Model
    custom build
    CPU
    i5 6600K - 800MHz to 4400MHz
    Motherboard
    GA-Z170-HD3P
    Memory
    4+4G GSkill DDR4 3000
    Graphics Card(s)
    IG - Intel 530
    Monitor(s) Displays
    Samsung 226BW
    Screen Resolution
    1680x1050
    Hard Drives
    (1) -1 SM951 – 128GB M.2 AHCI PCIe SSD drive for Windows 7 and Lubuntu
    (2) -1 WD SATA 3 - 1T for Data
    (3) -1 WD SATA 3 - 1T for backup
    (4) -1 BX500 SSD - 128G for Win 10
    PSU
    Thermaltake 450W TR2 gold
    Keyboard
    Old and good Chicony mechanical keyboard
    Mouse
    Logitech mX performance - 9 buttons (had to disable some)
    Internet Speed
    350 Mb/s
    Browser
    Firefox 64
  • Operating System
    Windows 7 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Asus Q550LF
    CPU
    i7-4500U 800- 3000MHz
    Motherboard
    Asus Q550LF
    Memory
    (4+4)G DDR3 1600
    Graphics card(s)
    IG intel 4400 + NVIDIA GeForce GT 745M
    Sound Card
    Realtek
    Monitor(s) Displays
    LG Display LP156WF4-SPH1
    Screen Resolution
    1920 x 1080
    Hard Drives
    BX500 120G SSD for Windows and programs
    & 1T HDD for data
    Internet Speed
    350 Mb/s
    Browser
    Firefox 64

Megahertz

Wish to be flying
Member
VIP
Local time
10:57 PM
Posts
135
Location
Brazil
OS
Windows 7 HP 64 - Windows 11 Pro - Lubuntu
You do realise you left a Pause in the middle?

Denis
Yes. Is to verify if Windows Media player network is off. (Yes, I know, win 11 does not have Windows Media player)
 

My Computers

System One System Two

  • OS
    Windows 7 HP 64 - Windows 11 Pro - Lubuntu
    Computer type
    PC/Desktop
    Manufacturer/Model
    custom build
    CPU
    i5 6600K - 800MHz to 4400MHz
    Motherboard
    GA-Z170-HD3P
    Memory
    4+4G GSkill DDR4 3000
    Graphics Card(s)
    IG - Intel 530
    Monitor(s) Displays
    Samsung 226BW
    Screen Resolution
    1680x1050
    Hard Drives
    (1) -1 SM951 – 128GB M.2 AHCI PCIe SSD drive for Windows 7 and Lubuntu
    (2) -1 WD SATA 3 - 1T for Data
    (3) -1 WD SATA 3 - 1T for backup
    (4) -1 BX500 SSD - 128G for Win 10
    PSU
    Thermaltake 450W TR2 gold
    Keyboard
    Old and good Chicony mechanical keyboard
    Mouse
    Logitech mX performance - 9 buttons (had to disable some)
    Internet Speed
    350 Mb/s
    Browser
    Firefox 64
  • Operating System
    Windows 7 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Asus Q550LF
    CPU
    i7-4500U 800- 3000MHz
    Motherboard
    Asus Q550LF
    Memory
    (4+4)G DDR3 1600
    Graphics card(s)
    IG intel 4400 + NVIDIA GeForce GT 745M
    Sound Card
    Realtek
    Monitor(s) Displays
    LG Display LP156WF4-SPH1
    Screen Resolution
    1920 x 1080
    Hard Drives
    BX500 120G SSD for Windows and programs
    & 1T HDD for data
    Internet Speed
    350 Mb/s
    Browser
    Firefox 64
Top Bottom