Home > Operation and Maintenance > Windows Operation and Maintenance > Forgot win10 boot password and no USB flash drive

Forgot win10 boot password and no USB flash drive

王林
Release: 2019-10-30 17:59:38
Original
36764 people have browsed it

Forgot win10 boot password and no USB flash drive

I have set up a virtual machine here specifically for this tutorial. The virtual machine runs Win10. The username is Virtu and the password is 1234. I want to change my password to 12342345 without entering it. Now open the virtual machine and find that I have forgotten the password. At this time we can restart. Pull the battery when the Windows Logo is displayed (force restart). It may take several restarts until a line of text appears under the Windows Logo.

Forgot win10 boot password and no USB flash drive

After the system diagnosis is completed, this interface will be displayed:

Forgot win10 boot password and no USB flash drive

At this time, we have to select Advanced options on the right , the following interface will open:

Forgot win10 boot password and no USB flash drive

At this time, select Troubleshoot in the middle, and the following interface will be displayed:

Forgot win10 boot password and no USB flash drive

Select Advanced options below, and then choose to open the command prompt.

In the command prompt, jump to the disk where the system is located. Note that the system may not be on the C drive here. In this example, the system is on drive D. So we enter "[Drive Letter]:". Enter the dir command to confirm that it is the system disk.

Forgot win10 boot password and no USB flash drive

Then, we need to enter the "cd Windows\System32" command to jump to the [System Disk]:\Windows\System32 directory.

Next, we need to enter the following commands in sequence:

  copy sethc.exe sethc_bk.exe
  copy /y cmd.exe sethc.exe
Copy after login

Now we restart the computer and wait for the computer to enter the normal login interface. After entering, we need to press the Shift key 5 times. After executing this action, the command prompt window will open and enter the net user command to view all account names

net user【要更改密码的账户名】【空格】【新的密码】
Copy after login

This command has been modified The user's password exists.

For example, here, the command we want to enter is:

net user Virtu 12342345
Copy after login

At this time, the password has been changed, and you can restart the computer and log in with the new password.

Recommended tutorial: windows tutorial

The above is the detailed content of Forgot win10 boot password and no USB flash drive. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template