accidentally deleted administrative account in registry

-1

1

my password for unlock screen in wondows 10 wouldn't work so I used registry to delete my administrative user account accidentally. How do I use the builtin local admin account to fix it?

bethjeryl

Posted 2016-02-07T22:10:50.480

Reputation: 11

Question was closed 2016-02-09T21:32:27.940

2Restore the registry from the backup you made before changing it? – DavidPostill – 2016-02-07T23:34:41.223

1Did you create a Windows State setpoint before mucking with the registry? Always a good idea. – Fiasco Labs – 2016-02-08T00:22:30.030

Answers

-2

I haven't came across this, but would enabling the default administrator account work in your case? How to enable the hidden Windows 10 administrator account

Edited:
To enable the Windows 10 administrator account do the following:
1. Tap on the Windows-key. This should open the start menu or bring you to the Start Screen interface depending on how Windows 10 is configured on the system.
2. Type cmd and wait for the results to be displayed.
3. Right-click no the Command Prompt result and select "run as administrator" from the context menu.
4. Run the command net user to display a list of all user accounts on the system.
5. To activate the inactive administrator account, run the command net user administrator /active:yes
6. If you want to enable the guest account as well run the command net user guest /active:yes

Note: You might need to proceed this with an Admin account. Therefore, this might actually be irrelevant

Lex

Posted 2016-02-07T22:10:50.480

Reputation: 215

You cannot do this from a non admin account unfortunately. – Moab – 2016-02-08T00:46:20.170

1@Moab Actually, I think it's rather fortunate - it would be quite bad if anybody could enable a super-powerful account and start using it. Either way, answer writers should include the relevant parts of articles in the answer in case links break. – Ben N – 2016-02-08T00:54:42.057

1Good edit removed my -1 – Dave – 2016-02-09T22:17:01.827

"help I deleted my administrator account" ..."you can solve this problem with an administrator account" I am lost how is the user suppose to use this solution without an Administrator account? – Ramhound – 2016-02-09T23:04:50.103