Miyerkules, Marso 6

How to Fix read only file on external hard drive

In order to fix your external hard drive you can use this 2 method on how to fix your hard rive having a read only file. 



Method 1 - Using Disk Management Console

1. Open Disk Management either by using Computer Management from the Administrative Tools folder, by using Server Manager (if this is a Windows Server 2008/R2 machine), or by typing diskmgmt.msc and pressing Enter, or in windows xp just rght click the My Computer and go to manage and select Disk Management. 

2. After it loads, right-click the external disk and select Properties.

Instruction:

To solve this issue, you must use Diskaprt.

1. Open a Command Prompt with administrative privileges (Right-click > Run as Administrator).

2. Type diskpart and press Enter.

3. List the disks by typing:

Type: list disk

4. Select the external USB disk by typing (in my example the external disk was disk 2):

Type: select disk 2

5. List the disks by typing:

Type: list volume

6. Select the volume by typing (in my example the external disk was using volume 4):

Type: select volume 4

7. Set the read-only attributes for the disk and volume to be off:

Type: attr disk clear readonly

Type: attr volume clear readonly

8. Display the volume details:

Type: detail disk

9. Display the volume details:

 Type: detail volume


Method 2 - Using Disk Management Console

I usually use an external USB drive to backup my files, documents,  scripts, pictures and other important data. Recently, I was using a Samsung 1TB external drive and I was moving it back and forth between several machines.  I was using a different computer (actually, it was a laptop) than the one I was regularly using at the time and something happened to my external USB drive.


Right-click > New didn't work. In fact, it was not even showing on the screen.
The Delete button on the keyboard didn't work; pressing it didn't do anything.


Files, folders, the entire disk seemed to be write protected, or read-only.

In order to investigate this, I looked at the volume properties in Windows Explorer. Nothing indicated that it was read-only. Nor did the folders or files within. My user was a member of the local administrators group, and these had Full Control. I also checked to see if there were no specific Deny permissions, and the answer was negative.

Looking at the ownership of the files and folders showed that it was not the problem. I was a local administrator, so there was no issue there:




Notice that there is no reference to the fact that the disk is read-only.


On the Security tab, also note that (in this case) the administrators group has Full Control permissions (my user is a member of that group), and that no individual deny permissions are assigned to any user or group.


However, if you do try to edit existing file or folder permissions you may get an error similar to this:

Unable to save permission changes on "XYZ".
The media is write protected.



In the Advanced > Ownership tab, note that (in this case) the administrators group has ownership (my user is a member of that group).


In order to further troubleshoot, I inserted the disk into a different computer, and behold, it worked like a charm. Inserting it back into this laptop caused it again to become read-only. Clearly, it wasn't an NTFS permissions issue, otherwise it would have been read-only on the other computer as well. But that was not the case.

Walang komento:

Mag-post ng isang Komento