Skip to content

Instantly share code, notes, and snippets.

@DoganM95
Last active May 26, 2023 14:17
Show Gist options
  • Save DoganM95/f6792a2cf4c99122f53e57a66ecd0499 to your computer and use it in GitHub Desktop.
Save DoganM95/f6792a2cf4c99122f53e57a66ecd0499 to your computer and use it in GitHub Desktop.

Win 11 inplace password reset

Desctiption

You forgot your password, tutorials did not help because there is no utilman.exe and you don't want to create a third party password recovery/hacking disk on a usb drive? Follow along.

Guide

  • Get into recovery menu
    • On any pc:
      • Boot into lockscreen, hold shift key and klick on reboot wuth the mouse, then release shift
    • On lenovo pc's (my case)
      • Turn pc completely off
      • hold Fn key and press the power key
      • A menu will pop up, choose Recovery something
  • Click on Troubleshoot, then Command Prompt (cmd.exe will pop up)
  • execute these commands seperately (enter after each command)
    • diskpart
    • list volume -> A list of volumes will pop up, see which one is your windows containing disk
    • select volume X where X is the volume containing windows installation
    • exit
    • copy C:\Windows\System32\utilman.exe C:\Windows\System32\utilman.exe.bak -> backup utilman
    • copy C:\Windows\System32\cmd.exe C:\Windows\System32\utilman.exe -> confirm overrwrite
    • exit
  • Reboot
  • In lockscreen, click the Accessibility icon in the bottom right corner -> cmd.exe will pop up
  • net user XXX YYY -> where XXX is your username and YYY is your new desired password
  • Login using that new password
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment