2022 How to delete files that prompt cannot be deleted on Windows

How to delete files that a file shredder can't delete.
Today I found out that Master Lu and the 0install software still have files left after uninstalling on the computer, and they reappeared after being deleted. So I started to clean up thoroughly, and found that some files could not be deleted, and the shredding of Tinder's files was useless. So I started to manually try to delete, and finally deleted successfully.

First, let me introduce what are the main places that need to be cleaned up in order to clean up a software?

  1. There are 3 folders under AppData, there may be residues in these three folders.
    Before cleaning, first open the hidden folder, and select the hidden item to display:
    insert image description here

Mainly concentrated in the folder, the Temp directory, or the directory named after the software. For example: Master Lu is lds
insert image description here
2. Program Files, or Program Files (x86) folder, if there is a folder named this software, it also needs to be cleaned up
insert image description here

  1. In the ProgramData folder, this file is a hidden folder.
    If there is a folder named by the software you want to clean up under this folder, it also needs to be deleted.

Delete undeletable files

  1. Right-click the file or folder that cannot be deleted, open Properties->Security
    insert image description here

  2. Click Edit -> Add, enter Everyone
    insert image description here

  3. Give Everyone all permissions, then apply
    insert image description here

  4. Click Advanced to check whether there is a permission to deny deletion
    insert image description here
    . If so, delete this permission.
    If prompted to cancel permission inheritance, confirm it, and click the "Disable Inheritance" permission in the lower left corner.

  5. Try to delete the file.
    If the prompt is occupied, it means that some software or service is using this file. It can be deleted immediately after restarting the system. If it still doesn't work, then you can only find this process and delete it after shutting it down.

Find which process the file is occupied by:
https://cloud.tencent.com/developer/article/1703311

Guess you like

Origin blog.csdn.net/qq_41709801/article/details/127785890