One trick to interrupt the uninstall program DLL file tail

  
        After uninstalling the software, some unnecessary files, such as DLL files, are left on the machine more or less, which is very annoying. Even more troublesome is the fact that it is often impossible to delete these residual DLL files. The reason is that 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. Take the current popular download software Thunder as an example. When we uninstalled with Thunder's own uninstaller, we found that a DLL file called XunLeiBHO_002 cannot be deleted directly in the subdirectory of Thunder's installation directory (ThunderNetworkThunderComDlls). But how do you know which process called this DLL file? In fact, it is very simple, use the Windows XP comes with the "tasklist" command combined with the "/M" parameters on the line, after the completion of the process to close, and then delete the DLL file. “Tasklisk” This command has a lot of parameters, the specific full help can be used in the "Command Prompt" window "““Tasklist /? ”Query. 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. The specific examples are as follows: Run CMD to open the "Command Prompt" window, and then enter "Tasklist /M XunLeiBHO_002.DLL", after the carriage return, the program will return the process information related to the DLL module. It turns out that XunLeiBHO_002.dll is being called by Explorer.exe. After we found the calling process, our first step was completed. The next job 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 "Processes" tab to end the process. Then you will find that there is no desktop? How can this be deleted? Don't worry, select menu “File → New Task (Run …)”, then enter the DLL directory in the pop-up file selection box and delete it. After the completion, re-run “Explorer.exe” task can be restored. Desktop display. Tip: The PID column represents the process ID of each process. In simple terms, the PID is the “identity” of each process in the system.
Copyright © Windows knowledge All Rights Reserved