Cannot do anything that requires admin privileges in Windows 10 (stuck)

1

I have 2 accounts, one of them is just a normal Microsoft account that I log on to every day, the other one is administrator account I just hid with SpecialAccounts registry hack.

The problem is, what SpecialAccounts does is just disabling that account, and I have configured my UAC settings to highest possible, so if I do anything that changes system even slightly, I need to type administrator password. However, that I have actually disabled this administrator account, now nothing shows up on UAC warning/confirm screen, so I can't even revert back or anything.

Example of not being able to approve admin privilege. And no you can't take screenshot of this.

Am I totally screwed? Or is there a way to do something to get out of this jail?


What I've tried:

  • regedit requires admin prev.
  • UAC setting requires admin prev.
  • Cannot log into safe mode, you can only log in safe mode with an administrator account.
  • Using advanced restart options to get command prompt and net user only shows Administrator account (seems temporary)

Edit: This question is not a duplicate of What can I do if I forgot my Windows password?, I know all my passwords and I can log on to my disabled admin account on advanced boot options. This question is however pretty much an exact duplicate of Locked out of Admin Account but it's different version of Windows so I wrote my own question.

user300375

Posted 2016-03-01T06:17:33.410

Reputation: 11

Possible duplicate of Locked out of Admin Account - Super User

– user300375 – 2016-03-01T07:39:27.353

If the Advanced Startup shows "Administator", then it's active. Are you able to select Administrator and open a command prompt window from there? – w32sh – 2016-03-01T11:03:10.493

And once in there launch regedit.exe, load the SOFTWARE hive in your windows installation (windows\system32\config), and delete the SpecialAccounts key. Unload the hive – w32sh – 2016-03-01T11:06:24.993

@w32sh It doesn't show up in Advanced Startup menu but when I do net user on a command prompt it only lists Administrator. My disabled admin account name is Elohim. – user300375 – 2016-03-01T11:06:48.877

Possible duplicate of What can I do if I forgot my Windows password?

– Ben N – 2016-03-02T18:29:47.310

Answers

1

Disclaimer: I have not tested this, but I recently used something similar to get out of a similar UAC-prompt-borked situation.

From a different machine on the same network:

  1. Download PsExec
  2. Run: PsExec -s -i \\(borked-machine-name) -u .\administrator -p (password) regedit.exe
  3. This should pop up a regedit window on the borked machine's desktop, with which you can undo your registry hack.

Or, to do it all remotely: PsExec -s -i \\(borked-machine-name) -u .\administrator -p (password) reg.exe delete "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\SpecialAccounts" /va /f

Either way, you'll probably need to logoff/logon for this to take effect.

Jonathan

Posted 2016-03-01T06:17:33.410

Reputation: 2 294

-1

Do Steps 1 & 2 here: https://4sysops.com/archives/reset-a-windows-10-password/ Then start Regedit.exe in the Command Prompt window, and select HKEY_LOCAL_MACHINE.

From the File menu, click Load Hive and select the "SOFTWARE" hive of your Windows installation (windows\system32\config), and delete the SpecialAccounts key. Unload the hive.

Exit Setup and restart Windows normally.

w32sh

Posted 2016-03-01T06:17:33.410

Reputation: 8 611

Someone considered my response as not useful, with no reason specified. Booting using installation media and accessing Command Prompt (using SHIFT + F10) is one of the easiest methods to fix the problem. – w32sh – 2016-03-01T14:57:42.483

You should, at least, transcribe what is written in the site linked so people could be informed even if that site goes down or link breaks. I will try your solution later when I have access to recovery media. – user300375 – 2016-03-01T20:41:56.853