How-to-simply...

Reset forgotten Windows password with osk.exe

  • 1 Boot from Live CD or Hiren's PE boot CD
  • 2 Replace System32\osk.exe with cmd.exe
    cp cmd.exe cmd.exe.dist (backup)
    cp osk.exe osk.exe.dist (backup)
    mov cmd.exe osk.exe
  • 3 Login screen -> Ease of access -> On screen keyboard (now cmd.exe with admin rights)
  • 4 net user # List of users
    net user UserJane N3wPassw0rt
  • 5 Login with N3wPassw0rt
  • N Don't forget to rename renamed files to it's original names.

References