Open USB disk and disable writing

WBOY
Release: 2024-02-10 12:15:21
forward
1125 people have browsed it

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!

Related labels:
source:pc-daily.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template