How to Force Delete a File That Cannot Be Deleted Windows 10 - MiniTool (2024)

If you can't delete a file or folder in Windows 10, check the 3 ways in this post for how to delete files that cannot be deleted in your Windows 10 computer. Detailed step-by-step guide is provided. To recover mistakenly deleted files or lost data from Windows 10 computer or other storage devices, MiniTool offersthe professional free data recovery software.

Can’t Delete a File or Folder in Windows 10?

Sometimes you may face this problem: you can’t delete a file or folder in Windows 10 no matter how many times you conduct the delete operation. How to delete files that cannot be deleted? How to force delete a file in Windows 10 computer?

Generally if a file is being opened or used by another application or program, Windows 10 computer will mark the file in a locked state, and you can’t delete, edit or move this file. When you are not using this tile, then it will be unlocked. But sometimes the file unlock process may be not successfully completed, which may cause the file delete operation can’t be accomplished, along with a warning showing that the file is opened by another program.

If you insist to delete the file or want to force to delete it, you may try these three methods in this post to unlock and delete the file.

ProtonMail Login/Sign-up and App Download GuideHere is the ProtonMail login guide. Sign up for this free email service to use it to manage your emails. Download ProtonMail mobile app for Android/iOS.Read More

How to Force Delete a File/Folder That Cannot Be Deleted Windows 10

How to delete a file/folder that thatwon’t delete in Windows 10? Normally you can take the basic steps below at first.

  • Close all apps and programs on your Windows 10 computer, and try to delete the file again to see if it can be deleted.
  • Close File Explorer. You can click Start -> Type Task Manager and choose Task Manager to open it -> Find Windows Explorer and right-click on it and choose End task to close it.
  • Restarting Windows 10 can sometimes fix many issues. You can try to reboot your Windows 10 computer and delete the file again to see if it can be deleted successfully.
  • You can also conduct a virus scan to see if there is a virus in your Windows 10 computer.
  • Check the file property. Make sure the file or drive is not read-only.Related:how to remove write protection on SD card, USB, disk drive, etc.

If all thefive measures above don’t make any difference, then you can continue to try the three ways below to force delete files or folders that can’t be deleted.

Method 1. Force Delete Files/Folders Using CMD

Can’t delete file? You can try to use Command Prompt to delete files or folders that cannot be deleted in Windows 10.

How to force delete a file with “DEL” command:

Step 1. You can press Windows + R keys on the keyboard, type cmd, and press Ctrl + Shift + Enter to run Windows Command Prompt as administrator.

Step 2. Then input the command line and hit Enter to force delete the file in Windows 10 with CMD. The command line is like this: del c:\users\alisa\desktop\test.txt. Replace “c:\users\alisa\desktop\test.txt” with the path of the target file. And do remember to include the file extension in the command.

To check the path of the file, you can right-click the file and click Properties.

Force delete folder in Windows 10 with ““RMDIR /S /Q” command:

To delete a folder that won’t delete in Windows 10, you can typermdir /s /q E:\test command in Command Prompt window. Replace “E:\test” with the path of the folder.

iCloud Mail Login/Sign-up | How to Access iCloud Mail PC/AndroidThis post offers an iCloud Mail login and sign-up guide on Mac, iPhone, iPad, iPod Touch. Also check how to access iCloud Mail on Windows 10/11 PC or Android.Read More

Method 2. Use Safe Mode to Unlock and Delete Files

To delete a file thatcan’t be deleted, you can also try to start Windows 10 in safe mode to unlock and delete the file.

Step 1. Click Start -> Settings -> Update & Security -> Recovery -> Restart now (under Advanced Startup), to enter into Windows recovery environment.

Step 2. Click Troubleshoot -> Advanced options -> Startup Settings -> Restart.

Step 3. In Startup Settings window, you can press F4 or F5 to boot into safe mode in Windows 10.

How to Force Delete a File That Cannot Be Deleted Windows 10 - MiniTool (3)

Step 4. Delete the file or folder in Windows 10 Safe Mode.

Step 5. Restart Windows 10 and your computer will auto exit Safe Mode.

iCloud Download/Setup on Windows 10/11 PC, Mac, iOS, AndroidLearn how to download iCloud for Windows 10/11, how to set up iCloud on Mac/iPhone/iPad/Windows/Android, and how to download photos from iCloud to PC or Mac.Read More

Method 3. UseShift + Delete to Force Delete File/Folder

You can select the target file or folder and press Shift + Delete keyboard shortcut to delete the file/folder permanently. This file deletion method won’t pass the Recycle Bin.

Note: Need to mention that this post is not talking about deleting Windows system files. Windows system files are usually protected against deletion. Deleting system files can cause issues of your Windows 10 computer OS. So please do not delete system files randomly.

If the file is corrupted or your Windows 10 computer reports that it can’t find the file, you may take some measures to conduct the disk repair process to see if it can fix this error and fix corrupted system files.

Quick Video Guide:

How to Recover Mistakenly Deleted Files from Windows 10 Computer

As for how to force delete a file/folder that cannot be deleted in Windows 10, hope the above solutions in this post help.

In case sometimes you may mistakenly deleted a needed file on your Windows 10 computer, here we also attach an easy file undelete method, namely, use the professional data recovery software to easily recover deleted files from your Windows 10 computer.

MiniTool Power Data Recovery is an easy data recovery program for Windows. It allows you to easily recover deleted/lost files from Windows 10 computer, external hard drive, SSD, USB flash drive (pen drive data recovery), SD card, etc. in 2 simple steps. You can use MiniTool Power Data Recovery to recover data under various data loss situations.

Download and install MiniTool Power Data Recovery on your Windows computer and follow the simple operation below to recover mistakenly deleted files.

Step 1. Launch MiniTool Power Data Recovery, and choose This PC from the left pane. Then you can choose the specific partition in the right window where your deleted files located. Click Scan button.

If you want to scan and recover specific type of files, you can click Settings to choose the file type before you click Scan button.

How to Force Delete a File That Cannot Be Deleted Windows 10 - MiniTool (5)

Step 2. After the scan process is completed, you can check the scan result to find your mistakenly deleted files, check them and click Save button to set a new destination path to store them.

How to Force Deletea File FAQ

How do I delete a file that cannot be deleted?

You can follow the operation in this post to force delete the file that cannot be deleted in Windows 10 using Command Prompt.

How do I force delete a folder?

You can use the del command in CMD to force delete a folder in Windows 10. The detailed instructions for CMD delete folder are included in this tutorial.

How do I delete a file that won’t delete Windows 10?

Check the solutions in this post above to delete the undeletable files or folders in Windows 10.

Why can’t I delete folders?

If the folders are currently used by other applications or are locked, then you cannot delete the folders. You can close all applications and try again. If it doesn’t work, you can try the 3 methods in this tutorial to force delete the folder in Windows 10.

How to Force Delete a File That Cannot Be Deleted Windows 10 - MiniTool (2024)

FAQs

How to Force Delete a File That Cannot Be Deleted Windows 10 - MiniTool? ›

You can press Windows + R keys on the keyboard, type cmd, and press Ctrl + Shift + Enter to run Windows Command Prompt as administrator. Step 2. Then input the command line and hit Enter to force del

del
In computing, del (or erase ) is a command in command-line interpreters (shells) such as COMMAND.COM , cmd.exe , 4DOS, NDOS, 4OS2, 4NT and Windows PowerShell. It is used to delete one or more files or directories from a file system.
https://en.wikipedia.org › wiki › Del_(command)
ete the file in Windows 10 with CMD. The command line is like this: del c:\users\alisa\desktop\test.

How to force delete a file that cannot be deleted in Windows 10? ›

To force delete folder: It is recommended trying Shift + 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.

How do I delete unremovable files in Windows 10? ›

The Use Command Prompt on Windows can be use to forcefully delete undeletable files.
  1. Open the Use Command Prompt (Windows) as an Administrator: Press the Win + X and select "Command Prompt (Admin)".
  2. Navigate to the Directory containing that file and use the cd command.
  3. Use the Del command to delete undeletable file.
Jun 11, 2024

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

Use the right-click menu
  1. Select the file or folder you want to permanently delete, right-click it, and choose Delete.
  2. Then, right-click the Recycle Bin on your desktop and select Empty Recycle Bin.
Jan 6, 2022

How do you permanently erase data so that it Cannot be recovered Windows 10? ›

How to permanently delete files from Windows 10. To permanently delete files on Windows, send them to the Recycle Bin and then empty the Recycle Bin to delete them for good. Once the bin is empty, you can't recover the files unless you have data or file recovery software.

How do I delete a corrupt file that cannot be deleted? ›

  1. Reboot computer and F8 before booting to Windows.
  2. Select Safe Mode from the list of options on screen, then enter safe mode.
  3. Browse and locate the files you want to delete. Select these file and press Delete button. They will be put to Recycle Bin.
  4. Open Recycle Bin and delete them from Recycle Bin.

How to uninstall files on Windows 10 that cannot be uninstalled? ›

2 answers
  1. open administrative powershell (PS) and type or copy and paste: sfc /scannow. ...
  2. Run the Microsoft install and uninstaller troubleshooter: ...
  3. If there is a system restore point that predates the installation consider performing a system restore: ...
  4. Run the Adobe uninstall tool:
Mar 13, 2022

How do I delete useless files in Windows 10? ›

  1. Open the Start menu and select Settings > System > Storage . Open Storage settings.
  2. Select Configure Storage Sense or run it now, and under Temporary Files, select when you want each type of files deleted. Note: To delete unnecessary files manually instead, scroll down and under Free up space now, select Clean now.

What is the program that deletes Undeletable files? ›

Wise Force Deleter is a completely freeware that allows you to delete any file in your Windows system (64-bit and 32-bit). It has been developed and fully tested to work great on Windows 11, 10 and other Windows operating systems, from Windows XP and up.

How do I delete a stuck file in Windows 10? ›

Files cannot be removed while using, so you should shut down the programs and applications, then try again. 2. It's conceivable that Windows 10's File Explorer is what's preventing the file from being deleted. You can open the Task Manager to shut down Windows File Explorer by right-clicking the "End" button.

How do I delete a file permanently and make it unrecoverable? ›

In Windows Explorer, click on the file to select and press the Shift+Delete key on your keyboard. Now, you'll see a popup asking whether you want to delete the files permanently or not. Select Yes on the popup, and the file will be permanently deleted and won't go to the recycle bin.

How to force delete a file using cmd? ›

Method 3: Force Delete a File via CMD

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 I delete temporary files that won't delete? ›

When temporary files won't delete in Windows 10/11, try to manually delete them using these steps: Step 1: Press Win + R, enter %temp% to the text box of Run, and click OK. Step 2: In the Temp folder, press Ctrl + A to select all the files and folders, and press Delete.

How to make a hard drive unrecoverable? ›

If you're selling or giving away your computer, you should clear all the data off first. To do this, backup all of your files, then delete all of your files from your PC. Finally, use a file erasing tool (e.g. CCleaner's Drive Wiper) to clear your hard drive data permanently.

How do I delete files from the hard drive permanently? ›

Find files you want to delete, right-click files and choose "Delete Files Permanently". Tip: You can select multiple files with the help of Shift key and Ctrl key. Step 2. Select how to overwrite files and then click "Permanently Delete" button.

How to force rmdir? ›

rm command with -f , force option combined with -r as rm -rf option is used to force remove Linux directories.

How do I delete an unexpected error file? ›

Restart your computer and try deleting the file again. Also, Right-click on the File Explorer icon, select "Run as administrator," and then try to delete the file using the elevated privileges. If not work Run System File Checker (SFC):Open Command Prompt as administrator.

Top Articles
Prevent Cheating
Why Axis Capital (AXS) is a Top Momentum Stock for the Long-Term
Warren Ohio Craigslist
Methstreams Boxing Stream
Tmf Saul's Investing Discussions
Devon Lannigan Obituary
Workday Latech Edu
Mychart Mercy Lutherville
Tj Nails Victoria Tx
25X11X10 Atv Tires Tractor Supply
Recent Obituaries Patriot Ledger
2022 Apple Trade P36
Deshret's Spirit
Waive Upgrade Fee
Richmond Va Craigslist Com
Detroit Lions 50 50
Wordle auf Deutsch - Wordle mit Deutschen Wörtern Spielen
Mlb Ballpark Pal
Alejos Hut Henderson Tx
Powerball winning numbers for Saturday, Sept. 14. Check tickets for $152 million drawing
Paychex Pricing And Fees (2024 Guide)
Edicts Of The Prime Designate
Energy Healing Conference Utah
Hyvee Workday
Hdmovie2 Sbs
Amazing Lash Studio Casa Linda
City Of Durham Recycling Schedule
Weathervane Broken Monorail
What Sells at Flea Markets: 20 Profitable Items
Lilpeachbutt69 Stephanie Chavez
Indiana Jones 5 Showtimes Near Jamaica Multiplex Cinemas
Miss America Voy Board
Slv Fed Routing Number
Lichen - 1.17.0 - Gemsbok! Antler Windchimes! Shoji Screens!
Drabcoplex Fishing Lure
Workday Latech Edu
Ticketmaster Lion King Chicago
Soulstone Survivors Igg
Union Corners Obgyn
Cpmc Mission Bernal Campus & Orthopedic Institute Photos
Dcilottery Login
Flipper Zero Delivery Time
Trivago Sf
Craigslist Food And Beverage Jobs Chicago
Charli D'amelio Bj
Thotsbook Com
9:00 A.m. Cdt
Playboi Carti Heardle
Oefenpakket & Hoorcolleges Diagnostiek | WorldSupporter
Rheumatoid Arthritis Statpearls
What Time Do Papa John's Pizza Close
Elvis Costello announces King Of America & Other Realms
Latest Posts
Article information

Author: Errol Quitzon

Last Updated:

Views: 6274

Rating: 4.9 / 5 (59 voted)

Reviews: 82% of readers found this page helpful

Author information

Name: Errol Quitzon

Birthday: 1993-04-02

Address: 70604 Haley Lane, Port Weldonside, TN 99233-0942

Phone: +9665282866296

Job: Product Retail Agent

Hobby: Computer programming, Horseback riding, Hooping, Dance, Ice skating, Backpacking, Rafting

Introduction: My name is Errol Quitzon, I am a fair, cute, fancy, clean, attractive, sparkling, kind person who loves writing and wants to share my knowledge and understanding with you.