Something blocking you from deleting a folder? Here is how you can force delete a folder in Windows 11 and 10 operating systems.

To delete a folder in Windows, select it with your mouse pointer and press the “Delete” key on your keyboard. If you want the folder permanently deleted, press the “Shift + Delete” key. Doing so will skip moving the folder to Recycle Bin. It is that easy.

As easy as deleting folders is, it might not happen that way at times. Windows might refuse to delete a folder even after you press the Delete key. It might even show error messages while deleting a folder.

Some of the errors you might encounter while trying to delete a folder include but are not limited to “Could not find this item,” “Folder is locked,” “You need permission to perform this action,” “This action can’t be completed because the folder or file in it is open in another program,” “An unexpected error is keeping you from deleting this folder,” and more.

In those cases, you have to force delete a folder in Windows. Force deleting folders helps you remove stubborn folders from the system.

The good thing is that it is pretty easy to force delete a folder in Windows. There are multiple ways to do it.

Let me show you how to do it in simple and easy steps without delay.

The steps below work the same in Windows 10 and 11.

Table of contents:

Important note: Force deleting a folder can cause data loss if there are files in use in that folder. So, be careful.

Force delete a folder in Windows

You can use the Command Prompt to force delete a folder in Windows operating system. All you have to do is type the force delete command and point it towards the folder you want to delete. Let me show you how to do it.

  1. Right-click on the Start menu.
  2. Open the “Windows Terminal (Admin)” application.
  3. Choose “Command Prompt” from the title bar dropdown menu.
  4. Type the below command. Replace the dummy folder path with the actual path.
    rmdir /s /q "D:PathToFolder"
  5. The specified folder is force deleted immediately.
  6. Close the Terminal window.

Steps with a bit more detail:

First, we need to open the Terminal application. Right-click on the Start menu and choose the “Windows Terminal (Admin)” option. Alternatively, search for “Windows Terminal” in the Start menu and select “Run as administrator.”

how to, windows, microsoft

Next, click the dropdown menu on the Terminal title bar and choose the “Command Prompt” option. This action will open the Command Prompt tab inside the terminal window.

Execute the command below in the Command Prompt while replacing the dummy folder path with the actual one.

rmdir /s /q "D:PathToFolder"

how to, windows, microsoft

When you execute the command, Windows will force delete the folder. You can now safely close the terminal window.

Use Unlocker to force delete a folder

If the folder is locked or in use, you must use special third-party software Unlocker. It automatically closes any processes offending processes and force delete the folder.

It is an excellent software to deal with pesky errors you encounter while deleting a folder like access denied, folder in use, cannot file folder, etc. Let me show you where to download and how to use Unlocker to force delete a folder.

First, use the below link to download the Unlocker application.

https://www.softpedia.com/get/System/System-Miscellaneous/Unlocker.shtml

After downloading the application, double-click on it and install.

how to, windows, microsoft

Once the Unlocker application has been installed, open it from the Start menu. As soon as you do that, it asks you to select the folder you want to delete. Select the folder you want to delete and press the “Ok” button.

how to, windows, microsoft
Choose “Delete” from the dropdown menu and press the “Ok” button.
how to, windows, microsoft
As soon as you do that, Unlocker will force delete the folder. The application will also show the “The object was deleted” confirmation dialog box.
how to, windows, microsoft

That is it. It is that simple to force delete a folder in Windows.

I hope this simple Windows how-to guide helped you.

If you are stuck or need some help, send an email, and I will try to help as much as possible.

TECH NEWS RELATED

How Does a Computer Mouse Work?

With all the addition of new technology and features, there are many different types of mouse with different working principles. From ball mice that use mechanical precision, optical mice that use light sensing technology, to wireless mice that use radio frequency. The computer mouse may look plain and unassuming, ...

View more: How Does a Computer Mouse Work?

How To Fix Destination Path Too Long Error

Windows has a limitation of 255-260 characters for the path length of a folder. If while transferring a folder, the new path length of the folder or any subfolder were to exceed this number, Windows does not allow transferring the files at all. Instead, it’ll give you the “Destination ...

View more: How To Fix Destination Path Too Long Error

How to Open MSG Files (With or Without Outlook)

An MSG file is an email, note, appointment, or any other single message item formed or saved within Microsoft Outlook. These files include metadata information along with the message.  For instance, an email MSG file would comprise not just the email text but details of the sender, recipient, subject, ...

View more: How to Open MSG Files (With or Without Outlook)

Hotmail Not Receiving Emails? Try These Fixes

Throughout the transition from Hotmail to Outlook, Microsoft has maintained the reliability of this email client. However, it’s normal to run into some errors sometimes. If you’re not receiving emails in Outlook, it’s probably because of some changes in the settings. Or, it can sometimes happen when Outlook’s server ...

View more: Hotmail Not Receiving Emails? Try These Fixes

How to Open or Edit Word Documents Without Word?

Generally, the Microsoft Office subscription is expensive for one-time use. You do not have to purchase the entire Office package as there are multiple ways you can open or edit Word documents without the Microsoft Application itself.  Although you will not have all features available as the Microsoft Word ...

View more: How to Open or Edit Word Documents Without Word?

How to Fix “System Battery Voltage is Low”?

Sometimes, you may find your boot screen gets stuck with an error message “System Battery Voltage is Low” waiting for you to press the F1 key to continue. This generally happens when the BIOS has difficulty fetching the hardware information from the CMOS. It can be caused by a ...

View more: How to Fix “System Battery Voltage is Low”?

How to Change the Default Font in Outlook

If you send/compose numerous emails in Outlook, seeing the same font repeatedly can get a little boring. To mix things up and remove the manual font-changing process, you can change its font and various properties like color, size, effects, etc., to create a personalized experience.  Fortunately, Outlook provides a ...

View more: How to Change the Default Font in Outlook

Windows Not Accepting Passwords? How to Fix It?

If you share your computer with multiple users, you must have secured your account with an access password or PIN. However, when the operating system does not accept the password, it’s obvious to create panic. Windows users report similar issues where they cannot access their device and are met ...

View more: Windows Not Accepting Passwords? How to Fix It?

How to Fix “Server IP Address Could Not Be Found” Error?

How to Disable Firewall on Windows, Linux & Mac

YouTube Buttons Not Working? Here’s How to Fix It

Netgear Internet Not Working? How to Fix It

Janet Jackson's 'Rhythm Nation' Caused Windows XP-Era Laptops to Crash, Says Microsoft Principal Software Engineer

What is the Rebirth of Clemency event in Tower of Fantasy? Answered

Remo Recover: A Powerful Data Recovery Software for Windows

Coinbase CEO: We'd Shut Down Ethereum Staking If Threatened by Regulators

Madden 23: How to Change Camera Angle

How to throw a touch pass in Madden 23

How to earn and spend Black Gold in Tower of Fantasy

Fortnite Chapter 3 Season 3 Week 11 seasonal quests and challenges

OTHER TECH NEWS

Top Car News Car News