A USB flash drive is a commonly used portable data storage equipment, nowadays.
In most cases, you might delete and manage files on the USB drive without hassles.
But in some cases, the problem that you cant delete files from a USB flash drive happens.

To help you out of this dilemma,MiniTool Solutionsgives this tutorial.
Right-clicking and choosing Delete from the context menu should be the well-known method to delete files.
But you may receive an error alert to prevent you from deleting files.
![]()
There are several situations when you cant delete files from a USB flash drive.
TypeVirus & threat protectionin Windows Search and hitEnterto bring up the corresponding window.
ChooseScan optionson the right pane.

Select one scan option according to your situation, then clickScan now.
To delete files in the USB drive that cannot be deleted, you should remove write protection first.
TypeCommand Promptinto the Windows Search bar.
![]()
Right-punch the best-matched result, then chooseRun as administrator.
- key in the following command lines and hitEnterat the end of each one.
SD card is write protected?

Learn how to remove write protection on micro SD card Samsung, SanDisk, etc.
in 8 ways on Windows 10. you could launch the Error Checking tool to detect the file system problem.
PressWin + Eto open File Explorer.

Right-choose the USB drive on the left side pane and choosePropertiesfrom the context menu.
Shift to theTool tab and select theCheckbutton under theError checkingsection.
Fix 4: Format the USB Drive
The last method is to format the USB drive.
![]()
MiniTool Partition Wizardis a comprehensive partition management tool.
you’re free to run this software to format and resize partitions for the basic needs.
After connecting the USB drive to the computer, launch the software.
![]()
Now, you’ve got the option to modify the parameters.
ClickOKto start the formatting process.
Then, you might preview the USB status.
If some information is wrong, you could undo the change and reset it.
ClickApplyat the bottom left to fully apply the change.
Are you bothered by the issue notification the media is write protected on Windows 10/11?
If so, the solutions given in this post are easy to follow.
Recovering files from formatted devices is different from Recycle Bin recovery.
You should seek help from professionaldata recovery software, like MiniTool Power Data Recovery.
Thisfree file recovery softwareis powerful torecover filesfrom formatted USB drive, unrecognized hard drive, and even unbootable computer.
A variety types of files are supported to preview and retrieve by this software.
Final Words
This is all about how to fix cant delete files from the USB drive.
If your files are lost during the fixing process, try MiniTool Power Data Recovery to get them back.
Hope this post gives you some inspiration.