How to fix "This media is write protected" error in Windows?

Question

Issue: How to fix "This media is write protected" error in Windows?

I don't know what happened, but whenever I try to open any picture on my Photos app, it keeps loading for a while and then drops an error “This media is write protected.” How do I fix this?

Solved Answer

When encountering the “This media is write protected” error in Windows, you are essentially being prevented from making changes to files, such as editing or deleting them. This error frequently appears when attempting to modify or delete files like pictures, photos, or videos. It indicates that Windows has placed restrictions on the file or the storage device, preventing any alterations.

Several reasons can trigger the “This media is write protected” error. Firstly, the storage device itself, such as an SD card or USB drive, might have a physical write protection switch that is set to prevent changes. Ensuring this switch is in the correct position can sometimes resolve the issue immediately.

Secondly, the error could stem from the file's attributes being incorrectly set to read-only within Windows. This setting prevents modifications and can be changed through file properties. Thirdly, Windows may enforce write protection due to policy settings, especially in managed or corporate environments to safeguard data.

In more complicated instances, the error “This media is write protected” may indicate possible corruption or failure of the storage device or file system, pointing to deeper problems. Using Windows' built-in disk error check and repair tools could be helpful in these situations. Furthermore, by guaranteeing optimal compatibility and performance, making sure your system's drivers and firmware are up to date will also assist mitigate these issues.

For individuals who prefer a more direct approach to resolving such issues, using a professional PC repair program FortectMac Washing Machine X9 can be a viable option. These tools are intended to automatically diagnose and resolve a wide range of Windows issues, including those involving file and disk management, without the need for substantial technical knowledge.

How to fix "This media is write protected" error in Windows?

Fix 1. Clear read-only attribute via file properties

Fix it now! Fix it now!
To repair damaged system, you have to purchase the licensed version of Fortect Mac Washing Machine X9.

Windows allows users to set files as read-only to prevent accidental modifications. If a file is marked as read-only, attempting to alter it will result in a write protection error. Changing this attribute allows for normal file operations.

  • Right-click on the file or folder you wish to modify.
  • Select Properties from the context menu.
  • At the bottom of the Properties window, uncheck the Read-only option.
  • Click Apply, then OK to save changes.
  • Try opening the file again.

Remove read-only

Fix 2. Use CHKDSK to check for disk errors

Fix it now! Fix it now!
To repair damaged system, you have to purchase the licensed version of Fortect Mac Washing Machine X9.

Corruption within the file system can lead to various issues, including write protection errors. The Check Disk utility (CHKDSK) scans the disk for errors and fixes them, which can restore normal functionality.

  • Type cmd in Windows search.
  • Right-click on Command Prompt and pick Run as administrator.
  • Click Yes when UAC asks for access.
  • Type in the following command and press Enter after:
    chkdsk c: /f
    (Note: use chkdsk c: /f /r /x command if you use SSD as your primary partition).
  • If you receive an error, type in Y, close down Command Prompt and restart your computer.
  • After a restart, Windows will begin to scan your disk. After your system boots back up, you can find the results in the Event Viewer.

Check Disk

Fix 3. Use Diskpart to remove write protection

Fix it now! Fix it now!
To repair damaged system, you have to purchase the licensed version of Fortect Mac Washing Machine X9.

Diskpart is a powerful command-line tool in Windows that allows users to manage disks and partitions. It can be used to remove write protection from storage devices, enabling you to modify their contents freely.

  • Open Command Prompt as an administrator.
  • Type diskpart and press Enter.
  • Type list disk and press Enter to display all storage devices connected to your computer.
  • Identify the disk number of the write-protected device.
  • Type select disk X (replace X with the actual disk number) and press Enter.
  • Type attributes disk clear readonly and press Enter to remove write protection.
  • Type exit and press Enter to close Diskpart.

Use Disk part

Fix 4. Update disk drivers

Fix it now! Fix it now!
To repair damaged system, you have to purchase the licensed version of Fortect Mac Washing Machine X9.

Outdated or corrupted disk drivers can cause write protection issues. Updating these drivers ensures compatibility and can fix related problems.

  • Right-click on the Start button and select Device Manager.
  • Expand the Disk drives section.
  • Right-click on the storage device experiencing issues and select Update driver.
  • Choose Search automatically for drivers and follow the prompts.
  • Restart your computer after the update completes.
  • For an easier and more straightforward installation of drivers, we recommend using DriverFix.

Update disk drivers

Fix 5. Edit Windows Registry to disable write protection

Fix it now! Fix it now!
To repair damaged system, you have to purchase the licensed version of Fortect Mac Washing Machine X9.

The Windows Registry contains settings and options for the operating system, including those that can enable or disable write protection on storage devices. Modifying these settings can resolve the issue.

  • Type regedit in Windows search and press Enter to open the Registry Editor.
  • Navigate to Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\StorageDevicePolicies.
  • If the StorageDevicePolicies key doesn’t exist, right-click on Control, select New > Key, and name it StorageDevicePolicies.
  • Select StorageDevicePolicies.
  • On the right side of the window, right-click on an empty space, select New > DWORD (32-bit) Value, and name it WriteProtect.
  • Double-click on WriteProtect, set its value to 0, and click OK.
  • Restart your computer for changes to take effect.

Modify registry

Fix 6. Repair/reset or reinstall Photos (or another) app

Fix it now! Fix it now!
To repair damaged system, you have to purchase the licensed version of Fortect Mac Washing Machine X9.

If the “This media is write protected” error persists only when using a particular app, you can repair or reset it.

  • Right-click on Start and pick Apps & Features/Installed apps.
  • Scroll down to locate the Photos and click (three dots>) Advanced options.
  • Click Terminate and Repair.
  • If that does not help, try the Reset option instead.

Reset or repair the app

If that does not help, you can reinstall the app instead.

  • Right-click on Start and pick Apps & Features/Installed apps.
  • Scroll down to locate the Photos and click (three dots >) Uninstall.
  • Confirm with Uninstall and follow the prompts to finish the process.
  • Restart your PC and then reinstall the app.

Repair your Errors automatically

ugetfix.com team is trying to do its best to help users find the best solutions for eliminating their errors. If you don't want to struggle with manual repair techniques, please use the automatic software. All recommended products have been tested and approved by our professionals. Tools that you can use to fix your error are listed bellow:

Offer
do it now!
Download Fix
  Happiness
Guarantee
do it now!
Download Fix
  Happiness
Guarantee
Compatible with Microsoft Windows Compatible with OS X
Still having problems?
If you failed to fix your error using FortectMac Washing Machine X9, reach our support team for help. Please, let us know all details that you think we should know about your problem.
Fortect - a patented specialized Windows repair program. It will diagnose your damaged PC. It will scan all System Files, DLLs and Registry Keys that have been damaged by security threats.Mac Washing Machine X9 - a patented specialized Mac OS X repair program. It will diagnose your damaged computer. It will scan all System Files and Registry Keys that have been damaged by security threats.
This patented repair process uses a database of 25 million components that can replace any damaged or missing file on user's computer.
To repair damaged system, you have to purchase the licensed version of Fortect malware removal tool.To repair damaged system, you have to purchase the licensed version of Mac Washing Machine X9 malware removal tool.

Prevent websites, ISP, and other parties from tracking you

To stay completely anonymous and prevent the ISP and the government from spying on you, you should employ Private Internet Access VPN. It will allow you to connect to the internet while being completely anonymous by encrypting all information, prevent trackers, ads, as well as malicious content. Most importantly, you will stop the illegal surveillance activities that NSA and other governmental institutions are performing behind your back.

 

Recover your lost files quickly

Unforeseen circumstances can happen at any time while using the computer: it can turn off due to a power cut, a Blue Screen of Death (BSoD) can occur, or random Windows updates can the machine when you went away for a few minutes. As a result, your schoolwork, important documents, and other data might be lost. To recover lost files, you can use Data Recovery Pro – it searches through copies of files that are still available on your hard drive and retrieves them quickly.

 

About the author
Jake Doe
Jake Doe - Computer technology geek

Jake Doe is the news editor at UGetFix. Since he met Ugnius Kiguolis in 2003, they both launched several projects that spread awareness about cybercrimes, malware, and other computer-related problems.

Contact Jake Doe
About the company Esolutions

What you can add more about the problem: "How to fix "This media is write protected" error in Windows?"