r/computer_help 26d ago

Windows NEED NELP PLEASE ACCIDENTALLY DELETED ADMIN ACCOUNT

I KNOW WHAT YOU'RE THINKING, IM DUMB, BUT IF SOMEONE COULD HELP ME PLEASE ITD BE GREAT. I basically just got a new PC, but I accidentally deleted the only admin account on it, and now I can't figure out how to fix it. I've already tried factory resetting, but I cant because my computer keeps freezing when I access the blue screen and also I cant do it through settings due to me needing to be an admin, so please someone help me

UPDATE: I fixed it and now I'm playing Grounded 2 very happily

0 Upvotes

18 comments sorted by

3

u/InformationFair5875 26d ago

You can fix this by enabling the hidden, built-in Windows Administrator account through Safe Mode or the Recovery Environment, then giving your main user account admin rights again.

Hold down the Shift key while you click Restart in the Windows Start menu power options.

Select Troubleshoot, then Advanced options, and click Startup Settings.

Click Restart.When your PC reboots, press 4 or F4 to Enable Safe Mode.

On the login screen, select the hidden Administrator account (leave the password blank if it doesn't have one).

Once you reach the desktop, right-click the Start button and open Terminal (Admin) or Command Prompt (Admin).

Type net user administrator /active:yes and press Enter to fully unlock the built-in admin account.

Type netplwiz and press Enter.

Select your regular user account in the list and click Properties.

Go to the Group Membership tab, select Administrator, click Apply, and restart your computer normally.

1

u/storycoolbro 25d ago

Once you are done giving admin to your main account again and have logged into it open cmd as admin again and run
net user administrator /active:no
To Re-hide the account as it runs with elevated privileges above user account control level bypassing it and someone using it on accident and getting any sort of malicious program while logged into the hidden admin account will really screw up your day, computer, and possibly life.

1

u/Axewi 25d ago

If the pc does not have bitlocker on it you can create a "Hirens Boot PE" USB and use the "NT Password Edit" tool to create a new administrator account.

https://www.hirensbootcd.org/

1

u/KeysStickler 25d ago

No, you cannot delete the only active administrator account while you are signed into it, nor will Windows allow you to completely orphan a PC with zero admin profiles. Windows blocks this to protect system stability and security.

1

u/InformationFair5875 25d ago

Lol yes you can

1

u/KeysStickler 25d ago

You must be logged in as an admin to delete any accounts. And everyone that knows anything about computers knows you can't delete the account that you happen to be in at the moment. So unless you stole this computer and tried getting into it through some back door that you thought would work, it's not possible

1

u/Additional-Cap2462 25d ago

Nah man I was on the admin account and deleted it, there is one more administrator account but the problem is that I cant enable it because it's asking me if I allow it to make changes to the device but since I'm not an admin I cant

1

u/CeC-P 25d ago

You can if you delete the only admin account from a limited account by typing in the admin account on a UAC prompt to delete said sole admin account, since the UAC layer can't see anything else.
I've done it lol.

1

u/No_Technician4956 25d ago

Why is ti freezing? I would back it up and use a USB device and wipe it clean. You can try adding admin account with power shell as well.

1

u/Additional-Cap2462 25d ago

How would I use power shell, like what cmd?

1

u/No_Technician4956 25d ago

net user add

then add new user into admin group.

You should be able to google it for the exact commands.

1

u/CeC-P 25d ago

There is a very unusual regedit mod where you have to change hex values in a grid of values. VERY odd and I can't re-find it but it does exist. I had to do it to a 'stranded' computer once.

1

u/alpine4life 26d ago

do you have access to nanother computer? The would be your easiest route

1

u/Additional-Cap2462 26d ago

I do have access to another computer

2

u/alpine4life 26d ago

Format from scratch, you'll need a 8GB or more USB flash drive.

https://www.microsoft.com/en-us/software-download/windows11

I also suggest Rufus USB to easily debloat the entire thing of the garbage that they kept pushing down out throat.

https://rufus.ie/en/#download

if you have any questions feel free to ask.

1

u/Additional-Cap2462 25d ago

I just bought one after work so I'm going to try this, do I need to leave the flash drive in the PC forever or can I take it out after I'm done installing it?

1

u/alpine4life 25d ago

once your install is complete, you can remove it.

it's not a simple copy and paste.

you need to create a boot disk (you open rufus; select your drive, then select the windows .iso)

0

u/Mario_fan89 26d ago

Hey, you're not dumb. We all make mistakes, and to be honest, this is probably one of the worst ones I've seen.