When copying files or formatting your USB drive, if your computer says that ‘The disk is write protected‘ or something related to it means that the disk drive is currently has write protection enabled or real-only attribute is set, even you can not delete any files from the USB unless the real-only attribute will not be remove.
As shown in the screenshot below, when I try to format a write protected USB drive, I see the message.
Connect the USB and launch command prompt on your Windows PC as an administrator, type the following command in CMD and press Enter after each one:
DiskpartList DiskSelect Disk X, where X is the disk number of your USB drive.Attributes DiskAs you can see in the screenshot given above, if the value of ‘Current Read-only State‘ and ‘Read-only‘ is ‘Yes‘, that means write protection is currently enabled on your USB.
Follow the steps below:
DiskpartList DiskSelect Disk X, where X is the disk number of your USB drive.Attributes Disk Set ReadonlyAttributes Disk Clear ReadonlyNo, because it applies only to a computer or a PC that you used to enable the protection. If you connect the USB to another computer, then write protection will no longer work. Some USB manufacturers provide a hardware button or any software that enables write protection for all computers. Please check your USB manufacturer’s website for more information.
Palantir (PLTR) Stock Forecast Ahead of Q3 2025 Earnings As Palantir Technologies Inc. (NYSE: PLTR)…
In the current online environment, social media remarks are one of the most sought-after source…
Snowflake (NYSE: SNOW) reported its Q2 FY2026 earnings after market close today, beating analyst expectations…
Recently, we came across a query where the user can’t delete or recover deleted items…
In the digital world we live in today, how fast your webpage loads is super…
In the fast-moving world of online shopping today, your website only has a few seconds…