Windows XP Windows 7 Windows 2003 Windows Vista Windows 綜合教學 Linux 系統教學
Windows 10 Windows 8 Windows 2008 Windows NT Windows Server 電腦軟體教學
您现在的位置: Windows教程網 >> Windows教程 >  >> Windows 綜合教學 >> 關於 Windows

Win10 解除 USB 隨身碟寫入保護:diskpart 清除唯讀屬性

編輯:關於 Windows

先前介紹過啟用 USB 寫入保護,本文說明如何解除。核心步驟:註冊表 WriteProtect 設為 0,配合 diskpart 清除磁碟唯讀屬性。

操作步驟

  1. 註冊表 HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\StorageDevicePolicies\WriteProtect 數值設為 0(無此鍵則新建 DWORD 值為 0)。
  2. 以管理員身分執行命令提示字元,依序輸入:
diskpart
list disk
select disk n   (n 為目標 USB 隨身碟編號,依容量判斷)
attributes disk clear readonly
attributes disk   (驗證 Read-only 顯示 No 即成功)

  1. 若需恢復寫入保護,diskpart 下執行 attributes disk set readonly。

備案方案: 若指令無效,備份資料後執行「完整格式化」(非快速格式化),對某些隨身碟有效。

Copyright © Windows教程網 All Rights Reserved