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.
- 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
- Type
regedit
and press Enter. - Navigate to
HKEY_LOCAL_MACHINE
, then File > Load Hive. - Open
C:WindowsSystem32configSYSTEM
, assign a key name (e.g.,123
). - Expand
HKEY_LOCAL_MACHINE123Setup
. - Set
CmdLine
tocmd.exe
andSetupType
to2
. - Unload the
123
hive (File > Unload Hive). - Close Registry Editor and Command Prompt. Select Continue. Close any Windows installation windows that appear.
- In Command Prompt, type
net user
, thennet user (your new username) (your new password) /add
, and finallynet localgroup administrators (your new username) /add
. - 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!

Encountering the Steam "Invalid Platform" error? This MiniTool guide offers several solutions to get you back in the game. This frustrating error typically means your game is incompatible with your operating system. Understanding the Error

The Windows Xbox app lets you manage your Game Pass library, view friends, and launch PC games from one place. Its a hub of Microsofts gaming experience, especi

VMware Workstation on Windows 11: Troubleshooting Slow Performance Experiencing sluggish system performance after installing VMware Workstation on your Windows 11 desktop? This guide offers practical solutions to resolve this common issue. Quick Nav

Many players have encountered frustrating low FPS, stuttering, and lagging issues in Oblivion Remastered. This MiniTool guide offers several effective solutions to boost your gameplay performance. Quick Navigation: Oblivion Remastered Performance Pr

Troubleshooting the Unarc.dll Error Code 11 in Windows Many gamers encounter the frustrating unarc.dll error code 11 during game installations. This error arises because the unarc.dll file, responsible for unpacking compressed installation files, is

Windows 11 KB5055629: A Comprehensive Guide to Installation and Troubleshooting This guide provides a complete overview of Windows 11 KB5055629, including its new features, installation methods, and troubleshooting steps for installation failures. Wh

Last Epoch Unity Error Solutions: A Comprehensive Guide Many Last Epoch players encounter frustrating Unity errors preventing gameplay. This guide provides effective solutions to resolve these crashes, ranging from simple troubleshooting to more adva

This guide offers solutions for resolving the frustrating "Resetting this PC" process stuck at 37%. Several effective methods are detailed below to help you overcome this issue. Originally posted on answers.microsoft.com: "Hello, I


Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

SublimeText3 Linux new version
SublimeText3 Linux latest version

DVWA
Damn Vulnerable Web App (DVWA) is a PHP/MySQL web application that is very vulnerable. Its main goals are to be an aid for security professionals to test their skills and tools in a legal environment, to help web developers better understand the process of securing web applications, and to help teachers/students teach/learn in a classroom environment Web application security. The goal of DVWA is to practice some of the most common web vulnerabilities through a simple and straightforward interface, with varying degrees of difficulty. Please note that this software

PhpStorm Mac version
The latest (2018.2.1) professional PHP integrated development tool

SublimeText3 Chinese version
Chinese version, very easy to use

MinGW - Minimalist GNU for Windows
This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.
