Exact Steps on How to Bypass a Forgotten PIN Windows 10 CMD
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!

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

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

Windows 11 KB5054979 Update: Installation Guide and Troubleshooting For Windows 11 24H2 version, Microsoft has released cumulative update KB5054979, which includes several improvements and bug fixes. This article will guide you on how to install this update and provide a solution to the installation failure. About Windows 11 24H2 KB5054979 KB5054979 was released on March 27, 2025 and is a security update for Windows 11 24H2 versions.NET Framework 3.5 and 4.8.1. This update enhances security and

KB5055523 update is a cumulative update for Windows 11 version 24H2, released by Microsoft on April 8, 2025, as part of the monthly Patch Tuesday cycle, to offe

Windows update failures are not uncommon, and most users have to struggle with them, most often becoming frustrated when systems fail to install critical patche

Windows updates are a critical part of keeping the operating system stable, secure, and compatible with new software or hardware. They are issued on a regular b

Windows updates are essential to keep your system up to date, secure, and efficient, adding security patches, bug fixes, and new functionality for Windows 11 us

Windows 11 KB5055528 (released on April 8, 2025) Update detailed explanation and troubleshooting For Windows 11 23H2 users, Microsoft released the KB5055528 update on April 8, 2025. This article describes the improvements to this update and provides a solution to the installation failure. KB5055528 update content: This update brings many improvements and new features to Windows 11 23H2 users: File Explorer: Improved text scaling and improved accessibility to the file opening/save dialog and copy dialog. Settings page: Added "Top Card" function to quickly view processor, memory, storage and G

After upgrading Windows 11 24H2, you encounter an error "This module prevents loading to local security agency (mdnsNSP.dll)"? This article provides several solutions. Local Security Agency (LSA) protection is a security feature of Windows that helps prevent credentials used to log in to Windows. Many users receive the following error message after a fresh installation of Windows 11 24H2 and installing the latest version of iTunes: This module prevents loading to the local security authority. \Device\HarddiskVolume3\Program Files\Bonjour\mdnsNSP.dll for

Windows 11 KB5055523 Update improvement and installation failure solution This article will introduce improvements to the Windows 11 KB5055523 cumulative update and various ways to resolve update installation failures. KB5055523 Update Highlights KB5055523 is a cumulative update for Windows 11 24H2 released on April 8, which contains several improvements and innovations: AI Enhancements: Improved AI features such as improvements in Copilot, and support for smart options such as article summary and photo editing. Performance optimization: Fixed multiple system vulnerabilities to improve overall performance and stability. User experience modification
