Physical Write-Protect Switches
Before diving into software fixes, inspect the physical hardware of the USB drive. Many external drives, especially high-capacity models like 16TB units, feature a small mechanical slider on the side or end of the casing. This switch physically cuts write access at the controller level to prevent accidental data modification.
- Locate the Slider: Examine all sides of the USB connector and the main body. Look for a tiny plastic tab that can be moved up or down.
- Toggle the Position: If found, slide it to the opposite position from where it currently sits. Often, users accidentally bump this switch when storing drives in bags or pockets.
- Test Again: Reconnect the drive to the problematic Windows 11 computer and attempt to copy a file. If the error persists, the issue is likely logical or driver-related rather than physical.
If your drive does not have a physical switch, proceed to the next section regarding logical attributes. For more details on hardware-level read-only issues, see USB Drive Suddenly Read-Only.
Clearing the Read-Only Attribute with Diskpart
Windows may mark a drive as read-only due to a corrupted file system table or a previous improper ejection. The Command Prompt utility diskpart allows you to manually override this attribute. This method is highly effective for USB drives that are recognized but locked against writing.
- Open Command Prompt as Administrator: Press
Win + S, typecmd, right-click "Command Prompt," and select "Run as administrator." - Launch Diskpart: Type
diskpartand press Enter. You will see theDiskPart>prompt. - List Disks: Type
list diskand press Enter. Identify your USB drive by its size (e.g., 14 TB or 16 TB). Be extremely careful to select the correct disk number to avoid wiping your internal SSD. - Select the Disk: Type
select disk X(replace X with your USB drive number) and press Enter. - Clear Attributes: Type
attributes disk clear readonlyand press Enter. You should see a message confirming that the disk attributes were cleared successfully. - Eject and Retry: Type
exitto close Diskpart, then safely eject the drive. Reconnect it and test writing a file.
If attributes disk clear readonly fails with an error, the file system may be severely corrupted, requiring a format or repair via chkdsk.
Checking File System Errors with Chkdsk
When a drive is accessed improperly, the NTFS or exFAT file system metadata can become inconsistent. Windows often locks the drive in read-only mode to prevent further data loss. The chkdsk command scans and repairs these logical errors without necessarily deleting your files.
To run this diagnostic:
- Open Admin Command Prompt: Follow the same steps as above to open an elevated Command Prompt.
- Identify the Drive Letter: Note the letter assigned to the USB drive (e.g., E:, F:).
- Run the Repair Command: Type
chkdsk X: /f /r(replace X with your drive letter) and press Enter. - Wait for Completion: The process may take several hours for a 16TB drive. Do not interrupt it. If it finds errors, it will fix them automatically.
- Retry Writing: Once complete, try copying files again. If successful, the logical corruption was the root cause.
Driver and Controller Conflicts
Sometimes, the issue lies not with the drive itself but with how Windows 11 manages USB controllers on the specific machine. A faulty driver state or power management setting can cause write failures while leaving reads functional.
Try updating or reinstalling the USB drivers:
- Device Manager: Right-click the Start button and select "Device Manager."
- Expand USB Controllers: Locate "Universal Serial Bus controllers" and expand the list.
- Uninstall Drivers: Right-click each "USB Root Hub" and "USB Host Controller" entry, select "Uninstall device," and confirm. Do not worry; these will reinstall automatically.
- Restart: Reboot your computer. Windows will detect the USB drive anew and install fresh drivers upon reconnection.
Additionally, check the "Power Management" tab for each USB Root Hub in Device Manager. Ensure that "Allow the computer to turn off this device to save power" is unchecked, as aggressive power saving can sometimes disrupt write operations on high-draw devices.
Formatting the Drive
If all else fails, the file system may be irreparably damaged. Formatting will erase all data, so backup any readable files first. Since the drive works on another computer, connect it there, copy critical data, then return to the problematic machine to format.
- Open Disk Management: Press
Win + Xand select "Disk Management." - Right-Click the Drive: Find your USB drive in the lower pane.
- Select Format: Choose "Format..." and select either NTFS (for large files and Windows compatibility) or exFAT (for cross-platform use).
- Complete Process: Click OK. This creates a fresh file system structure, removing any lingering read-only flags.
Frequently Asked Questions
Why does my USB drive work on one PC but not another?
This discrepancy usually indicates that the issue is specific to the second computer's configuration, such as corrupted drivers, Group Policy restrictions, or a different USB port version. It rarely means the drive is physically broken if it functions correctly elsewhere.
Can I recover data from a read-only USB drive?
Yes, because the drive is still readable, you can copy files to your internal hard drive or cloud storage. Use the working computer to perform the backup before attempting any repairs or formatting on the problematic machine.
Is it safe to force-format a read-only drive?
It is safe provided you have backed up your data, as formatting erases everything. However, if the drive is physically locked via a hardware switch, formatting will fail until the switch is toggled. Always rule out physical switches first.
What causes the 'The media is write protected' error?
This error is triggered by three main factors: a physical write-protect switch on the device, a logical read-only attribute set by Windows due to errors, or a failing flash memory controller that locks the drive to preserve remaining data.
Should I use NTFS or exFAT for a 16TB USB drive?
NTFS is recommended for Windows-only usage as it handles large files and permissions better. exFAT is preferable if you need to transfer files between Windows and macOS systems, though both support large partition sizes.