Manually solve the problem that DLL files cannot be deleted
Source: Internet
Author: User
I believe everyone has met the following error message: the file is running or the disk write protection cannot be deleted when some software is deleted (1 ). Files with the suffix. dll are often deleted. What is this DLL file? How can I know which programs are calling this DLL file? The DLL file name is Dynamic Linking Library, which is short for DLL. The Chinese name is "Dynamic Link Library. In Windows, many applications are not a complete executable file. They are divided into relatively independent dynamic link libraries, that is, DLL files, which are placed in the system. When we execute a program, the corresponding DLL file will be called. An application may have multiple DLL files, and one DLL file may be shared by several applications. For example, if a DLL in the system has the network connection function with the remote system, we assume it is named network. DLL. If another application wants to use this function, the program only needs to work with the network. DLL Dynamic Link (Dynamic Linking), you can use the network. DLL network connection function to achieve remote connection system. To put it simply, the features of DLL are:
1. The DLL itself cannot be executed by itself and must be called by other programs.
2. DLL files have certain functions.
3. When the system is just created (such as when Windows is installed), a certain number of DLL exists in the system, and some applications will also add their own required DLL to the system, as a result, the number of DLL files increases with the increase of applications.
Since we know the concepts and features of DLL files, how can we solve the problem of difficult deletion? Although there are many ways to solve this problem, such as using the software unlocker to delete it. This section describes how to manually delete DLL files.
Because the DLL file is destined to be called by multiple software, this is also why the DLL file cannot be deleted-the files in use cannot be deleted. So which program is calling this DLL file? How can I delete this DLL file? The following describes how to manually delete a DLL file.
Step 1. Enter cmd to enter the command prompt.
Step 2. Enter the command tasklist/m> C:/listdll.txtand A listdll.txt text file will appear under the C drive. This file 2 lists the DLL files currently being called by various programs. In the pop-up search box with Ctrl + F, enter the DLL file you want to delete and find out which program is calling this DLL file. Step 3. Press CTRL + ALT + DEL to open the windows Resource Manager and stop using the program or process that needs to delete the DLL file. Then you can easily Delete the DLL file.
Step 4.if the path to occupy the DLL file is the svhost.exe file/process, this process generally involves a total of seven to eight systems. Which svhost.exe process occupies the DLL file? You can enter tasklist/svc at the command prompt. Of course, you can also output tasklist/svc> C:/listsvc.txt as a text file. In this case, svhost.exe in the listsvc.txt file will generate the PID Number of each process shown in 3. In this case, you can end the process based on the PID to delete the DLL file.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.