Win7 system related to write protection issues

  
Probably this is the case:
One day, handcuffs, in the process of opening the disk manager under win7, originally wanted to see your own mobile hard disk mounted on the system, but suddenly did not want to read, Forced to unplug the hard drive. As a result, the tragedy happened. After the mobile hard disk was plugged into the computer again, it was impossible to copy the file and delete the file, but the hard disk could be deleted on someone else's computer. (Of course, this situation does not necessarily happen. It is only my situation that I experienced). This is the so-called write protection (system permissions) issue.
The solution is as follows:
Check the information on the Internet to find a way to solve the problem.
First of all, I saw some posts on the Internet saying that I am going to change the registry. That kind of situation is only suitable for the early windwos operating system. After vista (vista this is my guess, based on win7 is vista upgrade) including win7 requires an additional solution.
is to use the diskpart command.
In the cmd (admin Morse) command line, type:
c:diskpart
list all the hard disks, in order to see which disk we want to remove write protection is the
diskpart>list disk
Select the disk to operate, 1 represents my mobile hard disk
diskpart>select disk 1
Remove write protection
diskpart>att disk clear readonly
End exit
diskpart>exit< Br> Here to explain, I am now to remove the write protection, if you want to add write protection to the hard disk? Just use clear, replace it with a set. However, the operation of adding write protection here is only valid for this system. The hard disk is not write-protected on other people's computers. If your mobile hard disk works on someone else's computer, you must write protection on the volume (just right) Disk setting).
diskpart
list vol
select vol J
att vol set readonly
En, this is a little bit of today's gain.

Copyright © Windows knowledge All Rights Reserved