Home >Computer Tutorials >Computer Knowledge >Open USB disk and disable writing

Open USB disk and disable writing

WBOY
WBOYforward
2024-02-10 12:15:211151browse

php editor Baicao will introduce to you a very useful technique today - prohibiting writing to the USB disk. We all know that a USB flash drive is a very convenient storage device, but sometimes we may not want others to write files to our USB flash drive at will. At this time, disabling writing to the USB disk becomes a necessary operation. This article will introduce in detail how to turn on the write prohibition function of the USB flash drive to make your data more secure.


Open USB disk and disable writing


First enter regedit in the Start menu to enter the Registry Editor.


Open USB disk and disable writing


## Locate the "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Storage" item and see if there is a StorageDevicePolicies subkey .


Open USB disk and disable writing


#If not, right-click on the Storage item and select "New - Item" and change the name to "StorageDevicePolicies" . Note that you do not right-click on the right margin.


Open USB disk and disable writing


Next, right-click in the blank space to the right of the newly created StorageDevicePolicies subkey and select "New—DWORD ( 32-bit) value" and name it "WriteProtect".


Open USB disk and disable writing


Double-click this WriteProtect, and change the "numeric data" to 0 in the pop-up dialog box.


Open USB disk and disable writing


At this time, restart the computer and insert the USB flash drive. The write protection should be removed. If it still doesn't work, the last feasible way is to perform mass production repair and completely reset the USB flash drive. However, the price of this is that the USB flash drive data cannot be retrieved.


Open USB disk and disable writing


The above is the detailed content of Open USB disk and disable writing. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:pc-daily.com. If there is any infringement, please contact admin@php.cn delete