如果您想在Windows 11/10格式化(format)写保护的USB 笔式驱动器(write-protected USB pen drive),您可以这样做。有三种方法可以格式化写保护的USB闪存驱动器,所有这些方法都内置在您的系统或您要格式化的设备中。无论是笔式驱动器、SD 卡还是其他任何东西,您都可以遵循相同的方法。
某些USB(USB)笔式驱动器和 SD 卡提供写保护或只读功能,可保护您的文件不被更改、删除、移动或操纵。换句话说,当写保护打开时,用户不能从USB驱动器复制任何新文件或移动文件。(USB)
但是,有时,您可能希望格式化写保护的笔式驱动器以存储新文件或由于某些其他原因。如果您按照传统的文件资源管理器(File Explorer)方法,您将收到一条错误消息,指出 磁盘已写保护(The disk is write-protected)。因此,您需要通过这些方法来绕过这个错误。
如何在Windows中(Windows)格式化写保护的 USB 笔式驱动器(Format Write-protected USB Pen Drive)
Windows 11/10中格式化写保护的USB笔式驱动器,请按照下列步骤操作:
- 使用写保护开关
- (Bypass)使用注册表(Registry)绕过写保护
- 使用DISKPART(DISKPART)命令删除写保护
要了解有关这些步骤的更多信息,请继续阅读。
1]使用写保护开关
一些USB笔式驱动器和 SD 卡带有写保护开关,可根据您的需要打开或关闭保护。尽管在您的设备上拥有它不是一项安全的功能,但某些设备确实拥有它。如果您的USB笔式驱动器或 SD 卡上附有写保护开关,您可以使用它来完成工作。您需要做的就是将开关滑动到另一端以关闭保护。之后,您可以使用 文件资源管理器中的本机(File Explorer)格式(Format) 选项来格式化设备。
2]使用注册表(Registry)绕过(Bypass)写保护
您可以在特定位置创建注册表项以禁用(Registry)USB设备的写保护。为此,请执行以下操作:
按 Win+R 打开运行提示。
键入 regedit 并点击 Enter 按钮。
单击 是 (Yes )选项。
导航到此路径:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control
右键单击 Control 并选择 New > Key。
将其命名为 StorageDevicePolicies。
右键单击(Right-click)StorageDevicePolicies并(StorageDevicePolicies)选择 New > DWORD (32-bit) Value。
将其命名为 WriteProtect。
将值数据保持为 0。
重新启动计算机并格式化USB笔式驱动器。
当您的设备没有物理写保护开关时,此方法可能是最简单的方法。
3]使用DISKPART命令删除(Remove)写保护
如果注册表(Registry)方法对您不起作用,您始终可以使用命令提示符中的 diskpart 命令删除写保护(Command Prompt)USB笔式驱动器的只读属性。为此,请执行以下操作:
- 按照本指南 打开提升的命令提示符(open the elevated Command Prompt) 窗口。
- 将USB设备插入计算机。
- 输入 diskpart 命令。
- 键入 list disk 命令以查找所有附加存储设备的列表。
- 记(Note)下磁盘号并输入以下命令: select disk [number]
- 输入这个命令: attributes disk clear read-only
- 关闭命令提示符窗口。
现在您可以打开文件资源管理器(File Explorer)并使用内置的 格式 (Format )选项来格式化笔式驱动器。
如何删除USB驱动器上的写保护?
有多种方法可以 删除 USB 驱动器上的写保护。例如,您可以 在注册表编辑器的(Registry Editor)StorageDevicePolicies子项中创建WriteProtect DWORD 值。此外,您可以使用DISKPART实用程序删除只读属性。
您如何写保护USB驱动器 Windows 10?
您可以使用 USB Write Protect ,这是一种在(USB Write Protect)Windows 11/10USB闪存驱动器进行写保护的工具。这是在Windows(Windows)计算机上对USB笔式驱动器、SD 卡等进行写保护的最简单方法。
就这样!希望它有所帮助。
阅读: (Read: )无法在 Windows 中格式化 USB 驱动器。(Can’t format USB Drive in Windows.)
How to Format Write-protected USB Pen Drive in Windows 11/10
If you want to format a write-protected USB pen drive on Windows 11/10, here is how you can do that. There are three methods to format a write-protected USB flash drive, and all of them are built into either your system or the device you are trying to format. Whether it is a pen drive, SD card, or anything else, you can follow the same method.
Write-protection or read-only functionality is available in some USB pen drives and SD cards that protect your files from being changed, deleted, moved, or manipulated. In other words, users cannot copy any new file or move files from the USB drive when the write-protection is turned on.
However, at times, you might want to format a write-protected pen drive to store new files or due to some other reasons. If you follow the traditional File Explorer method, you will get an error message saying The disk is write-protected. Therefore, you need to these methods to bypass this error.
How to Format Write-protected USB Pen Drive in Windows
To format write-protected USB pen drive in Windows 11/10, follow these steps:
- Use write-protection switch
- Bypass write-protection using Registry
- Remove write-protection using DISKPART command
To learn more about these steps, continue reading.
1] Use write-protection switch
Some USB pen drives and SD cards come with a write-protection switch that turns on or off the protection as per your needs. Although it is not a safe feature to have on your device, some devices do have it. If your USB pen drive or SD card has a write-protection switch attached to it, you can use it to get the job done. All you need to do is to slide the switch to the other end to turn the protection off. Following that, you can use the native Format option in File Explorer to format the device.
2] Bypass write-protection using Registry
You can create a Registry key in a specific location to disable write protection from your USB device. For that, do the following:
Press Win+R to open the Run prompt.
Type regedit and hit the Enter button.
Click on the Yes option.
Navigate to this path:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control
Right-click on Control and select New > Key.
Name it as StorageDevicePolicies.
Right-click on StorageDevicePolicies and select New > DWORD (32-bit) Value.
Name it as WriteProtect.
Keep the Value data as 0.
Restart your computer and format the USB pen drive.
This method is probably the easiest when your device doesn’t have a physical write-protection switch.
3] Remove write-protection using DISKPART command
If the Registry method doesn’t work for you, you can always use the diskpart command in Command Prompt to remove the read-only attributes of a write-protected USB pen drive. For that, do the following:
- Follow this guide to open the elevated Command Prompt window.
- Plug in your USB device to your computer.
- Enter the diskpart command.
- Type list disk command to find out the list of all attached storage devices.
- Note down the disk number and enter this command: select disk [number]
- Enter this command: attributes disk clear read-only
- Close the Command Prompt window.
Now you can open the File Explorer and use the in-built Format option to format the pen drive.
How do I remove write protection on a USB drive?
There are multiple ways to remove write protection on a USB drive. For example, you can create the WriteProtect DWORD value in the StorageDevicePolicies sub-key in Registry Editor. Also, you can use the DISKPART utility to remove the read-only attributes.
How do you write-protect USB drive Windows 10?
You can use USB Write Protect, a tool to write-protect USB flash drives on Windows 11/10. It is the easiest method to write protect a USB pen drive, SD card, etc., on your Windows computer.
That’s all! Hope it helped.
Read: Can’t format USB Drive in Windows.