Delete Undeletable Files and Folders in Windows
Delete Undeletable Files and Folders in Windows

Hello guys, Here I come with a fascinating and common topic: “How you can delete undeletable files or folders in the Windows system.” I am sure all of us have faced this problem in our life.

This kind of error occurred because of malware, spyware, adware, and some system program. Because sometimes our computer system used our file in the background, that why we can’t be able to delete those files or folders.

Always try to clean junk files from your system or irrelevant files that occupy unnecessary space on your system. So let’s check how we can deal with this problem. I’ll provide you with two methods; both methods are useful and working.

#Method 1: Using Command Prompt

Delete Undeletable Files and Folders in Windows

Command Prompt is a fantastic tool in windows that can fix most of your problems with just a command. Today, in this method, we will guide you on how you can fix undeletable file issues.

Also, Read- 100+ Windows 10 Run Commands You Should Know

Before we run commands, you must restart your computer because there is a strong possibility that your file location might be in use by the windows program. So whenever we restart our computer, all programs which run in the background are stopped. After the restart, browse your file location and delete the file or folder. If the problem continues, then follow our below steps.

Step 1: Open “Command Prompt” Option

There are two ways to open a command prompt. The first is that you can click on the start button and type “CMD” or “Command Prompt” in the search bar, or you can press “Window key + R” and type “CMD” “Command Prompt” without any quotation marks.

Step 2: Run as an Administrator.

This step is for those you are using the first option to open “CMD” or “Command Prompt.” So when you write “CMD” in a search bar, it will show you the cmd option. Right-click on it and choose the run as administrator option.

Note: This method will not work if you don’t run Command Prompt in Administrator mode.

Step 3: Type the Command

The black window will pop up on your computer, where you will type your command. The command is “del /F /Q /A C:\\users\\Your username\\ your file location\\ Name of the file you want to delete.”

Let me explain these commands, meaning simply.

  • /F – The meaning of F is “Force deleting of read-only files.”
  • /Q – Q stands for “Quiet Mode,” which means the computer will never ask anything when you click ok to delete.
  • /A – A stand for “Select files to delete.”
  • C:\\users\\ – type this command is because we all know C is the main part of a computer where C drive contains the operating system and all the files of the window, which helps run the window.
  •  Your Username\\ – Here, you need to type your computer user name, for example- “Bisht Family” this is my username, and you also get an idea from the above image.
  • Your file location\\ – I think most of you have already understood, but some are confused, then don’t worry. See, you have to type your file location for ex- “Desktop,” as you can see on the above image, so if you file is somewhere else, then type that name.
  • Your Filename – The last step where you type your file name which you want to delete. For example, if your filename is “sample.txt” in Drive Z, you must type “del /F /Q /A Z:\\sample.txt”.

Step 4: Hit Enter

The last and straightforward step is “hit Enter” after tying all the commands correctly, you need to press the enter button, and your folder or file will be gone forever.

Steps To Delete a Folder That Won’t Delete [SOLVED] Windows 7/8/10 (Video Tutorial)

#Method 2: Using an Unlocker Application

Using an application is a much easiest way to delete the undeletable file or folder in a second. If you face this problem and really want to delete the folders, don’t worry about it.

You have to download an application that will help you to delete the undeletable folders. But the main point is which software is good for this, so don’t worry, follow the below steps. And you will delete folders from your computer.

Step 1: Download an Application

There is so many application on the internet for deleting a malware folder from the computer. We are using Unlocker because this application is safe for use. If you need more options, then research on the internet; there are many more options available like BitRaser, File Assassin, and Lock Hunter.

Unlocker Download link: Click for Download Unlocker

Step 2: Run the application

Now double click on the application to install. After installing, simply click on the icon. The application will show you a pop-up box that asks you to Browse your files or folders you want to delete.

Step 3: Delete the file from your computer

If you select the folder you want to delete, select the action you want to perfume and click ok.

So this is how you can delete all the undeletable folder on your windows machines. We know how irritating these undeletable folders can get. So don’t worry now. Please share this article with your friends who might get benefit from it. Please bookmark our site for more such articles.

Related Articles


Please enter your comment!
Please enter your name here