Have you plugged in your USB to delete some files but cannot complete the action? Most of the time, the deletion process completes without any hassle. Sometimes, it happens that you can’t delete the files from a flash drive. It's frustrating, right? You might be wondering why the flash drive won't delete files. You need not worry more. We are here to help you! In this article, we'll shed light on the reasons and top 7 methods to fix can't delete files from the flash drive. 

can't delete files from flash drive
  1. Part 1: What Cause Files can't be Deleted form Pen Drive?
  2. Part 2: How to Recover Corrupted Files from Problematic USB Flash Drive in 3 steps?HOT
  3. Part 3: How to Fix the Issue of Cannot Deleted Folder/Files from Flash Drive?
  4. Part 4: People Also Ask

Part 1: What Causes Files Can't be Deleted from Pen Drive?

Pen drive won't delete files if you have reformatted the USB flash drive. Other than formatting, there are several situations when you can't delete files from the USB drive. Take a look at a few reasons:

  • You can't delete files from a USB flash drive if your flash drive has Write-Protection 
  • If the USB flash drive has a read-only property
  • If files and folders are in read-only mode
  • If the USB drive has been physically damaged 
  • If the USB drive is under virus attack

Part 2: How to Recover Corrupted Files from Problematic USB Flash Drive in 3 steps?

Sometime the files can’t be deleted from pen drive issue might cause by USB flash drive damaged or files corruption. If the USB flash drive has been damaged , you need to send the usb to repair. But what about the files stored on it? Since the flash drive might be corrupted, you may not access any data from it. Don’t worried, you still got a way to recover the corrupted files which store in the problematic USB - free try Tenorshare 4DDiG data recovery software. 4DDiG is all-in-one data recovery software to perform data recovery for all corrupted/formatted USB flash drive. 

  • It support data recovery not only from laptop/PC, but also from external devices, such as USB, SD card, external hard drive, etc
  • It support various file types recovery, including photos, videos, documents, and audio
  • It can recover lost data due to accidental deletion, crashed system, lost partition, and virus attack 
  • It is 100% safe

Tenorshare 4DDiG allows data recovery from USB flash drive lost due to accidentally formatting, deleting, virus attack, and damaged chips. You can follow these three easy steps to restore your data from a USB flash drive: 

Free Download
For PC

Secure Download

Free Download
For MAC

Secure Download

  1. Before starting recovery, install Tenorshare 4DDiG Windows Data Recovery on your PC. After installing 4DDiG, connect your USB flash drive to your PC. Then select a USB device on the interface. Once you have selected the USB flash drive, click the "Scan" button to look for the lost files on a USB drive.
  2. select SD card
  3. It take time to process the scanning process, once you see the scanned out files from USB, you can choose to preview them one by one.
  4. scan the SD card that won't format
  5. Now click on "Recover" to process data recovery, 4DDiG will recover the choose files or all scanned out files to choosen location, just remember that do not save the recovered files in the same location.
  6. recover lost data from SD card

This is how easily you can restore any corrupted file from a flash drive by yourself. Why don't you try 4DDiG on your problematic USB or corrupted file?

Part 3: How to Fix the Issue of Cannot Deleted Folder/Files from Flash Drive?

If you cannot delete files from a USB drive, we have researched the top 7 methods to fix the problem. Let's begin: 

Method 1: Remove Write-Protection from USB Flash Drive

If your flash drive is in write protection mode, you won't delete files from the USB flash drive. To start deletion, you need to remove write protection from your USB flash drive.

  1. Choose USB drive from file explorer, select properties, and right-click, untick Read-Only, and click on the 'Apply'.
  2. Moreover, if your flash drive has a switch, turn it on to remove the Write-Protection from your USB flash drive.
remove write protection of USB

After remove write protection on USB, try to deleted the files from flash drive again, if the files still can't be deleted, just move to the next method.

Method 2: Use Command Prompt to Delete Files

If you can't deleted files, then try to deleted files using the command prompt which is just a piece of cake.

Step 1: Open Command Prompt from the Start menu. Once Command Prompt appears, right-click on it and select 'Run as Administrator.

use command prompt to delete files

Step 2: Once the window line opens, use the del file path command and press enter. After executing the command, it will delete files from a USB flash drive that won't delete.

With a few command in command prompt, you should successfully fix the files can't be deleted from flash drive problems.

Method 3: Remove Read-Only Attributes with Diskpart Utility

If Your USB flash drive is in Read-Only mode, you might receive error message "can’t delete the file from the USB flash". In this case, you can use the Diskpart utility to remove Read-Only/ Write Protected attributes. Follow these easy steps if you cannot delete files from flash drive due to read-only attributes:

Step 1: Open Diskpart utility - Press Window+R, type Diskpart, and press Enter. 

Step 2: Type commands - On the window line, type the following commands:

  • list disk (To check the total external disks)
  • select Disk 1 (1 refer to the number of external hard drives)
  • attributes disk clear readonly
type command

After executing the above-mentioned commands, you'll see the ‘Disk attributes cleared successfully. Now, you can close the window and delete the files from your USB flash drive. 

Method 4: Make sure that the Flash Drive's Folders and Files are Not Set to Read-Only

You cannot delete files from a USB flash drive if the files are in read-only mode. Sometimes, files/folders can be changed to read-only mode after the system upgrade. To fix this problem, you can try Registry Editor to remove write protection.

Step 1: Press Window+R and type“regedit”. 

Step 2: Once the Registry Editor opens, go to this path 'Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\StorageDevicePolicies'.

Step 3: Double click on the Write-Protect.

Step 4: Change the number from 1 to 0.

Congratulations! Now you can restart your computer and reconnect the USB flash drive to retrieve the files without read-only mode. 

Method 5: Unlock and Delete Files Using Safe Mode

You can try Safe mode to unlock and delete files from your USB flash drive. Follow these simple steps to delete files using safe mode: 

Step 1: Open PC Settings, select Update & Security, and click Recovery. 

select update and recovery

Step 2: Select Advanced Startup and tap the Restart Now button.

Step 3: Click Troubleshoot and go to Advanced Options and then Startup Settings.

Step 4: Once in Startup Settings, press F4 from the keyboard to turn on the Safe Mode.

Step 5: In Safe mode, you can locate files from File Explorer to delete the files. 

Note: To exit the Safe mode, you can simply restart your PC. 

Method 6: Run Disk Checking Utility to Fix USB

In some cases, the files may be unreadable or corrupted due to which you cannot delete files from a flash drive. In this case, you can run the disk checking utility to fix the problem. Follow these simple steps to run the disk checking utility:

Step 1: You can locate your flash drive from File Explorer and right-click on the drive and then select Properties. 

Step 2: From the pop-up window, choose to Check under the Tool option.

check drive error

Once you have removed the "won't delete files from USB flash drive" error, you are in a position to delete the files.  

Method 7: Get Permission from Windows Explorer to Delete Files

In some cases, you need to get permission from Windows Explorer to delete files. You can follow these steps to delete the files:

Step 1: Right-click the file, then select Properties and then tap the Security tab and go to the Edit.

edit security to get premission from windows explorer

Step 2: Now, permission for file dialogue will open. Click Add button to enter the Select Users. 

Step 3: Add a user named Authenticated User and then tap the OK button to proceed next.

Step 4: After getting into the permission window, give full access and tap OK and then Continue.

you will need to provide administrator permission to delete this folder

After completing these steps, you will fix the issue flash drive won’t delete files.

 Part 4: People Also Ask

 1. How to Force Delete Files from USB Flash Drive?

When you want to regain the full storage capacity of the USB flash drive, formatting the USB drive is the best option. So, for the deletion of all the files in the USB flash drive, follow these steps: 

  1. Connect USB with your computer/PC.
  2. Go to "Start", type "run" and press enter.
  3. After an interface shows up, type "cmd" and press enter.
  4. Now go to "del/filesX" (filesX is the name of the files that you want to delete.)
  5. After following these steps, you will be able to force delete files on USB.

2. Would Data be Erased if I Formatted a USB Flash Drive?

Yes, of course. Formatting is all about regaining full storage capacity for new files/folders. So, when you format a USB flash drive, all of your files/folders would be erased.If you want to recover data from formatted USB, you can use Tenorshare 4DDiG to get your data back from formatted USB either.

 3. How to Fix The "Can't Delete File is Open in the System" Error? 

To solve the "can't delete file open in the system" error, follow these steps:

Step 1: Close the program. 

Step 2: Restart your PC/computer. 

Step 3: Close the application via the Task Manager.

Step 4: Change File Explorer settings. 

Step 5: Disable the File Explorer preview pane.

Step 6: Force delete the file in use using Command Prompt. 

Final Thoughts

Finally, we hope you are clear about the "flash drive won’t delete files" error and the reasons behind it. So, if you have encountered this error, you need not worry about it. In this article, we have discussed the top 7 methods to fix the can't delete files from the USB flash drive problem. However, if unfortunately you meet this error since USB damaged or files corrupted, and you want to recover the corrutped files, we recommend you to Tenorshare 4DDiG data recovery software. It's a 100% secure and hassle-free data recovery software that will help you recover lost files from the USB flash drive. 

4DDiG - Mac/Windows Data Recovery

Tenorshare 4DDiG USB Recovery

4DDiG is your second to none choice to recover all lost data on USB flash drive/SD card/Windows/Mac from various loss scenarios like deletion, formatting, RAW, etc. with a higher success rate.

(Click to rate this post)

You rated 4.5 ( participated)