search
HomeSystem TutorialWindows SeriesReset Windows 11 Password Using Command Prompt without Disk

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.

Reset Windows 11 Password Using Command Prompt without Disk


  • 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.

Reset Windows 11 Password Using Command Prompt without Disk

Step 2: If the User Account Control dialog pops up, click Yes to allow the Command Prompt app to open.

Reset Windows 11 Password Using Command Prompt without Disk

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.

Reset Windows 11 Password Using Command Prompt without Disk

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.

Reset Windows 11 Password Using Command Prompt without Disk

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.

Reset Windows 11 Password Using Command Prompt without Disk

Your PC will boot into the Windows recovery mode, which contains a series of advanced startup options. Choose Troubleshoot.

Reset Windows 11 Password Using Command Prompt without Disk

Choose Advanced options followed by Command Prompt, and the Command Prompt will open.

Reset Windows 11 Password Using Command Prompt without Disk

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.

Reset Windows 11 Password Using Command Prompt without Disk

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.

Reset Windows 11 Password Using Command Prompt without Disk

Setelah anda menentukan huruf pemacu OS anda, taip keluar dan tekan Enter untuk keluar dari alat DiskPart.

Reset Windows 11 Password Using Command Prompt without Disk

Taip gerakkan E:windowssystem32utilman.exe E: dan tekan Enter untuk mengalihkan fail utilman.exe ke direktori akar pemacu OS anda untuk sandaran.

Reset Windows 11 Password Using Command Prompt without Disk

Taip salin E:windowssystem32cmd.exe E:windowssystem32utilman.exe dan tekan Enter. Ini akan menyalin fail cmd.exe ke E:windowssystem32 dan menamakannya utilman.exe.

Reset Windows 11 Password Using Command Prompt without Disk

Taip wpeutil reboot dan tekan Enter untuk memulakan semula komputer anda ke Windows 11.

Reset Windows 11 Password Using Command Prompt without Disk

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 , sebagai contoh, pengguna bersih "Jess" 123456, dan kemudian tekan Enter untuk menetapkan semula kata laluan Windows 11 anda.

Reset Windows 11 Password Using Command Prompt without Disk

Setelah kata laluan ditetapkan semula, tutup tetingkap Command Prompt dan anda boleh log masuk ke Windows 11 dengan kata laluan baharu anda.

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.

Reset Windows 11 Password Using Command Prompt without Disk

Membungkus

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!

Statement
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
Alienware's New 240Hz 34-Inch QD-OLED Monitor Is Finally OutAlienware's New 240Hz 34-Inch QD-OLED Monitor Is Finally OutMay 02, 2025 am 03:05 AM

This monitor boasts extensive connectivity, featuring a DisplayPort 1.4 port (supporting up to 3440 x 1440 at 240Hz, DSC, and HDR) and two HDMI 2.1 FRL ports (also supporting 3440 x 1440 at 240Hz, FRL, HDR, and VRR). These high-speed HDMI 2.1 ports

How to Install Windows 11 With No TPM 2.0How to Install Windows 11 With No TPM 2.0May 01, 2025 pm 08:01 PM

Windows 10 support is ending in late 2025, prompting many users to upgrade to Windows 11. However, the TPM 2.0 requirement can be a significant hurdle. This guide outlines methods to install Windows 11 even without TPM 2.0, but proceed with caution.

Acer Has Two New Monitors for GamingAcer Has Two New Monitors for GamingMay 01, 2025 am 06:06 AM

The Acer Predator XB323QK V4 and Nitro XV240 F6: A Tale of Two Monitors Acer offers two distinct gaming monitors catering to different needs: the color-focused XB323QK V4 and the speed-demon XV240 F6. Let's break down their key features. The XB323QK

I Bought RAM and an NVMe on eBay, Here's How It WentI Bought RAM and an NVMe on eBay, Here's How It WentMay 01, 2025 am 06:01 AM

eBay: A Surprisingly Good Source for New Computer Hardware? While eBay is renowned for its diverse selection of used goods, it's not always the first place that springs to mind when purchasing new computer components. However, my recent experience s

I Upgraded My Laptop's RAM, the Performance Boost Wasn't What You'd ExpectI Upgraded My Laptop's RAM, the Performance Boost Wasn't What You'd ExpectMay 01, 2025 am 03:08 AM

Upgrading your aging laptop? Adding RAM is the easiest and often the only practical upgrade besides storage. My recent experience upgrading a Dell Latitude 5420 proved surprisingly impactful. More RAM Wasn't the Initial Goal My used Dell 5420, while

5 Reasons Why I Love Coiled Keyboard Cables5 Reasons Why I Love Coiled Keyboard CablesMay 01, 2025 am 03:07 AM

Let's be honest: unless you're a keyboard enthusiast, you've probably overlooked the cable bundled with your keyboard. But for those who appreciate the finer details, even a simple USB cable can be a source of aesthetic pleasure. 5 Reasons Why Coiled

Today's NYT Connections Hints and Answer for April 30th (#689)Today's NYT Connections Hints and Answer for April 30th (#689)May 01, 2025 am 03:05 AM

Today's NYT Connections Game Hints and Answers Need a hand with today's Connections game? Here are some clues to get you started: Yellow: Think about what's under your feet. Green: Where you rest your head (or bottom!). Blue: How others see you. Pu

Don't Waste Your Money on RGB, Buy a Better MotherboardDon't Waste Your Money on RGB, Buy a Better MotherboardMay 01, 2025 am 03:04 AM

Building a new PC? Don't get sidetracked by flashy RGB lighting! While those vibrant fans and memory sticks are tempting, overlooking the motherboard is a critical mistake. This often-underappreciated component is crucial for your PC's performance

See all articles

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

SublimeText3 Linux new version

SublimeText3 Linux new version

SublimeText3 Linux latest version

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

EditPlus Chinese cracked version

EditPlus Chinese cracked version

Small size, syntax highlighting, does not support code prompt function

WebStorm Mac version

WebStorm Mac version

Useful JavaScript development tools