How to delete a file that is not deleted

How to delete a file that is not deleted

A folder or file in Windows may not be deleted for different reasons. Sometimes it testifies to the presence of a virus using these components, more often - that delete these files is not safe for system performance. How to distinguish one from another, as well as cope with the problem, let us tell in detail in certain items of this article.



1
How to delete a file that is not deleted - to become the owner of the folder in Windows

Sometimes when you try to delete certain files, the system reports that you are not the owner. Therefore, you need to get permission to delete, that is, the rights of the data owner. To do this, use a special command:

  • run the command prompt on behalf of the administrator (Start -\u003e CMD);
  • enter takeOwn /F "full path to the file" or T. aKEOWN / F "path to folder or disk" / R / D Y;
  • if the process has passed successfully, you will receive a notice that we received the rights of the owner;
  • similarly running ICACLS "path to file or folder" /sETOWNER "username" /T /C;
  • or ICACLS "% 1" / GRANT: R "username" :( oi) (Ci) F - To change the folder and placed inside it objects.

We get access through security settings, without command line:

  • by right click on the file, open the context menu;
  • we go into the "Properties" -\u003e on the Safety tab and click "Advanced";
  • we find the "Owner" clause, click "Change" (all actions produce from under the administrator account);
  • once again, press the "Advanced" button, inside - "Search";
  • select from the list of the user or group that you want to resolve changing / delete file;
  • reboot, go to the specified account, delete unnecessary.



2
How to delete a file that is not deleted from the help of the "Task Manager"

If the system writes that this method will help, this method will help:

  • run the task manager (CTR + ALT + DEL in Windows 7, Win + X for Windows 8 and 10);
  • we find in the list of processes the one that our file is busy;
  • process stop, delete the file;
  • if it is busy with the Explorer.exe process, first open the command line;
  • after closing the Explorer, delete the file with the command del Full_Put_Fail;
  • to return the desktop and the usual interface without rebooting, select "File" -\u003e "New Task" and writing "explorer.exe" in the Manager.

3
How to delete a file that is not deleted by special software

There are a lot of third-party tools to remove a file that is not deleted. One of them is a boot disk or flash drive. Additional Recovery Assembly Explansions do not require - load and delete what is needed (or we use the built-in tools for which they are recorded - it all depends on the lineup of LiveCD). Among the individual programs it is worth mentioning Deadlock. It works like this:

  • kacham program from the official site, set as any other;
  • run after installation, through the "File" menu, we find the target file;
  • add it to the Deadlock menu;
  • click right-click and select one of the action options (for example, Unlock - unlock or Remove - delete);
  • if the file is used by some program, it is also possible to complete it from the DeadLock menu (the program will notify you about it).

The easiest way to remove, which was not previously mentioned is to try to go to Windows with administrator rights and remove the unnecessary file. If an empty folder remains after deleting files, which is not deleted, reboot and try again.

Add a comment

Your e-mail will not be published. Mandatory fields are marked *

close