Retrieve the power-on password of Windows server 2022 in the virtual machine

Retrieve the power-on password of Windows server 2022 in the virtual machine (2 methods )

The first method: enter cmd through the system PE disk to retrieve the password

1. Download the WE-PE toolbox non-network version .iso from the Internet (must be a file ending in .iso)

2. Edit the virtual machine settings----CD/DVD----select the downloaded WE-PE toolbox iso file.

 3. Select the virtual machine - right click on the single machine - power - enter the firmware when the power is turned on.

4. Enter the BIOS menu ----- move to the Boot menu --- move to the CD-ROM --- press "+" to move the CD to the first item ------

Press F10 to save and exit. (If the restart does not enter the CD, restart the virtual machine again).

 5. Enter the PE system and select Windows Password Management.

6. Enter the program and wait for the scan to complete----select the account----click "Reset/Unlock" in the lower right corner----restart after completion.

(It is recommended to shut down the computer first and adjust the BIOS menu options back to their original settings to avoid errors)

 Second: Enter cmd through the system installation disk to retrieve the password

1. Mount the system installation CD--the method is the same as above.

2. Modify the BIOS menu and set the CD as the first boot item.

3. Enter the CD and enter the command line mode according to the prompts.

 4. Enter the system disk. (Enter the drive letter to enter. The virtual machine system disk is usually D)

 5. Back up the original program (Utilman.exe), and then copy cmd to overwrite the program Utilman.exe.

copy Utilman.exe Utilman2.exe

copy cmd.exe Utilman2.exe

shutdown -r -t 0

 6. After restarting, enter the login interface and click ---- Auxiliary Tools in the lower right corner.

 

7. Enter cmd to view users, change passwords, etc. After completion, close cmd and enter the password to log in to the system.

(If the direct modification is unsuccessful, create a new user--and join the administrators group Administrators, and log in using the newly created account.)

net user
net user Administrator QQ.123

 

 

Guess you like

Origin blog.csdn.net/m0_73649227/article/details/130284547