How to Force Delete A File on Windows 11/10/8/7? [Can't Delete File Solutions] (2024)

How to Force Delete A File on Windows 11/10/8/7? [Can't Delete File Solutions] (1)

Updated by

Tracy King

How to Force Delete A File on Windows 11/10/8/7? [Can't Delete File Solutions] (2)

Written by

Brithny

Updated on Apr 22, 2024

Fast fix - you can use Shift + Delete to delete files or folders permanently.If you stillcan't delete files in Windows 11/10, check the 4 ways in this post on how to force delete a filethat cannot be deleted on your Windows 11/10 computer.

Workable SolutionsStep-by-step Troubleshooting
1. Using a Third-party ToolLaunch BitWiper, right-click the partition you want to erase > click "File Shredder"...See how to force delete a file
3. End Task from Task ManagerGo to Start, type Task Manager, and choose "Task Manager" to open it...See how to force delete a file
4. Delete Files/Folders Using CMDPress the Windows key + R and type cmd to open the Command Prompt...See how to force delete a file
4. Use Safe Mode to Delete FilesOpen "Settings" > Click on "Update & Security" > Click on "Recovery"...See how to force delete a file

Why Can't Delete File/Folder on Windows 11/10/8/7

Sometimes you might encounter a folder that you're unable to delete. If you want to fix this problem, you must know the reason first. Generally, the file is used or locked would be the main reason. Otherwise, a virus must be taken into account.

It's most likely because another program is currently trying to use the file. This can occur even if you don't see any programs running. When a file is open by another app or process, Windows 11/10 puts the file into a locked state, and you can't delete, modify, or move it to another location. Usually, after the file is no longer in use, the application will unlock it automatically, but that's not always the case. Sometimes, a file may not unlock successfully, and even if you try to take any action, you'll see a warning that the operation can't be completed because it's open by another program.

Before you take actions to delete the undeletable files, you can first try these simple tips and delete these files:

  • Close all the programs.
  • Restart your computer.
  • Let the antivirus scan your computer to see if there's a virus on your computer and get rid of it.

If these files still exist, the following methods would do a favor to you.

Method 1. Force Delete File that Cannot Be Deleted Using a Third-party Tool

There are many third-party applications that can help you with this problem and delete locked files. One tool that might help you with this problem is EaseUS BitWiper. It can help to clean up junk files and wipe the whole data. It's fully compatible with Windows 11/10/8/7 etc.

Free Download

Windows 11/10/8/7100% Secure

Free download this software and start deleting undeletable files now.

Step 1.Launch EaseUS BitWiper and click "File Shredder".

How to Force Delete A File on Windows 11/10/8/7? [Can't Delete File Solutions] (3)

Step 2.Click "Add Files"to select the files you need to shred, or you can drag files, documents, images, music files, etc., into the center area.

How to Force Delete A File on Windows 11/10/8/7? [Can't Delete File Solutions] (4)

Step 3. Re-select files that you need to shred and click "Shred" to confirm.

How to Force Delete A File on Windows 11/10/8/7? [Can't Delete File Solutions] (5)

Step 4.The program will immediately shred all the selected files.When it finishes, click "Done".

How to Force Delete A File on Windows 11/10/8/7? [Can't Delete File Solutions] (6)

It's important to note that unlocking and deleting files on Windows 11/10 may cause system and program issues, depending on the type of files you're trying to unlock. So be careful of what you delete if you're not sure of the consequences.

Method 2. How to Delete Files that Cannot be Deletedfrom Task Manager

Usually, can't delete file because it is open in system. You could receive the information when you can't delete a file, like this screenshot,files cannot be deleted if the file is open in an application.

How to Force Delete A File on Windows 11/10/8/7? [Can't Delete File Solutions] (7)

To force Windows 11/10 to delete a file, you can follow the steps below:

Step 1. Go to Start, type Task Manager, and choose "Task Manager" to open it.

Step 2. Find the application that is currently using the file, and select "End task".

Step 3. Then, try to delete the file again on your Windows PC.

How to Force Delete A File on Windows 11/10/8/7? [Can't Delete File Solutions] (8)

Method 3. How to Delete File that Cannot be Deleted with Command Prompt

How to delete a file that won't delete? Using Command Prompt for deletion is sometimes more efficient, and you definitely should give it a try. Here's what you need to do to delete a certain file or folder with Command Prompt:

Step 1. Press the Windows key + R and type cmd to open the Command Prompt or just search for Command Prompt at the start. Click the "Run as administrator".

How to Force Delete A File on Windows 11/10/8/7? [Can't Delete File Solutions] (9)

Step 2. In the Command Prompt, enter del and location of folder or file you want to delete, and press "Enter" (for example del c:\users\JohnDoe\Desktop\text.txt).

Read Also:Diskpart Force Delete Partition

Method 3. Enter Safe Mode to Fix "File Won't Delete"

Usually, when you come across a locked file, you can simply restart your device to unlock it. If it doesn't work, you can boot into Safe Mode to unlock and delete the file.

Step 1. Open "Settings" > Click on "Update & Security" > Click on "Recovery" > Under "Advanced Startup", click the "Restart now" button.

Step 2. Click on "Troubleshoot" > "Advanced options" > "Startup Settings".

Step 3. Click the "Restart" button.

Step 4. On "Startup Settings," press F4 to enable Safe Mode.

How to Force Delete A File on Windows 11/10/8/7? [Can't Delete File Solutions] (10)

While in Safe Mode, use File Explorer to locate and delete the files that were previously locked, then simply restart your device as you would normally to exit Safe Mode.

Tip
Before we delete the undeletable files by wiping the whole partition, you must backup other useful files in advance. Once you start the erasing process, you can't be canceled it until it is finished. Do remember to check the folders again to avoid data loss.

Video Guide - FixCan't DeleteFile or Folder on Windows 11

Can't delete file because it is open in system? This tutorial released by Britec09 shows you how to force delete a files and folders using command prompt, powershell and unlock-it. Seehow to delete a file that is open in system.

  • Use CMD - 1:06
  • Run Powershell - 4:34
  • Unlock software - 5:31

If you think the provided solution works for forcing file deletion on Windows, you can share it with more friends to help them solve the problem!

Bonus Tips - How to Recover Deleted Files or Folders

There are times you mistakenly deleted a needed file on your Windows 11, 10, 8.1, 8, 7 computers, we also provide you with additional help. You can recover deleted files with easy-to-use data recovery software. EaseUS Data Recovery Wizard is my recommendation. It is the best file recovery software that allows you to:

  • Restore data from internal and external hard drives, SSD, USB flash drive, SD card, etc.
  • Retrieve lost videos, photos, Word files, music, and more.
  • Repair corrupt/damaged photos, and repair MP4 files.
  • Download and install EaseUS Data Recovery Wizard on your computer and follow the operations below to recover deleted files.

Step 1. Select the location to scan

Choose the specific device and drive where you have permanently deleted files using Shift delete or emptying recycle bin. Then, click the "Scan" button to find lost files.

How to Force Delete A File on Windows 11/10/8/7? [Can't Delete File Solutions] (11)

Step 2. Check the results

The software will automatically start scanning all over the selected drive. When the scan completes, select the "Deleted Files" and "Other Lost Files" folders in the left panel. Then, apply the "Filter" feature or click the "Search files or folders" button to quickly find the deleted files.

How to Force Delete A File on Windows 11/10/8/7? [Can't Delete File Solutions] (12)

Step 3. Recover deleted files

Select the deleted files and click "Preview". Next, click "Recover" to save them to another secure location or device.

How to Force Delete A File on Windows 11/10/8/7? [Can't Delete File Solutions] (13)

How to Delete Files that Cannot Be Deleted FAQs

As for how to delete files that cannot be deleted on Windows 11/10, hope the above solutions can help. If you still have problems, read the following questions and answers.

How do you force delete a file that won't delete?

  • To do this, start by opening the Start menu (Windows key), typing run, and hitting Enter.
  • In the dialogue that appears, type cmd and hit Enter again.
  • With the command prompt open, enter del /f filename, where filename is the name of the file or files (you can specify multiple files using commas) you want to delete.

How to force delete folder?

To force delete folder: It is recommendedtryingShift + Delete to permanently delete a file or folder. Besides this shortcut, Command Prompt, Safe Mode, and third-party file shredder software can give a back.

Can't delete a file is open in the system?

To Overcome the "File in Use" Error:

  • Close the Program. Let's start with the obvious.
  • Reboot your computer.
  • End the Application via the Task Manager.
  • Change File Explorer Process Settings.
  • Disable the File Explorer Preview Pane.
  • Force Delete the File in Use via the Command Prompt.

How do I end a DLL process?

  • Go and find the "Search" button in the "Start" menu. You should search "All files and folders".
  • Then type the name of that DLL file you want to stop running into the search dialogue box.
  • Locate the DLL file and write down the full file path for the DLL file.

Can I delete Aow_drv?

No. No matter how much you try but you cannot delete aow_drv. It is a log file and you cannot delete this file.

Conclusion

This post provides you with four effective solutions. Most users say that they have solved their problems after they have tried Method 1. And Method 1 is my first choice. If you have some alternate solution to this problem, and you'd like to share it with us, please tell us, our readers would love to read it.

How to Force Delete A File on Windows 11/10/8/7? [Can't Delete File Solutions] (2024)

FAQs

How to Force Delete A File on Windows 11/10/8/7? [Can't Delete File Solutions]? ›

Press the Windows key + R and type cmd to open the Command Prompt or just search for Command Prompt at the start. Click the "Run as administrator". Step 2. In the Command Prompt, enter del and location of folder or file you want to delete, and press "Enter" (for example del c:\users\JohnDoe\Desktop\text.

How to delete files that cannot be deleted in Windows 11? ›

Way 1. Force Delete a File or Folder using CMD
  1. Press Windows + R keys on the keyboard, then type “CMD” in the prompt command windows and run it as an administrator by pressing Ctrl + Shift + Enter keys.
  2. Now, you should input the command line and press the Enter button to delete the file.
5 days ago

How do I permanently delete a file that Cannot be? ›

Empty the Recycle Bin.

Once you've moved the correct files into the Recycle Bin, you can proceed with removing them from your PC for good: Right-click the Recycle Bin icon. Click Empty Recycle Bin in the resulting drop-down menu. Click Yes when prompted.

Why won't Windows let me delete a file? ›

File owners have the implicit ability to modify file permissions, even if they aren't explicitly granted any permissions to the file. So, you may have to take ownership of a file, give yourself permissions to delete the file, and then delete the file.

How do I forcefully delete a file? ›

Step 1: Press Win + R to open Run, type cmd, and press Ctrl + Shift + Enter to open Command Prompt with admin rights. Step 2: Please click Yes if a User Account Control window pops up. Step 3: When the window opens, type del file/folder link and press Enter to execute the command.

How do you delete a corrupted file that won't delete? ›

During the boot process, press the F8 key repeatedly until the "Advanced Boot Options" menu appears. Use the arrow keys to select "Safe Mode" or "Safe Mode with Networking" if you need internet access in Safe Mode. Press Enter to boot into Safe Mode. Go to File Explorer, locate the corrupted files, and delete them.

How do I delete temporary files that won't delete? ›

Use Disk Cleanup to delete temp files
  1. Press the Windows key + S simultaneously. Type “disk cleanup” and press Enter. Click Run as administrator.
  2. If prompted, select the drive you want to search for temp files to clean. Click OK.
  3. Review the description for each file type and select or deselect them as needed. Click OK.
Nov 29, 2023

How do I make a file impossible to delete? ›

Method 1. Deny Security Permission to Make Files Undeletable
  1. Right-click the file or document on your PC > choose "Properties".
  2. In Security, tab "Edit" to change permission > select "Add and enter Everyone".
  3. Press "OK" and select the group to change Full control permission to Deny.
  4. Press "Yes" to confirm.
May 20, 2024

Why is there no option to delete a file? ›

If the system files are corrupted, you may encounter the “delete option missing” issue. So, you can use the SFC and DISM scan tools that can help you repair corrupted system files. Step 1: Type cmd in the Search box and choose Run as administrator. Step 2: Input the command sfc /scannow and press Enter.

How to delete corrupted files in Windows 11? ›

How to delete corrupted files?
  1. Close all programs and files you are editing.
  2. Restart computer and then boot to Windows.
  3. Log in Administrator account and find out corrupted files you want to delete. Drag files to Recycle Bin.
  4. Empty Recycle Bin.

How do I fix failed to delete files? ›

The actions are intended to give guidance for novices and experts as well.
  1. Possible reasons that the "can not delete file" problem occurs.
  2. Method 1: Force to Delete a File.
  3. Method 2: Delete Files/Folders Using CMD.
  4. Method 3: Use Safe Mode to Unlock and Delete Files.
  5. Method 4: Repairing Disk Errors on Windows.

How do you permanently delete files from computer so they Cannot be recovered? ›

#1. Download Reliable File Shredder Software to Permanently Delete Files so They Can't Be Restored. You must wipe and erase your computer to eliminate files from your PC or laptop without recovery. In this way, data that has been irreversibly erased can no longer be recovered.

How do I delete apps that Cannot be deleted Windows 11? ›

Method 1: Run the program manufacturers uninstall tool. Method 2: Run the uninstall from the Control Panel. Method 3: Uninstall after closing the program or app in Task Manager. Method 4: Run the uninstall from Safe Mode.

How do I delete locked files in Windows 11? ›

Right-click a stubborn file to erase in File Explorer and select Show more options (for viewing the classic context menu). Select the Force Delete option there to erase the file. Alternatively, you can select an Unlock by ForceDelete option to unlock a locked file in use.

How do I delete read only files in Windows 11? ›

Quick Steps
  1. Right-click the file and select Properties.
  2. Uncheck the "Read-only" box and click OK.
  3. Select the file and click Delete, or drag it to the Recycle Bin.

Top Articles
Latest Posts
Article information

Author: Otha Schamberger

Last Updated:

Views: 6065

Rating: 4.4 / 5 (55 voted)

Reviews: 86% of readers found this page helpful

Author information

Name: Otha Schamberger

Birthday: 1999-08-15

Address: Suite 490 606 Hammes Ferry, Carterhaven, IL 62290

Phone: +8557035444877

Job: Forward IT Agent

Hobby: Fishing, Flying, Jewelry making, Digital arts, Sand art, Parkour, tabletop games

Introduction: My name is Otha Schamberger, I am a vast, good, healthy, cheerful, energetic, gorgeous, magnificent person who loves writing and wants to share my knowledge and understanding with you.