Solution for DLL files that cannot be deleted

  
Uninstall the software, safely uninstall it through the computer housekeeper or security guard, but after uninstalling, it will leave some useless files, such as DLL files, more or less on the computer. What should I do?

It is often impossible to delete these residues. The case of a DLL file is because the DLL file is being called by a process running on the current system. After we know the reason, we can handle it very conveniently. The method is to close the process that calls the DLL file, and then delete the DLL file.
Taking the current popular download software Thunder as an example, when we uninstalled with Thunder's own uninstaller, we found that there is a DLL file called XunLeiBHO_002 in the subdirectory of Thunder's installation directory (ThunderNetworkThunderComDlls). Delete directly. But how do you know which process called the DLL file? In fact, it is very simple, use the Windows XP's "tasklist" command combined with the "/M" parameter on the line, after the completion of the process, then delete the process, and then delete this The DLL file is fine.

“Tasklisk” This command has a lot of parameters. The specific full help can be queried in the “command prompt""“Tasklist /?” One of the parameters is called “/M [Module]”, the specific format is: "Tasklist /M [Module]” This parameter means: list all the processes that call the specified DLL module, if no module is specified Name, showing the module loaded by each process. With this good "helper", we can easily find out which process XunLeiBHO_002.DLL was called by.

The specific examples are as follows:

Run CMD to open the "Command Prompt" window, then enter "Tasklist /M XunLeiBHO_002.DLL", the program will return with the DLL after the carriage return Module related process information.

The original XunLeiBHO_002.dll is being called by Explorer.exe. We found the first step of the call process and we completed the work. The next step is to delete the file. Press the key combination "Ctrl+Alt+Delete" to bring up the "Windows Task Manager" and find "Explorer.exe" under the “process” tab to end the process.

At this time, you will find that there is no desktop? How can I delete this? Don't worry, select the menu <;File & Rarr; New Task (Run …)”, then enter in the file selection box that pops up. The DLL is located in the directory and deleted. After the completion, re-run the “Explorer.exe” task to restore the desktop display.

Small knowledge:

The PID column represents the process ID of each process. In short, the PID is the "identity" of each process in the system.

After uninstalling Thunder 7, there will be some useless DLL files on the computer, and these files will often be deleted. The solution is to close the process using the DLL file before deleting. It is also possible to close and delete the DLL file by starting the run command.

Copyright © Windows knowledge All Rights Reserved