Device Media – Disk Is Write Protected USB Problem – Solution

Useful Trick For Disabling Write Access To Removable USB Mass Storage Devices

USB drive is a removable mass storage device which is generally used to store and transfer data. This portable storage device is lightweight and handy to use which makes it a more preferred storage option as compared to CD, zip drive disk or floppy disk.

It is possible that you disable USB (Universal Serial Bus) drive’s access to the various USB mass storage devices such as USB key, pen drive, portable hard disk, flash drive and thumb drive while allowing the USB hardware devices such as keyboard, printer, mouse, webcam and scanner linked to USB ports to work normally, using a registry hack.

However, this registry hack disables the access to USB drive completely preventing the user from copying data to USB disk storage and reading files/ documents from USB storage device.

If you wish to disable only the write access to external removable USB disk drive, you need to use a different registry hack of registry entry “WriteProtect” in the registry key “StorageDevicePolicies” for restricting Windows from writing onto the USB drive, thereby preventing the user from copying any sensitive information from the computer to the USB drive.

This registry hack works in a manner very much similar to write-protect aspect used in backup tape and floppy disk which makes the disk “read-only”. However, the system wide implementation of this registry trick blocks any recording/ writing of data to the removable USB device.

Just follow the simple steps mentioned below for disabling write access to all USB drives and allowing read-only access only:

1> Choose “Run” option from the Start Menu. Type “regedit” into the run command box and press “Enter” to open the “Registry Editor”.
2> Locate the registry key mentioned below:


3> Then create a new registry key and name it as “StorageDevicePolicies
4> Select and highlight the key “StorageDevicePolicies” and create a new DWORD value. Name it as “WriteProtect”.
5> Double-click on “WriteProtect” and fix its value data as ‘1′.

Once the setting is done, no user on the PC will be allowed to copy, transfer or write any data or files/ documents to the USB drives. If you attempt to copy or download files from the computer to the removable USB drive, an error message will appear notifying you that the disk and media is write-protected and you need to either utilize another disk or eliminate the write protection.
If you wish to revert the setting or enable write access to all USB drives in future, you simply need to delete the registry key “StorageDevicePolicies” or the registry entry “WriteProtect” or alter the “WriteProtect” value data to 0.

For some reason, if you do not want to edit the registry manually, you can download the below mentioned registry registration files in order to enable/ disable write protection (or block the attempt to write) to the USB removable drive.

DisableWriteToUSB.reg (to be extracted from

EnableWriteToUSB.reg (to be extracted from

Double-click on the .reg file once it is extracted from .zip archive and merge the registry entries.

This trick works well with most Windows operating systems including Windows Vista, XP SP2 & 3, Server 2008 and 2003.

Related post:

1> How to enable write protected USB.

How Can I Enable Or Disable Write Protection Of A 3½ inch Floppy Disk ?

What Does Write Protection Mean In Floppy Disk ?

Write protection is one of the helpful safety feature that is in built in 3½ inch Floppy Disks. In order to ensure that nobody copies files to the 3½ inch Floppy Disk or delete a file/s from Floppy disk, the 3½ inch Floppy disk will be write protected. But most people discover it through an abrupt message which they’d encounter while trying to copy/delete a file / folder to/from the floppy disk:

How Can I Enable Or Disable Write Protection Of A 3½ inch Floppy Disk ?

How Can I Enable Or Disable Write Protection Of A 3½ inch Floppy Disk ?

To write-protect a 3½ inch floppy disk, look for a tiny black sliding tab in a square hole in the disk’s corner. Slide the tab with a pencil or your thumbnail so that the hole is uncovered. The 3½ inch Floppy disk is now write-protected.

To remove the write protection on a 3½ inch floppy disk, slide the little black plastic thingy so that the hole is covered up.

If you encounter the write-protect error, wait until the floppy drive stops making noise. Remove the disk, unwrite-protect the disk, and put it back in the drive. Then repeat what you were doing before you were so rudely interrupted.

One thing to keep in mind is that Write-protection messages are different than Access Denied messages.