If you forgot your Windows 11 password and want to reset it without using any software and disk, then Command Prompt (cmd.exe) is a good choice. This article will show you how to reset Windows 11 password using Command Prompt without disk. You don't need any password reset disk or bootable disk, and you won't lose any data. It's worth noting that using Command Prompt you can only reset passwords for local accounts, not Microsoft accounts.
- Method 1: Reset Windows 11 password using CMD while logged in
- Method 2: Reset Windows 11 password using CMD when locked out
Method 1: Reset Windows 11 password using CMD while logged in
You forgot your Windows 11 password but can still log in? This happens when automatic login is enabled for your account, or you have other sign-in options, such as a PIN. If so, you can easily reset your Windows 11 password using the Command Prompt while logged in without using any disk.
Step 1: Click the Search icon on your Windows 11 taskbar. Type cmd in the search bar, and when the Command Prompt appears in the search results, click Run as administrator.
Step 2: If the User Account Control dialog pops up, click Yes to allow the Command Prompt app to open.
Step 3: In the Command Prompt window, type net user and press Enter to list all user accounts on your Windows 11. Note down the username of the account for which you want to reset the password.
Step 4: Type net user "username" password and press Enter. Replace username with the username of your account for which you want to reset password, and replace password with the new password you want. Once you are prompted that the command completed successfully, your Windows 11 password has been reset.
Method 2: Reset Windows 11 password using CMD when locked out
You forgot your Windows 11 password and are totally locked out and unable to log in? This happens if it is your only account and you have no other login options. Anyway, don't worry. Even when locked out, you can still reset Windows 11 password using the Command Prompt without using any disk. Follow the steps below.
Step 1: Boot Windows 11 to Command Prompt.
Go to your Windows 11 login screen and click the Power button in the lower right corner. Then click Restart while holding the Shift key on your keyboard.
Your PC will boot into the Windows recovery mode, which contains a series of advanced startup options. Choose Troubleshoot.
Choose Advanced options followed by Command Prompt, and the Command Prompt will open.
Tips: If your PC can't boot to the Command Prompt, you need to reset Windows 11 password with a bootable USB drive.
Step 2: Replace utilman.exe with cmd.exe.
In the Command Prompt window, type diskpart and press Enter to launch the DiskPart tool.
Type list volume and press Enter to list all volumes on your computer. Then determine the drive letter of the OS drive where your Windows 11 is installed according to the volume size or volume label.
Setelah anda menentukan huruf pemacu OS anda, taip keluar dan tekan Enter untuk keluar dari alat DiskPart.
Taip gerakkan E:windowssystem32utilman.exe E: dan tekan Enter untuk mengalihkan fail utilman.exe ke direktori akar pemacu OS anda untuk sandaran.
Taip salin E:windowssystem32cmd.exe E:windowssystem32utilman.exe dan tekan Enter. Ini akan menyalin fail cmd.exe ke E:windowssystem32 dan menamakannya utilman.exe.
Taip wpeutil reboot dan tekan Enter untuk memulakan semula komputer anda ke Windows 11.
Langkah 3: Tetapkan semula kata laluan Windows 11 menggunakan Command Prompt.
Apabila anda sampai ke skrin log masuk Windows 11, klik butang Kebolehcapaian (ikon manusia) di penjuru kanan sebelah bawah. Ini akan memaparkan tetingkap Command Prompt.
Dalam tetingkap Command Prompt, taip kata laluan "nama pengguna" pengguna bersih
Langkah 4: Letakkan semula fail utilman.exe.
Fail utilman.exe pada Windows 11 anda telah digantikan dengan cmd.exe untuk menetapkan semula kata laluan anda. Dalam jangka masa panjang, ini boleh berisiko untuk komputer anda kerana sesiapa sahaja boleh mengklik ikon Kebolehcapaian pada skrin log masuk Windows 11 anda dan kemudian menetapkan semula kata laluan anda menggunakan gesaan arahan. Untuk menghapuskan risiko, lebih baik anda meletakkan semula utiliti Kebolehcapaian.
Untuk berbuat demikian, mula-mula log masuk ke Windows 11 anda dan buka Prompt Perintah sebagai pentadbir.
Dalam Prompt Perintah, taip
salin C:utilman.exe C:windowssystem32utilman.exe dan tekan Enter. Taip Yes dan tekan Enter.
Command Prompt ialah pilihan yang baik untuk menetapkan semula kata laluan Windows 11 anda yang terlupa tanpa kehilangan data. Tetapi prosesnya agak menyusahkan jika anda terkunci daripada Windows 11 anda dan tidak boleh log masuk, terutamanya jika anda seorang pengguna bukan teknikal dan tidak pandai menggunakan arahan Windows. Menggunakan arahan yang salah boleh merosakkan sistem Windows 10 anda. Jadi, jika anda mahukan cara yang lebih mudah untuk menetapkan semula kata laluan Windows 11 anda daripada menggunakan Prompt Perintah, iSumsoft Windows Password Refixer ialah pilihan terbaik anda.
The above is the detailed content of Reset Windows 11 Password Using Command Prompt without Disk. For more information, please follow other related articles on the PHP Chinese website!

Framework Desktop: The Good, the Bad, and the Unexpected The Framework Desktop, a compact PC emphasizing upgradability, largely delivers on its promise. iFixit's teardown reveals a design prioritizing standard components, making future upgrades sign

PowerToys: Supercharge Your Windows Work-From-Home Experience Working from home presents unique productivity challenges. Distractions abound, demanding a focused workspace. PowerToys helps optimize your home office, whether it's a dedicated space or

Retrieve lost Windows 10 product key: Two ways Have you lost your product key after installing genuine Windows 10? Don't worry, this article will introduce two ways to retrieve your keys so that you can reinstall the system in the future. Case 1: Windows 10 is installed but the key is lost Even if you get Windows 10 through a free upgrade or genuine installation, you can easily find the product key using the iSumsoft Product Key Finder as long as your computer works properly. Method 1: Use iSumsoft Product Key Finder Download and install: Download and install iSumsoft Product Key Finder to your computer. Find the product key: Start

In the second half of 2023, Microsoft released the Windows 11 23H2 system. Many users can't wait to upgrade their computer to the latest version, but some users encountered the error message "This computer does not meet the minimum requirements..." when trying to install Windows 11 23H2 on an unsupported computer. don’t worry! This article will provide a step-by-step guide to how to install Windows 11 23H2 on an unsupported computer. Let's get started! Note: Microsoft said, "Installing Windows 11 on unsupported computers is not recommended. If you choose to install Windows 11 on hardware that does not qualify, you should risk compatibility issues." allow

Upgrade to Windows 11: Enhance Your PC Gaming Experience Windows 11 offers exciting new gaming features that significantly improve your PC gaming experience. This upgrade is worth considering for any PC gamer moving from Windows 10. Auto HDR: Eleva

The 2024 ASUS Zenbook S 14: A Top-Tier MacBook Air Competitor The ASUS Zenbook S 14 (2024) emerges as a leading Windows alternative to Apple's MacBook Air, boasting significant upgrades. This refined ultraportable retains its lightweight design and

Recommended Best Ergonomic Keyboards in 2025 Ergonomic keyboards function the same as regular keyboards, but add support to reduce stress on wrists, hands and fingers. These keyboards are designed to keep your hands and wrists in a more natural position, helping to minimize muscle strain and prevent potential damage from prolonged typing. There are a wide variety of ergonomic keyboards available on the market, so be sure to consider which features are most important to you before purchasing. From layout to design, each type offers unique benefits based on your preferences and needs. Most ergonomic keyboards fall into two categories. The first category is the split keyboard, which, as the name suggests, divides the key layout into two parts for a more natural wrist posture. There are two types of split keyboards:

Enhance your Windows 10 PowerShell experience with these simple customization steps! This guide shows you how to adjust PowerShell fonts and enable automatic text wrapping for improved readability and optimal window fitting. Let's get started: Step 1


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

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

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

Atom editor mac version download
The most popular open source editor

Dreamweaver Mac version
Visual web development tools

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

SecLists
SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.
