Skip to content

Fix The Disk Media Is Write Protected Error Now

Looking for a solution to fix the “Disk Media Is Write Protected” error?

Utilize Software Solutions for Removal

Software Solution Description
1. Diskpart Command Using the diskpart command in Command Prompt to remove the write protection from the disk.
2. Registry Editor Editing the registry to remove the write protection from the disk.
3. Third-party Software Using third-party software like EaseUS Partition Master to remove the write protection from the disk.

Verify the Physical Lock Switch

If the disk media is still write protected, try using a different USB port on your computer or try the disk on another computer to rule out any hardware issues.

If the issue persists, it may be related to a software problem. Run a full system scan with your antivirus software to check for any malware or viruses that may be causing the write protection error.

Additionally, check the Windows Registry for any incorrect settings that may be causing the error. Use the Command Prompt to run the System File Checker tool to scan and repair any corrupted system files that could be contributing to the problem.

Alter Attributes Through Properties

To alter attributes through properties and fix the disk media is write protected error, follow these steps. First, open File Explorer and locate the file or folder causing the issue. Right-click on the file or folder and select Properties. Next, go to the Security tab and click on Advanced. In the Advanced Security Settings window, click on Change next to the Owner field. Enter your username and click Check Names, then click OK.

Close all windows and go back to the file or folder properties. Under Attributes, uncheck the Read-only box and click Apply. Restart your computer to apply the changes.

Execute CMD Commands

To fix the “The Disk Media Is Write Protected” error, you can try executing CMD commands. First, open the Command Prompt as an administrator by searching for “cmd” in the Windows search bar, right-clicking on “Command Prompt,” and selecting “Run as administrator.”

Once Command Prompt is open, type the following command:

diskpart

This will open the Diskpart utility. Next, type the following commands one by one:

list disk

This will display a list of all disks connected to your computer. Identify the disk that is write-protected (it will have a “W” under the “RO” column).

select disk X (replace X with the number of the write-protected disk)

attributes disk clear readonly

This command will clear the write protection from the disk. Once you receive a message that the disk attributes have been cleared successfully, you can exit Diskpart by typing:

exit

Finally, close Command Prompt and check if the write protection error has been resolved.

Conduct a Virus Scan

  • Initiate a virus scan on your computer to check for any malicious software that may be causing the write protection error.

Modify Registry Write-Protect Key

Registry Editor icon

To modify the Registry Write-Protect key and fix the “Disk Media Is Write Protected” error, follow these steps:

1. Press the Windows key + R to open the Run dialog box.
2. Type “regedit” and hit Enter to open the Registry Editor.
3. Navigate to “HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\StorageDevicePolicies”.
4. Right-click on “WriteProtect” and select Modify.
5. Change the Value data to “0” and click OK.
6. Close the Registry Editor and restart your computer to apply the changes.

Format for Reuse

To fix the “Disk Media Is Write Protected” error, you can try removing the write protection from the disk. First, insert the affected disk into your computer and then open File Explorer. Right-click on the disk drive that is showing the error message and select “Properties”. Next, go to the “Security” tab and check the permissions settings. If necessary, adjust the settings to allow writing to the disk.

Additionally, you can use the Command Prompt to fix the error. Open the Command Prompt as an administrator and then type “diskpart”. Enter the command “list disk” to see a list of all disks connected to your computer. Select the disk that is write-protected by typing “select disk X”, replacing X with the disk number. Finally, type “attributes disk clear readonly” to remove the write protection.

After following these steps, restart your computer to see if the error has been resolved. If you continue to experience issues, consider running a virus scan to ensure that malware is not causing the problem.

FAQ

How to remove media write-protected?

To remove media write-protected, you can open “File Explorer”, select the write-protected files, right-click the file, click “Properties”, and uncheck the “Read-Only” option under the “General” tab.

How to fix the disk is write-protected?

To fix the disk that is write-protected, you can check for a physical lock on the drive, disable write protection in the Registry, use Command Prompt to remove write protection, check account permissions, ensure the USB drive isn’t full, and make sure the drive is free from viruses.

How to remove disk write protection from hard drive?

To remove disk write protection from a hard drive, you can adjust the permissions on Windows by right-clicking on the drive, selecting “Properties,” and going to the “Security” tab. On macOS, you can modify the permissions under the “Sharing & Permissions” section using the “Get Info” option.

How do I remove write-protected files?

To remove write-protected files, you can access the Properties tab on Windows and uncheck the Read Only box for the file. On a Mac, you can run First Aid on a removable storage item to disable the write protection.

Was this article helpful?
YesNo