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

Feb 19, 2025 pm 08:01 PM

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

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

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

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

What's New in Windows 11 KB5054979 & How to Fix Update Issues What's New in Windows 11 KB5054979 & How to Fix Update Issues Apr 03, 2025 pm 06:01 PM

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

How to fix KB5055523 fails to install in Windows 11? How to fix KB5055523 fails to install in Windows 11? Apr 10, 2025 pm 12:02 PM

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

How to fix KB5055518 fails to install in Windows 10? How to fix KB5055518 fails to install in Windows 10? Apr 10, 2025 pm 12:01 PM

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

How to fix KB5055612 fails to install in Windows 10? How to fix KB5055612 fails to install in Windows 10? Apr 15, 2025 pm 10:00 PM

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

How to fix KB5055528 fails to install in Windows 11? How to fix KB5055528 fails to install in Windows 11? Apr 10, 2025 pm 12:00 PM

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: What's New & What if It Fails to Install Windows 11 KB5055528: What's New & What if It Fails to Install Apr 16, 2025 pm 08:09 PM

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

Fix This Module Is Blocked from Loading into LSA Fix This Module Is Blocked from Loading into LSA Apr 02, 2025 pm 08:01 PM

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

What if KB5055523 Fails to Install? Here Are Some Solutions What if KB5055523 Fails to Install? Here Are Some Solutions Apr 11, 2025 pm 08:01 PM

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

See all articles