Advertisement
v1ral_ITS

How to access cmd prompt on any windows computer and set/reset administrator password

Dec 13th, 2024
11
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.88 KB | None | 0 0
  1.  
  2. To reset a user's password from a Windows 10 installation ISO on a USB drive, you'll need to boot from the ISO, access the command prompt, and then use the net user command to change the password. Here's how:
  3.  
  4. 1. Boot from the USB Drive:
  5. Insert the Windows 10 installation USB into your computer and boot from it.
  6. 2. Access Command Prompt:
  7. During the installation process, you'll have the option to open a Command Prompt window.
  8. 3. Navigate to System32:
  9. In the Command Prompt, navigate to the System32 folder using the cd command:
  10.  
  11. Code
  12.  
  13. cd \Windows\System32
  14.  
  15. Replace Utilman with CMD: Replace the Utilman.exe file (which is used for the Ease of Access feature) with the CMD.exe file to access the command prompt from the login screen:
  16.  
  17. Code
  18.  
  19. move Utilman.exe Utilman2.exe
  20. copy Cmd.exe Utilman.exe
  21.  
  22. Reboot: Reboot your computer.
  23.  
  24. Access Command Prompt through Ease of Access: At the login screen, click on the Ease of Access icon. This will now open a Command Prompt window.
  25. Reset the Password: Use the net user command to change the password for the desired user account. Replace <username> with the account name and <newpassword> with the new password.
  26.  
  27. Code
  28.  
  29. net user <username> <newpassword>
  30.  
  31. Reboot: Reboot your computer again.
  32.  
  33. Alternative Method (If you can access the system):
  34.  
  35. 1. Open Command Prompt as Administrator:
  36. If you can access the system, open a Command Prompt window as an administrator.
  37. 2. Use the net user command:
  38. Use the net user command to change the password for the desired user account:
  39.  
  40. Code
  41.  
  42. net user <username> <newpassword>
  43.  
  44. Reboot: Reboot your computer.
  45.  
  46. In essence, you're using the Command Prompt to manipulate the system files and change the password for the user account, whether you're booting from the installation media or accessing the system directly.
  47.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement