Tech News Today
  • Hardware
    • Motherboards
    • CPUs
    • Graphic Cards
    • RAM
    • SSDs
    • Computer Cases
    • Monitors
    • Peripherals
    • Power Supply Unit
    • PC Builds
    • Computer Tips
  • Software
  • Operating System
    • Windows
    • Mac
    • Linux
  • Gaming
  • Mobile
  • Console
  • More
    • Internet
    • Networking
    • Security
    • Buyer’s Guide
    • Gadgets
    • Laptops
    • Reviews
    • How To
    • News
Facebook Twitter Instagram
Tech News Today
  • Hardware
    • Motherboards
    • CPUs
    • Graphic Cards
    • RAM
    • SSDs
    • Computer Cases
    • Monitors
    • Peripherals
    • Power Supply Unit
    • PC Builds
    • Computer Tips
  • Software
  • Operating System
    • Windows
    • Mac
    • Linux
  • Gaming
  • Mobile
  • Console
  • More
    • Internet
    • Networking
    • Security
    • Buyer’s Guide
    • Gadgets
    • Laptops
    • Reviews
    • How To
    • News
Tech News Today
Home » Windows

How to Force Delete Folder on Windows 11? 5 Best Ways

Bishwo TamliBy Bishwo TamliJuly 13, 2023
force delete folder windows 11

You can easily delete a folder on Windows by selecting it and pressing the Del key or by right-clicking the folder and selecting Delete. If you don’t want your deleted folder to stay in the Recycle bin for 30 days, you can also press Shift + Del key to permanently delete the folder.

However, sometimes you won’t be able to delete a folder by conventional means, and it can show errors like “folder in use,” or “You’ll require admin permission…” In such cases, you will need to force delete the folder using Command-line-interfaces or through a variety of other ways.

Note: You can check out our other article if you want to force delete a file instead of a folder on Windows.

Table of Contents

  • Using Command Prompt
  • Using PowerShell
  • Take Ownership of the Folder
  • Delete Folders in Safe Mode
  • Using Third-Party Software

Using Command Prompt

You can pretty easily force delete a folder by running the rd /s /q command on the Command prompt. The /s and /q parameters will forcefully delete the intended folder and all of its subfolders without a confirmation prompt.

  1. Press Windows + R hotkey to open the Run dialog box.
  2. Type cmd and press Ctrl + Shift + Enter to open Elevated Command Prompt.
    cmd on run
  3. Now, enter the command rd /s /q “folder location”. For example, rd /s /q “C:\Windows Backup\Old Backups" will delete the Old Backups folder.
    force delete folder using command prompt
  4. If you don’t know how to find the location of a folder, you can right-click the folder on File Explorer and select Copy as path.

If you can’t delete a folder because it says “could not find this item…,” it is likely that the folder or one of its subfolders contains invalid trailing characters. In such cases, you can add the \\?\ syntax to the full path in the command.

This will use the long device path of the folder and force delete it.

For example, rd /s /q “\\?\C:\Windows Backup\Old Backups "

Using PowerShell

You can also force delete a folder from the PowerShell command-line interface. It is pretty similar to using Command Prompt, and you’ll be using the remove-item cmdlet with the -recurse and -force parameters.

The -recurse parameter deletes a folder without prompt confirmation, and the -force parameter will forcefully delete the folder.

  1. Open Run Utility by pressing Windows + R shortcut key.
  2. Type powershell and Ctrl + Shift + Enter to open PowerShell with admin access.
    powershell on run
  3. Enter the command remove-item -recurse -force “folder location”
    force delete folder using powershell

Take Ownership of the Folder

Sometimes, even with administrator access, you might not be able to delete a folder. This usually happens when the folder is not owned by you—the system admin. Most of the time, they are the system folders.

However, as the system administrator, you can forcefully take ownership of that folder. Then, you can simply delete the folder.

  1. Make sure you are logged into Windows with an admin account.
  2. Right-click on the folder and select Properties.
    folder properties
  3. Select the Security tab and click on Advanced.
    folder properties security advanced
  4. Next to Owner, click on Change.
    change folder owner
  5. In the text field, enter your currently logged-in account username and click on Check Names.
  6. If the username entered was valid, it will automatically change to your device name and user name.
    select user or group
  7. Click OK and OK again.
  8. Click on Edit and select Users(DeviceName\Users).
  9. Next to Full control, make sure Allow is selected.
    folder full control to user
  10. Click OK and OK again.
  11. Now, you can delete the folder normally.

Delete Folders in Safe Mode

You won’t be able to delete a folder by conventional means if the folder is in use by an application or service. You can look for which application is using that folder, and end its process from Task Manager. Then, you will be able to delete it.

However, if you can’t find which application is using the folder, you might want to boot into Safe mode. This ensures Windows boots in a basic state with no unnecessary applications and services running. Anyway, let’s see how you can do so:

  1. Go to the start button and click on the power button icon.
  2. Hold down the shift key and click on Restart to enter Windows Recovery Environment (WinRE).
  3. Go to Troubleshoot > Advanced options > Startup Settings and click on Restart.
    start settings restart
  4. After the restart completes, press F4 or 4 to boot into safe mode.
    startup settings
  5. Now, you can use conventional methods to delete the intended folder.

Using Third-Party Software

Lastly, you can use third-party software to forcefully delete folders on Windows. There are some great applications that perform this function like Unlocker, File Assassin, and XL Delete. While you will need to download and install them, these applications make it way simpler to force delete a folder after installation.

how-to
Bishwo Tamli

I'm a tech enthusiast, and I've always been troubleshooting errors by myself for years. I also like keeping up to date with the latest technology and gadgets.

Related Posts

how to turn off hardware acceleration

How to Turn Off Hardware Acceleration

September 22, 2023
what happens if you turn off your computer during an update

What Happens if You Turn Off Your Computer During an Update?

September 18, 2023
How to Disable Integrated Graphics

How to Disable Integrated Graphics?

September 16, 2023
System Restore Stuck

How To Fix Windows Stuck on System Restore

September 16, 2023
startup-repair-couldn't-repair-your-pc

How To Fix “Startup Repair Couldn’t Repair Your PC”

September 13, 2023
how to free up ram

How to Free Up Memory

August 4, 2023
Add A Comment

Leave A Reply Cancel Reply

Latest Posts
how to turn off hardware acceleration

How to Turn Off Hardware Acceleration

September 22, 2023
motherboard chipset

Understanding Motherboard Chipset and Its Importance

September 20, 2023
Naval-Warfare-Games

Best Naval Warfare Games

September 18, 2023
You may also like
printer-not-printing

How to Fix a Printer That’s Not Printing

September 20, 2023
Share Location With Friends and Family

Share Location With Friends and Family (iPhone and Android)

September 18, 2023
how-to-print-without-a-printer

How to Print Without a Printer

September 18, 2023
Recommended
Cookie Clicker Garden Guide

Cookie Clicker Garden Guide to Unlocking Every Seed

September 26, 2021
monitor no signal

Computer Turns On But Monitor Says No Signal (9 Ways To Fix)

November 10, 2022
Facebook Twitter Pinterest
  • Home
  • About Us
  • Our Team
  • Editorial Guidelines
  • Privacy Policy
  • Affiliate Disclosure
© 2023 TechNewsToday, editor@technewstoday.com | Tech Central Pvt. Ltd.

Type above and press Enter to search. Press Esc to cancel.