Home > Computer Tutorials > Troubleshooting > Exact Steps on How to Bypass a Forgotten PIN Windows 10 CMD

Exact Steps on How to Bypass a Forgotten PIN Windows 10 CMD

Mary-Kate Olsen
Release: 2025-02-19 20:01:14
Original
893 people have browsed it

This MiniTool guide helps you regain access to your Windows 10 computer if you've forgotten your PIN. It details two methods to bypass a forgotten PIN, focusing on using the Command Prompt.

Method 1: Create a New User Account

This method uses the Command Prompt to create a new local user account, allowing access to your files without restoring your original PIN.

Step 1: Access Command Prompt

Two methods are provided:

  • Shift Restart: Hold Shift, then click Power > Restart. Select Troubleshoot > Advanced Options > Command Prompt.

Exact Steps on How to Bypass a Forgotten PIN Windows 10 CMD

  • Windows Installation Media: Create a Windows 10 installation USB drive on a working computer. Boot your locked computer from the USB, select Repair your computer > Troubleshoot > Command Prompt.

Step 2: Create the New Account

  1. Type regedit and press Enter.
  2. Navigate to HKEY_LOCAL_MACHINE, then File > Load Hive.
  3. Open C:WindowsSystem32configSYSTEM, assign a key name (e.g., 123).
  4. Expand HKEY_LOCAL_MACHINE123Setup.
  5. Set CmdLine to cmd.exe and SetupType to 2.
  6. Unload the 123 hive (File > Unload Hive).
  7. Close Registry Editor and Command Prompt. Select Continue. Close any Windows installation windows that appear.
  8. In Command Prompt, type net user, then net user (your new username) (your new password) /add, and finally net localgroup administrators (your new username) /add.
  9. Restart your computer and log in with your new account. Access your old files in C:Usersold username.

Method 2: Recover Files and Reinstall Windows

This method involves transferring important files to a USB drive before reinstalling Windows.

Use Method 1's steps to access Command Prompt. Then open Notepad (notepad.exe), open File Explorer (File > Open), select your files, and send them to your USB drive. Transferring in smaller batches is recommended.

After backing up your data, reinstall Windows.

Data Recovery Tip: If files are missing, MiniTool Power Data Recovery can help recover them. The free edition recovers up to 1GB.

Conclusion: Creating a new user account via Command Prompt is the primary method to bypass a forgotten Windows 10 PIN. Remember to back up your PIN or password to prevent future issues.

The above is the detailed content of Exact Steps on How to Bypass a Forgotten PIN Windows 10 CMD. For more information, please follow other related articles on the PHP Chinese website!

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
Latest Articles by Author
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template