So there's this computer which has two accounts on it:

  • A regular one (with password and I know the password)
  • An administrator (without password).

You can't access or modify anything related to admin privileges in any of the accounts. You can't run Command Prompt elevated (which means no activating built-in administrator). Can't access any settings. When logged on to the admin, it says it's the Administrator, but when trying to reinstall (Windows 8 was already installed when bought the computer), restore, or refresh, it says there are no administrator accounts on the computer.

How can I fix this?

  • I'm not a computer genius(obviously), but I can surely tell the situation is pretty bad. – leAsome Aug 18 '15 at 22:52
  • see if You find anything useful here: superuser.com/questions/239130/… – Divin3 Aug 18 '15 at 22:59
  • Can you login as the administrator account and create a new administrator account and use that account with any success? – I say Reinstate Monica Aug 19 '15 at 2:16
  • What evidence exactly do you have that leads you to state when you login as Admin it says it's the Administrator? – I say Reinstate Monica Aug 19 '15 at 2:19
  • I'm surprised the Administrator account has no password. That alone can cause all sorts of issues. Can you log on as Administrator and try set/change its password to something? Fingers crossed that does the trick. – misha256 Aug 19 '15 at 4:26

Do you have access to a system repair disc or the recovery options via Windows?

If so, you could try the following command in the recovery command prompt:

net localgroup Administrators [username] /add
  • No, I don't have a repair disc and I cannot access any of the recovery options, because my UAC is on maximum safety. And I cannot access UAC. – leAsome Aug 19 '15 at 9:27
  • Hmm... Any recovery partition? A friend's/family member's disc you can borrow? – Dog Lover Aug 19 '15 at 11:55

I mentioned this in the comments and figured I'd explode this into a full answer: use the Sticky Keys "exploit" to get an elevated command prompt.

Reset password with Sticky Keys -PCWorld

Reset Your Windows Password Using the Command Prompt

  1. Boot your computer using your Windows installation disc.

  2. Wait for the setup files to load, and select your language. Click Next.

  3. Click the Repair your computer link on the Install Windows screen.

  4. Select the operating system to repair, and note the drive letter on which the OS is installed (it is probably C: or D:). Click Next.

  5. Click Command Prompt at the bottom of the list of recovery tools.

  6. Backup sethc.exe. In the Command Prompt window, type
    copy c:\windows\system32\sethc.exe c:\windows\system32\sethc.old
    and press Enter.

  7. Replace sethc.exe with cmd.exe. Type
    copy /y c:\windows\system32\cmd.exe c:\windows\system32\sethc.exe
    and press Enter.

  8. Exit the Command Prompt and reboot the computer.

At this point, you should be either at the logon screen, or on your desktop. Press shift five times. BAM! you should now have an ELEVATED console

enter image description here

Notice: sethc.exe in the image.

Now... you should have the control to do what you need. Add/change a password?

net user administrator Thup3rTh3cr3tP@sswordZOMGWTFBBQ!!!

Disable UAC from the console?

C:\Windows\System32\cmd.exe /k %windir%\System32\reg.exe ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v EnableLUA /t REG_DWORD /d 0 /f

With elevated command prompt, you should be able to do what you need - if not via CMD.EXE then you can most likely switch to Powershell and do it. With UAC disabled, you should be able to do whatever you need.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.