USB 写(USB Write)访问或USB 写(USB Write)保护是可以为任何USB 数据(USB Data)存储启用的安全功能。启用USB(USB)写访问的主要目的是维护USB数据存储的完整性。在这篇文章中,我们将向您展示在Windows 10上启用或禁用(Windows 10)USB 写入(USB Write)访问的方法。
通过启用写保护,磁盘中的数据将不会被修改。因此,它可以防止PC 用户对USB 数据存储的(USB Data)病毒攻击或未经授权的文件从Windows 10操作系统访问/复制到USB驱动器。(USB)
USB驱动器有两种可用的写(Write)保护,即:
硬件(Hardware)写保护主要在读卡器或软盘中可用。在硬件写保护中,读卡器的侧面会有一个机械开关,在软盘中,左下角会有一个黑色的滑动块。一旦拉动此开关,则启用写保护。要关闭/禁用,只需向下滑动开关。
在这篇文章中,我们将了解如何使用软件方法启用或禁用USB 写入访问。(USB Write)
在Windows 10上启用或禁用USB 写保护(USB Write Protection)
您可以通过以下两种方式之一在Windows 10上启用或禁用USB 写保护:(USB Write Protection)
- 注册表编辑器
- 本地组策略编辑器
让我们详细了解每种方法所涉及的步骤。
1]通过注册表编辑器(Registry Editor)打开(Turn)或关闭USB写保护(Off USB Write Protection)
这是注册表操作,建议您备份注册表(back up the registry) 或 创建系统还原点 ,以防程序出错。采取必要的预防措施后,您可以进行以下操作:
- 按Windows 键(Windows key) + R 调用“运行”对话框。
- 在“运行”对话框中,键入regedit并按 Enter打开注册表编辑器(open Registry Editor)。
- 导航或跳转到下面的注册表项路径:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control
- 在左侧窗格中,右键单击Control键并选择New > Key并将其命名为StorageDevicePolicies并按 Enter。
- 现在,单击StorageDevicePolicies。
- 在右侧窗格中,右键单击空白区域并选择New > DWORD(32 位)值(Value)并将其命名为WriteProtect,然后按 Enter。
- 接下来,双击WriteProtect以编辑其属性。
- 在数值(Value)数据框中输入1 ,然后按(1)Enter保存更改。
- 重新启动 PC 以使更改生效。
就是这样。您已通过注册表编辑器成功启用USB驱动器的(USB)写保护(Write Protection)。
如果您希望禁用写保护(Write Protection),请打开注册表编辑器并导航或跳转到下面的位置。
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\StorageDevicePolicies
在右窗格中,右键单击WriteProtect键并选择Delete。
重新启动 PC 以使更改生效。
阅读(Read):无法格式化 USB 驱动器(Can’t format USB Drive)。
2]通过本地组策略编辑器(Local Group Policy Editor)启用(Enable)或禁用USB写保护(USB Write Protection)
要通过本地组策略编辑器(Local Group Policy Editor)启用或禁用USB 写保护(USB Write Protection),请执行以下操作:
- 按Windows key + R 调用“运行”对话框。
- 在运行对话框中输入gpedit.msc并按 Enter打开组策略编辑器(open Group Policy Editor)。
- 在本地组策略编辑器(Local Group Policy Editor)中,在左侧窗格中导航到以下路径:
Computer Configuration > Administrative Templates > System > Removable Storage Access
- 在右侧窗格中,滚动并找到可移动磁盘:拒绝写入访问(Removable Disks: Deny Write access)策略。
- 双击(Double-click)该策略以编辑其属性。
- 在策略属性窗口中,将单选按钮设置为Enabled。
- 单击应用(Apply)>确定(OK)以保存更改。
- 您现在可以退出本地组策略编辑器(Local Group Policy Editor)。
- 接下来,按Windows key + R,键入cmd并按Enter打开Command Prompt。
- 输入(Input)下面的命令,然后按 Enter(Enter)。
gpupdate /force
更新策略后,重新启动计算机以使更改生效。
删除(Remove):媒体是写保护(Media is Write Protected)消息。
就是这样。您已通过本地组策略编辑器(Local Group Policy Editor)成功启用USB驱动器的(USB)写保护(Write Protection)。
如果您希望禁用写保护,请重复上述步骤,但对于策略,将单选按钮设置为已禁用(Disabled)或未配置(Not Configured)。
I hope you find this post useful!
提示(TIP):USB 写保护(USB Write Protect)是一个免费工具,可让您通过单击启用或禁用写保护USB。
How to enable or disable USB Write Protection on Windows 10
USB Write access or USB Write protection іs the seсυrity feature that can be enablеd for any USB Data storagе. The main purpose of enabling USB wrіte access is to maintain the intеgrity of USB data storage. Іn this post, we will show you the ways you can enable or disable USB Write accеss on Windows 10.
By enabling Write protection, the data in the disk will not be modified. Thus it can prevent virus attack on USB Data storage or unauthorized file access/copy from Windows 10 OS to a USB drive by PC users.
There are two kinds of Write protection available for USB drives viz:
- Hardware Write Protection.
- Software Write Protection.
Hardware writes protection is mostly available in the card reader or floppy disks. In hardware write protection there will be a mechanical switch at the side of the card reader, in floppy, there will be a black slidable block in the lower-left corner. Once this switch is pulled over then the write protection is enabled. To turn off/disable just slide down the switch.
In this post, we are going to look at how to enable or disable USB Write access using the software method.
Enable or disable USB Write Protection on Windows 10
You can enable or disable USB Write Protection on Windows 10 either of two ways via:
- Registry Editor
- Local Group Policy Editor
Let’s take a detailed look at the steps involved concerning each method.
1] Turn On or Off USB Write Protection via Registry Editor
This is a registry operation, so it is recommended that you back up the registry or create a system restore point in case the procedure goes wrong. Once you have taken the necessary precautionary measures, you can proceed as follows:
- Press Windows key + R to invoke the Run dialog.
- In the Run dialog box, type regedit and press Enter to open Registry Editor.
- Navigate or jump to the registry key path below:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control
- On the left pane, right-click on the Control key and choose New > Key and name it as StorageDevicePolicies and hit Enter.
- Now, click StorageDevicePolicies.
- On the right pane, right-click on a blank space and choose New > DWORD (32-bit) Value and name it as WriteProtect and hit Enter.
- Next, double-click on WriteProtect to edit its Properties.
- Input 1 in the Value data box and press Enter to save the change.
- Restart the PC for the changes to take effect.
That’s it. You have successfully enabled Write Protection for USB drives via registry editor.
If you wish to disable the Write Protection, open registry editor and navigate or jump to the location below.
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\StorageDevicePolicies
On the right pane, right-click the WriteProtect key and select Delete.
Restart the PC for changes to take effect.
Read: Can’t format USB Drive.
2] Enable or disable USB Write Protection via Local Group Policy Editor
To enable or disable USB Write Protection via Local Group Policy Editor, do the following:
- Press Windows key + R to invoke the Run dialog.
- In the Run dialog box type gpedit.msc and press Enter to open Group Policy Editor.
- Inside the Local Group Policy Editor, on the left pane navigate to the path below:
Computer Configuration > Administrative Templates > System > Removable Storage Access
- On the right pane, scroll and locate the Removable Disks: Deny Write access policy.
- Double-click on the policy to edit its properties.
- On the policy properties window, set the radio button to Enabled.
- Click Apply > OK to save the changes.
- You can now exit the Local Group Policy Editor.
- Next, press Windows key + R, type cmd and hit Enter to open Command Prompt.
- Input the command below and hit Enter.
gpupdate /force
Once the policy is updated, restart your computer for the changes to take effect.
Remove: Media is Write Protected message.
That’s it. You have successfully enabled Write Protection for USB drives via Local Group Policy Editor.
If you wish to disable the Write Protection, repeat the steps above, but for the policy, set the radio button to Disabled or Not Configured.
I hope you find this post useful!
TIP: USB Write Protect is a free tool that lets you enable or disable Write-protect USB with a click.