搜尋
首頁系統教程Windows系列使用命令提示字元重設 Windows 11 密碼,無需磁碟

如果您忘記了 Windows 11 密碼,並且想在不使用任何軟體和磁碟的情況下重置密碼,那麼命令提示字元(cmd.exe)是一個不錯的選擇。本文將向您展示如何在沒有磁碟的情況下使用命令提示字元重設 Windows 11 密碼。您不需要任何密碼重設盤或啟動盤,並且不會遺失任何資料。值得注意的是,使用命令提示字元只能重設本機帳戶​​的密碼,而不能重設 Microsoft 帳戶的密碼。

Reset Windows 11 Password Using Command Prompt without Disk


  • 方法1:登入時使用CMD重設Windows 11密碼
  • 方法2:鎖定時使用CMD重設Windows 11密碼

方法1:登入時使用CMD重設Windows 11密碼

您忘記了 Windows 11 密碼但仍然可以登入?當您的帳戶啟用了自動登錄,或者您有其他登入選項(例如 PIN)時,就會發生這種情況。如果是這樣,您可以在登入時使用命令提示字元輕鬆重設 Windows 11 密碼,而無需使用任何磁碟。

第 1 步:按一下 Windows 11 工作列上的「搜尋」圖示。在搜尋列中輸入cmd,當搜尋結果中出現命令提示字元時,按一下以管理員身分執行。

Reset Windows 11 Password Using Command Prompt without Disk

步驟 2:如果彈出「使用者帳戶控制」對話框,請按一下「是」以允許開啟命令提示字元應用程式。

Reset Windows 11 Password Using Command Prompt without Disk

步驟 3:在命令提示字元視窗中,輸入 net user 並按 Enter 鍵列出 Windows 11 上的所有使用者帳號。記下要重設密碼的帳戶的使用者名稱。

Reset Windows 11 Password Using Command Prompt without Disk

第四步:輸入net user「使用者名稱」密碼並按下回車鍵。將 username 替換為您要重設密碼的帳戶的使用者名,並將 password 替換為您想要的新密碼。一旦提示您命令成功完成,您的 Windows 11 密碼已重設。

Reset Windows 11 Password Using Command Prompt without Disk

方法2:鎖定時使用CMD重設Windows 11密碼

您忘記了 Windows 11 密碼並被完全鎖定且無法登入?如果這是您唯一的帳戶並且您沒有其他登入選項,則會發生這種情況。無論如何,別擔心。即使被鎖定,您仍然可以使用命令提示字元重設 Windows 11 密碼,而無需使用任何磁碟。請依照以下步驟操作。

第 1 步:啟動 Windows 11 至命令提示字元。

前往 Windows 11 登入畫面,然後按一下右下角的電源按鈕。然後按住鍵盤上的 Shift 鍵點擊「重新啟動」。

Reset Windows 11 Password Using Command Prompt without Disk

您的電腦將啟動進入Windows復原模式,其中包含一系列進階啟動選項。選擇疑難排解。

Reset Windows 11 Password Using Command Prompt without Disk

選擇進階選項,然後選擇命令提示符,命令提示字元將會開啟。

Reset Windows 11 Password Using Command Prompt without Disk

提示:如果您的電腦無法啟動到命令提示符,您需要使用可啟動的 USB 隨身碟重設 Windows 11 密碼。

步驟2:用cmd.exe取代utilman.exe。

在命令提示字元視窗中,輸入 diskpart 並按 Enter 鍵啟動 DiskPart 工具。

Reset Windows 11 Password Using Command Prompt without Disk

輸入listvolume並按Enter鍵列出電腦上的所有磁碟區。然後根據磁碟區大小或磁碟區標決定安裝Windows 11的作業系統磁碟機的磁碟機號碼。

Reset Windows 11 Password Using Command Prompt without Disk

Once you have determined your OS drive letter, type exit and press Enter to exit the DiskPart tool.

Reset Windows 11 Password Using Command Prompt without Disk

Type move E:windowssystem32utilman.exe E: and press Enter to move the utilman.exe file to the root directory of your OS drive for backup.

Reset Windows 11 Password Using Command Prompt without Disk

Type copy E:windowssystem32cmd.exe E:windowssystem32utilman.exe and press Enter. This will copy the cmd.exe file to E:windowssystem32 and name it utilman.exe.

Reset Windows 11 Password Using Command Prompt without Disk

Type wpeutil reboot and press Enter to restart your computer to Windows 11.

Reset Windows 11 Password Using Command Prompt without Disk

Step 3: Reset Windows 11 password using Command Prompt.

When you get to the Windows 11 login screen, click the Accessibility button (human icon) in the lower right corner. This will bring up a Command Prompt window.

In the Command Prompt window, type net user "username" password , for example, net user "Jess" 123456, and then press Enter to reset your Windows 11 password.

Reset Windows 11 Password Using Command Prompt without Disk

Once the password is reset, close the Command Prompt window and you can sign in to Windows 11 with your new password.

Step 4: Put back the utilman.exe file.

The utilman.exe file on your Windows 11 has been replaced with cmd.exe to reset your password. In the long run, this can be risky for your computer because anyone can click on the Accessibility icon on your Windows 11 login screen and then reset your password using the command prompt. To eliminate the risk, you'd better put back the Accessibility utility.

To do that, first sign in to your Windows 11 and open the Command Prompt as administrator.

In Command Prompt, type copy C:utilman.exe C:windowssystem32utilman.exe and press Enter. Type Yes and press Enter.

Reset Windows 11 Password Using Command Prompt without Disk

Wrapping Up

Command Prompt is a good option to reset your forgotten Windows 11 password without losing data. But the process is a bit cumbersome if you are locked out of your Windows 11 and can't log in, especially if you are a non-technical user and not good at using Windows commands. Using the wrong command can screw up your Windows 10 system. So, if you want an easier way to reset your Windows 11 password than using the Command Prompt, iSumsoft Windows Password Refixer is your best choice.

以上是使用命令提示字元重設 Windows 11 密碼,無需磁碟的詳細內容。更多資訊請關注PHP中文網其他相關文章!

陳述
本文內容由網友自願投稿,版權歸原作者所有。本站不承擔相應的法律責任。如發現涉嫌抄襲或侵權的內容,請聯絡admin@php.cn
如何將用戶界面添加到Windows' Winget實用程序如何將用戶界面添加到Windows' Winget實用程序May 02, 2025 am 06:04 AM

Windows缺乏便捷的軟件包管理器? UniGetUI來幫你! Linux系統的軟件包管理器非常方便,但Windows系統卻缺乏類似的工具。然而,借助一個免費的開源項目UniGetUI和Windows內置的命令行工具winget,你可以在Windows上獲得同樣的功能。 Windows缺失的最佳功能:便捷的軟件包管理器 軟件包管理器允許你添加和刪除程序、系統庫和驅動程序。你可以幾乎瞬間搜索程序,檢索有關它們的信息,並調整設置。 換句話說,它們是微軟商店夢寐以求的功能。 每個Linux發行版都有一

Arch Linux現在在Linux的Windows子系統中Arch Linux現在在Linux的Windows子系統中May 02, 2025 am 06:02 AM

Arch Linux正式加入Linux(WSL)家庭的Windows子系統! 不需要外部下載;安裝使用PowerShell輕而易舉: WSL-安裝Archlinux 首次WSL用戶需要首先運行此命令,然後是SY

Alienware的新240Hz 34英寸QD-OLED監視器終於熄滅了Alienware的新240Hz 34英寸QD-OLED監視器終於熄滅了May 02, 2025 am 03:05 AM

該監視器具有廣泛的連接性,具有DisplayPort 1.4端口(在240Hz,DSC和HDR上最多支持3440 x 1440)和兩個HDMI 2.1 FRL端口(還支持3440 x 1440在240Hz,FRL,HDR和VRR)。 這些高速HDMI 2.1端口

如何在沒有TPM 2.0的情況下安裝Windows 11如何在沒有TPM 2.0的情況下安裝Windows 11May 01, 2025 pm 08:01 PM

Windows 10支持將於2025年底結束,促使許多用戶升級到Windows 11。但是,TPM 2.0要求可能是一個重大障礙。 本指南概述了即使沒有TPM 2.0的方法,也要謹慎地安裝Windows 11。

Acer有兩個新的遊戲監視器Acer有兩個新的遊戲監視器May 01, 2025 am 06:06 AM

Acer Predator XB323QK V4和Nitro XV240 F6:兩個監視器的故事 Acer提供了兩個不同的遊戲監控器,可滿足不同的需求:以顏色為中心的XB323QK V4和Speed-Demon XV240 F6。 讓我們分解他們的關鍵特徵。 XB323QK

我在eBay上買了RAM和NVME,這就是它的發展我在eBay上買了RAM和NVME,這就是它的發展May 01, 2025 am 06:01 AM

eBay:新計算機硬件的出乎意料的好來源? 雖然eBay以多種二手商品的選擇而聞名,但它並不總是在購買新計算機組件時浮出水面的第一個地方。 但是,我最近的經驗

我升級了筆記本電腦的RAM,性能提升並不是您所期望的我升級了筆記本電腦的RAM,性能提升並不是您所期望的May 01, 2025 am 03:08 AM

升級您的老化筆記本電腦? 除存儲外,添加RAM是最簡單,通常是唯一的實用升級。我最近升級戴爾緯度5420的經驗被證明令人驚訝地影響了。 更多的公羊不是最初的目標 我用過的戴爾5420,而

我喜歡盤繞鍵盤電纜的5個原因我喜歡盤繞鍵盤電纜的5個原因May 01, 2025 am 03:07 AM

老實說:除非您是鍵盤愛好者,否則您可能會忽略與鍵盤捆綁在一起的電纜。但是,對於那些欣賞細節的人來說,即使是簡單的USB電纜也可以是美學樂趣的來源。 盤繞的5個原因

See all articles

熱AI工具

Undresser.AI Undress

Undresser.AI Undress

人工智慧驅動的應用程序,用於創建逼真的裸體照片

AI Clothes Remover

AI Clothes Remover

用於從照片中去除衣服的線上人工智慧工具。

Undress AI Tool

Undress AI Tool

免費脫衣圖片

Clothoff.io

Clothoff.io

AI脫衣器

Video Face Swap

Video Face Swap

使用我們完全免費的人工智慧換臉工具,輕鬆在任何影片中換臉!

熱工具

VSCode Windows 64位元 下載

VSCode Windows 64位元 下載

微軟推出的免費、功能強大的一款IDE編輯器

SublimeText3 英文版

SublimeText3 英文版

推薦:為Win版本,支援程式碼提示!

MantisBT

MantisBT

Mantis是一個易於部署的基於Web的缺陷追蹤工具,用於幫助產品缺陷追蹤。它需要PHP、MySQL和一個Web伺服器。請查看我們的演示和託管服務。

Atom編輯器mac版下載

Atom編輯器mac版下載

最受歡迎的的開源編輯器

SublimeText3漢化版

SublimeText3漢化版

中文版,非常好用