0

I updated to windows 10 from windows 7 and can't log in to my account. So I forgot my windows 7 password long time ago and have been using fingerprint login ever since on my HP Elitebook.

I was expecting this to cause a problem when upgrading to 10, so I activated the administrator account in windows 7 and made sure that I could log in with that before I started the windows 10 upgrade. During upgrade, I had to uninstall the HP safety and security tools, which means no fingerprint sign in. I thought it would be ok since I now at least could log in to the administrator.

But after upgrade when I tried to log in as administrator it only says user account not active. Thus I can now not log in to my pc as admin or to my normal account for which I forgot my password. Also I don't have password reset disc. Any idea how to gain access to my pc?

  • Can you make a bootable disc or usb? if so I can point you to a way to reset your password. – NetworkKingPin Apr 19 '16 at 07:23
  • Have you tried this? - [How do I reset my Windows 7 password with a flash drive?](http://superuser.com/questions/453300/how-do-i-reset-my-windows-7-password-with-a-flash-drive) From the linked question: *My laptop was installed with Windows 7 with only one account, but no reset disk was created. Now I had forgotten my password and I don't know how to reset it.* – karel Apr 19 '16 at 07:24
  • The easiest way and it works for windows 7,8,8.1,and 10 is follow this guide really easy to reset the password. [Here](http://www.howtogeek.com/222262/how-to-reset-your-forgotten-password-in-windows-10/) and no reverting or losing anything. – NetworkKingPin Apr 19 '16 at 07:31
  • 3
    [All you have to do is enable the Administrator account](http://superuser.com/questions/1024203/how-to-get-rights-of-admin-after-i-disabled-all-admin-accounts-in-my-computer/1024221#1024221) – Ramhound Apr 19 '16 at 14:43

2 Answers2

0

With the link by @NetworkKingPin and a little assistance from this youtube video I managed to get it working. https://www.youtube.com/watch?v=sBd23RqViA0

0

According to this tutorial, you should be able to activate the administrator by following these steps:

  1. Boot from Windows installation CD.
  2. When comes to Windows Setup screen, press Shift+F10 to open Command Prompt.
  3. At the Command Prompt, replace sethc.exe with cmd.exe by running this command:

    copy c:\windows\system32\sethc.exe c:\ copy /y c:\windows\system32\cmd.exe c:\windows\system32\sethc.exe

  4. Exit Windows Setup and reboot. When you get back to Windows login screen, press Shift five times to launch Command Prompt.

  5. Type the following command to activate the administrator account:

    net user administrator /active:yes

  6. Reboot and you should be able to login. After getting into Windows, remember to restore the sethc.exe back to the directory c:\windows\system32.

DavidPostill
  • 153,128
  • 77
  • 353
  • 394
Joseph
  • 1
  • 1
  • Will `sethc.exe` be restored automatically after a while? I don't think so. Anyone using this hack may consider renaming it before overwriting, then restoring at the very end to close the security gap. – Kamil Maciorowski Jun 01 '16 at 12:22
  • Corrected. Thanks for pointing out the problem. – Joseph Jun 01 '16 at 15:22
  • Please read [How to reference material written by others](http://superuser.com/help/referencing) You should block quote text that has been written by some else. See [Markdown help](https://superuser.com/editing-help). I've fixed it for you this time, but please pay attention to this in future. – DavidPostill Jun 02 '16 at 08:11