How to cancel the U disk write protection function in Win10?

  

Before we introduced the win10 system to add write protection to U disk and mobile hard disk, but many netizens want to know how to remove mobile devices such as U disk and "write protection" function. Now we should ask a lot of netizens to ask for a way, I hope to help everyone.

The method itself is not difficult, the diskpart command is used, the specific steps are as follows:

1, refer to the article mentioned at the beginning of this article, change the value of the registry value writeprotect to 0, if The registry does not have this project, create a new writeprotect according to the path mentioned above, the value data does not need to be changed, keep 0, as shown below ——

2, run the command prompt as administrator Character, execute diskpart, as shown below ——

3, wait a moment, after entering diskpart, execute the following command:

list disk

4, from the capacity should be able to determine the target U disk, execute the following command to select the U disk (as shown below):

select disk n (n refers to the U disk serial number, determined from the list above, this article Example selection 2)

5. After selecting, execute the following command:

attributes disk clear readonly

6, at this time<quo; Read & rdquo; that is, & ldquo; write protection & rdquo; should have been cleared, you can run the following command to verify (as shown above):

attributes disk

If you want to restore the U disk & ldquo; write protection & rd Quo; state, execute "ldorts disk set readonly" under diskpart, as shown below ——

In addition, if you want to use this command, you can't remember how to write Or, if you forgot how to use the command, you can also try to copy the contents of the U disk first, and then run “ format & rdquo; (not fast), may have some effect on some U disk.

Copyright © Windows knowledge All Rights Reserved