How to Force Delete a Folder - Windows 10 & 11 (2024)

Do you need help removing a folder from your Windows 10 or Windows 11 computer? If so, it could be a system folder or a folder utilized by another software. We’ll show you how to remove “undeletable” folders from your PC.

Why you can’t delete your folder?

The most common cause for being unable to delete a folder is that it is a Windows system folder. In this scenario, the system blocks you from eliminating the folder since doing so may cause your PC to become unstable.

If you’re certain it’s not a system folder, your “undeletable” folder may be in use by your installed apps. Windows restricts you from making changes to a folder when an app is using it. In this situation, you might try to delete the folder after closing the app using your folder.

If nothing of the aforementioned scenarios applies to your situation, you could choose to use one of the following:

Method 1: Use Command Prompt

Using Command Prompt is a quick way to delete a folder. You can use this tool to run a command that deletes the folder you’ve chosen.

To begin, open your “Start” menu and look for “Command Prompt.” Then, on the right, select “Run as Administrator.”

How to Force Delete a Folder - Windows 10 & 11 (1)

A “User Account Control” prompt will appear. Choose “Yes.”

When the Command Prompt window appears, enter the following command and press Enter.

rmdir /s /q PATH

Replace PATH with the path to the folder you want to delete in this command.

If your path contains spaces, enclose it with double quotes.

For example, in the Documents folder on your C drive, you’d delete a folder called Unwanted.
rmdir /s /q C:\Documents\Unwanted

How to Force Delete a Folder - Windows 10 & 11 (2)

Method 2: Boot in Windows Safe Mode

If you are unsure which app has hijacked your folder and prevented you from deleting it, restart your PC in safe mode and then attempt to delete the folder. In safe mode, your PC only loads the necessary Windows files, preventing any third-party apps from launching automatically.

To begin, use our guide to boot your Windows 10 or Windows 11 PC into safe mode.

Once in safe mode, open File Explorer and navigate to the folder you want to delete. Then, right-click on the folder and select “Delete”.

How to Force Delete a Folder - Windows 10 & 11 (3)

Your folder has been deleted.

You may also want to remove the folder from the Recycle Bin, which you can do by opening it, right-clicking your folder, and selecting “Delete”.

Method 3: Use WinRAR to Force Remove Folders

This may sound strange, but you can delete stubborn folders using WinRAR (a file compression app). This works by creating an archive from your “undeletable” folder and then asking the app to delete the original folder after the archive is created.

When WinRAR creates an archive from your folder, it automatically deletes the original folder. The newly created archive can then be deleted as well.

To begin, download and install the free version of WinRAR on your computer. Then restart your Windows 10 or Windows 11 computer so that WinRAR is integrated into the context menu.

When your computer restarts, launch File Explorer and navigate to the folder you want to delete. Then, right-click on this folder and select “Add to Archive”

How to Force Delete a Folder - Windows 10 & 11 (4)

On the “Archive Name and Parameters” window, in the “Archiving Options” section, enable the “Delete Files After Archiving” option. Then, at the bottom of the window, select “OK.”

How to Force Delete a Folder - Windows 10 & 11 (5)

Allow WinRAR to create an archive from the folder you’ve chosen. After that, WinRAR will delete the original folder. You may now delete your recently created archive.

That’s how you get rid of any unwanted or stubborn folders on your Windows PC.

Post Views: 51,279

How to Force Delete a Folder - Windows 10 & 11 (2024)

FAQs

How to Force Delete a Folder - Windows 10 & 11? ›

To begin, use our guide to boot your Windows 10 or Windows 11 PC into safe mode. Once in safe mode, open File Explorer and navigate to the folder you want to delete. Then, right-click on the folder and select “Delete”. Your folder has been deleted.

How to forcefully delete a folder in Windows 11? ›

Key Takeaways
  1. Typically you cannot delete a folder because it is in use by an app, or it is a Windows folder. ...
  2. To delete a folder with Command Prompt, run Command Prompt as an Admin, then run: rmdir /s /q PATH/TO/FOLDER.

How to force delete a folder that won't delete? ›

Use Shift + 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.

How do I delete an undeletable folder? ›

Solution 1. Close the Folder or File and Try Again
  1. Press "Ctrl + Alt + Delete" simultaneously and choose "Task Manager" to open it.
  2. Find the application where your data is in use. Select it and click "End task".
  3. Try to delete the undeletable information once again.

How do I permanently delete a folder in Windows 10? ›

Delete a folder
  1. Right-click the folder you want to delete and click Delete Folder.
  2. Click Yes to move the folder and its contents to the Deleted Items folder. When you empty the Deleted Items folder, everything in it — including any folders you've deleted — is permanently erased.

How do I delete a file that won't delete in Windows 11? ›

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 do I quickly delete a folder in Windows 11? ›

Type rmdir /q/s foldername and press Enter to delete the folder and all its subfolders.

How to delete a folder forcefully using 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 force delete a folder that is not empty? ›

The rmdir or rm -d command is for removing empty directories, while the rm -r command deletes non-empty directories.

How do I delete a corrupted folder in Windows 11? ›

How to delete corrupted files?
  1. Solution 1: Restart Computer and Delete Corrupted Files Using the Administrator Account.
  2. Solution 2: Close Windows Explorer and Restart Computer to Delete Corrupted Files.
  3. Solution 3: Delete Corrupted Files in Safe Mode.
  4. Solution 4: Use the CMD Command Prompt to Delete Corrupted Files.

How to delete a folder using cmd windows 11? ›

How To Delete Folders Using CMD
  1. Open the command prompt. Press the Windows key and type 'cmd' to open the command prompt. ...
  2. Change the path of the directory in cmd. In the next step, change the path of the directory in the cmd and set it to the path of the file you want to delete. ...
  3. Use the rmdir command.

How do I force delete a corrupted file? ›

  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 do I get rid of a folder that won't delete? ›

To begin, use our guide to boot your Windows 10 or Windows 11 PC into safe mode. Once in safe mode, open File Explorer and navigate to the folder you want to delete. Then, right-click on the folder and select “Delete”. Your folder has been deleted.

How to force delete a folder in Windows 10 as administrator? ›

Use the command icacls<path_to_windows_folder>/grant administrators: F/t to give the administrator group full control permissions. Then try deleting the folder. If it still cannot be deleted, use the command rd/s/q<path_to_windows_folder>to forcibly delete the folder and its contents.

What is the shortcut key to delete a folder permanently? ›

To permanently delete a file:

Press and hold the Shift key, then press the Delete key on your keyboard. Because you cannot undo this, you will be asked to confirm that you want to delete the file or folder.

How do I delete unmovable files in Windows 11? ›

Fix 2. Disable the Unmovable Files
  1. Run Command Prompt as administrator."
  2. Type the commands powercfg /hibernate off.
  3. Press the Window icon and the R key, type SystemProperitiesProtecion.exe in the Run box, and press "Enter."
  4. Click C drive and select Disable system protection > Apply >Yes.
  5. Restart your PC.
May 16, 2024

How to force delete a folder access denied? ›

To work around this issue, use either of the following methods:
  1. When you delete the files or folders by using Windows Explorer, use the SHIFT+DELETE key combination. This bypasses the Recycle Bin.
  2. Open a command prompt window and then use the rd /s /q command to delete the files or folders.

Top Articles
Key Legal Requirements for Initial Public Offerings (IPOs)
How much should I have in my emergency fund? More than you think.
Best Pizza Novato
Evil Dead Rise Showtimes Near Massena Movieplex
Sam's Club Gas Price Hilliard
Music Archives | Hotel Grand Bach - Hotel GrandBach
Power Outage Map Albany Ny
今月のSpotify Japanese Hip Hopベスト作品 -2024/08-|K.EG
Rosemary Beach, Panama City Beach, FL Real Estate & Homes for Sale | realtor.com®
Transfer Credits Uncc
Straight Talk Phones With 7 Inch Screen
Ess.compass Associate Login
Illinois VIN Check and Lookup
Persona 4 Golden Taotie Fusion Calculator
Walgreens Tanque Verde And Catalina Hwy
Clare Briggs Guzman
Masterkyngmash
How many days until 12 December - Calendarr
Sec Baseball Tournament Score
104 Presidential Ct Lafayette La 70503
Bento - A link in bio, but rich and beautiful.
Spiritual Meaning Of Snake Tattoo: Healing And Rebirth!
208000 Yen To Usd
Tom Thumb Direct2Hr
The Fabelmans Showtimes Near Baton Rouge
Town South Swim Club
Mastering Serpentine Belt Replacement: A Step-by-Step Guide | The Motor Guy
A Plus Nails Stewartville Mn
Dtlr On 87Th Cottage Grove
October 19 Sunset
Otis Offender Michigan
Siskiyou Co Craigslist
How to Draw a Bubble Letter M in 5 Easy Steps
Exploring TrippleThePotatoes: A Popular Game - Unblocked Hub
When His Eyes Opened Chapter 2048
Zasilacz Dell G3 15 3579
SF bay area cars & trucks "chevrolet 50" - craigslist
Puretalkusa.com/Amac
Craigslist Pet Phoenix
Maplestar Kemono
Ratchet And Clank Tools Of Destruction Rpcs3 Freeze
Theater X Orange Heights Florida
Here’s What Goes on at a Gentlemen’s Club – Crafternoon Cabaret Club
Pronósticos Gulfstream Park Nicoletti
Heat Wave and Summer Temperature Data for Oklahoma City, Oklahoma
What Is The Gcf Of 44J5K4 And 121J2K6
O'reilly's Eastman Georgia
Ok-Selection9999
Latest Posts
Article information

Author: Domingo Moore

Last Updated:

Views: 6171

Rating: 4.2 / 5 (73 voted)

Reviews: 88% of readers found this page helpful

Author information

Name: Domingo Moore

Birthday: 1997-05-20

Address: 6485 Kohler Route, Antonioton, VT 77375-0299

Phone: +3213869077934

Job: Sales Analyst

Hobby: Kayaking, Roller skating, Cabaret, Rugby, Homebrewing, Creative writing, amateur radio

Introduction: My name is Domingo Moore, I am a attractive, gorgeous, funny, jolly, spotless, nice, fantastic person who loves writing and wants to share my knowledge and understanding with you.