I stupidly removed myself from the administrators group in Windows 8.1 and need to add myself back in (note that I'm using a local user account).
I booted into the recovery console and have tried the following:
net user administrator /active:yes
This supposedly enables the administrator account. However, when I restart I don't have an option to log in as administrator.
net localgroup "administrators" "<username>" /add
Results in
There is no such global user or group: <username>
If I just run net user it only lists Administrator and Guest.
Is there anything else I can try?