How to delete a folder that is not deleted? Several ways
It happens so that the user cannot move any directory to the recycle bin, or even completely erase it from the hard disk. The computer at this time "swears" messages of various errors, and is not going to perform the necessary operation. The forums have a large number of topics starting with the words: "I can not delete a folder", but the question remains unsolved, because the reason that interferes with working with directories on one computer is often not a common case, but a private one.
Causes of the problem
- The directory cannot be deleted because the file in it is blocked by an anti-virus screen. Often this happens when the user attempts to delete the directory in which the quarantine is stored. Also, the antivirus could detect the Trojan, block it, but postpone treatment, for example, until the next update of the virus database.
- A document located in a folder is used by a program.
- The user does not have enough rights.
- The system uses a directory to store its data.
- The device from which the folder cannot be deleted is write-protected.
- Another user is editing the directory on the local network.
If the directory cannot be erased, try doing the same operation in safe mode. The advantage of this approach is that Windows will not use many of its libraries and will launch a minimum of components. Therefore, if the directory cannot be deleted due to the fact that some application is using it, in safe mode this application simply will not start.
To load the operating system in this form, you should even press "F8" on the keyboard before loading it. Many users insure and click on this button several times as soon as BIOS messages disappear. In the menu that opens, select the option "Additional boot options", and then - "Safe Mode".
Since deleting a folder that is not deleted does not always work through safe mode, you can try using the popular utility - Unlocker.This small program is specially created to unlock the files currently used by the system, a virus or applications.
- Download the utility from the official site and install it.
- After installation, you need to restart the OS, but often everything works without this procedure.
- Right-click on the directory with which you can not perform the required manipulations, and select "Unlocker".
- In the window that opens, the processes that use the directory (or files in it) at the moment are displayed.
- Click on the item "Unlock" or "Unlock All", and then in the drop-down menu - "Delete" or "Delete".
Bad sectors and hard disk errors
Since it is impossible to delete folders that cannot be deleted if there are HDD errors, it is necessary to perform a check. Such problems are very difficult to identify, and apply the above method is necessary in the last turn. It is possible to determine that bad sectors are to be blamed, if Windows displays dialog boxes referring to CRC errors (checksum).
- Open the "Run" window by selecting this item in the "Start" menu.
- In the input line type "cmd" and press "ENTER".
- A command prompt opens. In it type "chkdsk [drive-letter]: / f / r", if the partition is used by the operating system, the user will be prompted to perform a check after the next reboot.In this case, press the "Y" key.
As you know, a convenient work tool is built into the Windows family of operating systems, which ordinary users do not like - the command line. Delete a folder with it sometimes turns out, if the standard methods do not help.
- Create a shortcut on your desktop by invoking a standard dialog. To do this, right-click, and in the context menu, click on "Create shortcut".
- In the window that opens, find the input field called "Location of the object" and enter into it "cmd.exe", click "Next" several times.
- Right-click on the shortcut you just created and select "Run as Administrator".
- To delete directories, use the "rd" and "del" commands. The syntax is as follows: [command] [parameters] [partition_length] \ ["full path to folder"]. For example, you need to delete the subdirectory "12 34", which is located in the "abc" directory on drive D:
- rd / s / q "D: \ abc \ 12 34"
- del / f / q "D: \ abc \ 12 34"
How to delete a folder that is not deleted if none of the above methods helped? Try using a livecd or other operating system. If you have, for example, Windows 8 and Windows XP installed on your computer, and the new OS cannot erase the data, just boot into XP.
In the case of the LiveCD, you can recommend Slax, Ubuntu, Windows XPE, Hiren.It is not possible to describe in detail the use of each distribution, for this is material for several more articles, but the principle is the same for all. First you need to download the LiveCD image, then burn it to disk. Boot using the CD-ROM as the first boot device. In the built-in Live distribution, open the file manager and perform the necessary manipulations.
Lack of rights
How to delete a folder that is not deleted, and Windows at the same time refers to the lack of privileges to work with the directory? The latest versions of the OS implemented a rigid distinction of user rights. This is done more to improve security, but the best is the enemy of the good, and from time to time this functionality is more difficult than helpful.
To fix the settings:
- Right-click on the directory and select "Properties."
- Click on the "Security" tab. Look in the "Groups and Users" field. Here you need to find either the inscription "All" or the name of the account under which you are logged.
- Highlight one of the items with the left mouse button and click on "Edit". Permission settings will open.
- Here you should check the box next to the inscription "Full Access".
After the done manipulations, the problem will disappear, since to delete a folder that is not deleted, now nothing will interfere.