How to remove a dll file that is not removed. How to delete a file or folder in Explorer? Using system tools
please tell me how to remove files with dll extension and got the best answer
Answer from Boris Beskrovny[guru]
Files with the DLL extension are no different from other files and are deleted, respectively, just like any other files. It should be borne in mind that many system DLLs are busy with system processes of the operating system during its execution, so they can only be deleted when the operating system is not running, for this you can, for example, boot from a floppy disk (in this case, you will not see NTFS partitions) or by removing the hard drive and inserting it into another computer. Also, you will not be able to delete files (any, not just DLLs) if you do not have enough rights to delete, in which case you need to log in using account administrator.
In general, you need to remove the DLL with great care.
Answer from 2 answers[guru]
Hello! Here is a selection of topics with answers to your question: please tell me how to delete files with the dll extension
Answer from GweNIK[active]
I wouldn't do it if I were you...
Answer from Den Denoff[active]
shift+delete
Answer from Shurick Letsko[guru]
del*.dll
Answer from Alexey Olegovich Pavlenko[guru]
ne rekomenduetsya udalyat" vse podryad... osobenno, esli fayli v sistemnoy papke Win32...
mojno udalit", pol"zuyas" DOS, Linux or drugoy vindoy...eto esli net razreweniya
Answer from User deleted[expert]
they are simply deleted if there is protection on them, then you need to delete the file on which the protection is based; if it is a system one, then it will not work then in safe mode!
Answer from your nightmare[expert]
it’s better to try not to delete them at all, and if it’s very impatient, then remove them from use or remove the read-only parameter
Answer from Leonov Alexey[guru]
Dll files are system files, they cannot be deleted because their middle name is DirrectX. , and you need to restore this library.
Answer from Psyche[guru]
If in standard ways(same shift+delete) can't be deleted, so the dll is loaded into memory. Try at Windows boot hold F8, then select "Safe Mode", boot into safe mode and try to remove the dll you need in the usual ways.
Answer from Yoonya Kondratenko[newbie]
Shkolota, for example, did not remove CoreSync_x64.dll from Adobe, and there is no way to remove it by standard means ...
Here's how to do it...
At any Windows versions The NT family has a tasklist command-line tool that allows you to display a list of processes running by the operating system. To use it to delete non-removable files, follow the instructions:
Start -> Run (Win + R).
In the window that appears, type cmd, press the Enter key.
In the black window that appears, type tasklist / m > c: asklist.txt.
This command prints a list of all processes with modules involved in their work (dll and exe files) and saves this list to the file c: asklist.txt, instead of displaying it on the screen.
Open file c:asklist.txt and find the dll or exe file that can't be deleted.
If the file name is present in the list, then kill the process (via the task manager or with the taskkill command) that uses this file. The names of the processes are written in a text file on the left, the names of the involved dlls and exes on the right.
Often, a file that cannot be deleted is used by the explorer.exe process, which displays folder windows, icons on the desktop. It, like any other process, can be terminated, and, of course, all the windows that explorer.exe and the panel with the start menu should display will also close. In this case, do not close the black window. After completion of the explorer.exe process, it will not be closed and it will be possible to type a command to delete the file del path_to_file.
I will add that there are processes, the termination of which can lead to a restart of the computer, usually these are some of the svchost.exe, so do not be alarmed if suddenly Windows decides to restart the computer. After a reboot, everything will be the same. In this case, it is much more difficult to delete a non-removable file, you must either use safe mode, or ERD, or another operating system.
Finally delete the file. And you can restart the previously completed process.
All these manipulations can be carried out with remote computer, provided that it has administrator rights.
I also want to note that there are cases when, when deleting a file, it seems to have been deleted without unnecessary error messages, however, after updating the contents of the folder, the file reappears. In this case, it is necessary to check file system for mistakes. To do this, run the command on the command line
chkdsk c: /f
where: c: is the letter of the partition on which the file is located.
If the file is open in explorer, how do I delete it? A used object in Windows cannot be moved, renamed, modified, or deleted. First you need to close it and end the processes associated with it. Another or another option is to disable the conductor itself.
There are several ways to delete a file if it is occupied by Windows Explorer.
There are three ways to handle locked files and folder(s). However, in the event of a failure, you will have an additional remedy. Brutal Mode or "Force Mode" will allow you to overcome the most recalcitrant files and folders. Especially radically, this mode should be reserved for the most extreme cases.
How to run command line easily
Thanks to him, he can move faster to the elect. Now there are five blocks: "File", "Home", "Sent", "View" and "Mail". Stay on it with the right mouse button and select "Add" to the Quick Access Toolbar. And if you want to open it as a manager, press the right arrow and select that option. When you are in this window, note that there is also an option to "Delete history" here. This makes it easier to remove the list of recently visited places and the history of the panel.
Try some easy ways to get started.
Task Manager
The hung item may not be on the taskbar. You won't see it even if it's open. But you don't have to restart your computer. Windows 7, 8, and 10 have a service where you can view and selectively disable running programs. Here's how to close a file in File Explorer:
How to delete a file from system
Right-click on the file and select Connect. You have easy access to the data stored in it, it behaves like a block of data. Data can be copied from it and even added to it. If you encounter a file type that any installed application cannot open, a window will appear asking you to find the right software. Select "Find Store App". This is a new feature that tries to find an application to open the file. You can click the "More" button to view installed programs and choose the one that opens the file.
The program can be "hidden" in background processes. This means that it is not visible, but at the same time it works and is used by the system. And how can I delete an item without restarting the PC? The same Task Manager will help.
- Open it and go to the "Processes" section.
- Find the application process there. Usually its name is the name of the executable file.
- Click on it and click Finish.
- If you don’t know what this program is and what it is responsible for, it’s better not to risk it. You may accidentally disable a system process.
Computer management
Windows 7 and other versions of the Win OS have another useful feature. Here's how to close a file in File Explorer with it:
close explorer
Removing used files is pointless. You will not be able to erase them while they are active. But it is not necessary to look for them in the "Dispatcher" to close them. You can disable the conductor itself. Better yet, restart it.
If something is done incorrectly, errors will occur. It's still a system service, not a user program. You should not close it if you plan to work on the computer more.
Here's how to remove a file from File Explorer:
You can also do it differently:
- Go to Start.
- Hold down the Ctrl+Shift keys and right-click on any free space. Not by the logo, but in the area where the list of shortcuts is located.
- Select Exit Explorer from the context menu.
To run it:
- Hold down Ctrl+Shift again.
- Right click on "Start". This time by the icon itself, and not by the area "inside" the main menu.
- The line "Open File Explorer".
Third Party Programs
You can unlock objects using special software. After that, you can delete them. These utilities are very easy to work with. They have a clear interface and a minimal set of options. They themselves are compact, weigh little and do not require resources. You will quickly figure out how to close a file in Windows 7 Explorer.
- Find on the Internet, download, install and run.
- Before you will be a window with a menu bar and an empty table. It will contain information about the selected elements.
- "File - Open" command.
- Specify the path to the object you want to delete. It will appear in the workspace of the unlocker program.
- Click on it with the right mouse button.
- Select Unblock.
- The "Status" column should read "Successfully Unlocked".
- You will then be able to delete the item.
It is not uncommon that you want to move, rename or delete a file, and a dialog pops up for you that file is open in system, and therefore the operation could not be completed.
Naturally, the first thing that comes to mind in this case is to look in the Task Manager. If the file is shown in the Applications section, then everything is simple. You just need to close this file.
How to close a file
An open file can be closed with Task Manager. To do this, you need to log in Dispatcher, highlight a running application (the one you want to close). Then click the button below End task. The application will close.
But all this is good and works great if we want to perform some action with a file open in some program, for example, in Word. In this case, a warning is issued indicating in which program the file of interest to us is open.
But we have a warning that file open exactly in system. And this means that the file is open in some system utility program. And such programs are not displayed in the Task Manager. The applications section will show files and applications that we, in fact, open ourselves. We will not see files opened in system.
How to close a file opened in system
What to do if the dialog box about the impossibility of completing the operation (the file is open in the system) pops up properly, and the system program is not displayed in the Manager. We see there only a running application - a dialog box.
How to close or delete the file from the system in this case? There are several options here and we will consider from simple to complex.
First of all, you need to pay attention to what kind of file you want to close, to its extension. Most often this happens if we want to delete or move an image file with an .iso (or some other) extension.
The easiest thing to do in this case is to check the virtual drives.
In one of them you will surely find the mounted file.
This will be the file opened in system. The fact is that all disks, including virtual ones, are managed by a system utility program. And while the file is in the virtual drive, when you try to perform some action with it, except for opening it, you will receive a warning about the impossibility of completing the operation, because file opened insystem.
It would seem that in this case, you can right-click on the drive and Extract drive file. But in fact, this function does not work like removing a real disk from the drive. If we click extract, the file will be deleted from the drive, but will remain in the system and we still cannot close or delete it.
But there is a simple and effective way to close file in system. You just need to ... restart your computer. After rebooting, check if the file from the drive has disappeared, you can perform scheduled operations. There will be no warning dialog.
It's simple and good, but... it doesn't always work. Rather, it works if in the settings of the program that creates virtual drives, for example, Daemon Tools is not checked Automatic mounting.
If the bird is standing, then when you restart the computer, all the latest mounted files will be automatically re-mounted.
Thus, if you want to close files opened in the system by simply restarting the computer, uncheck the box Automatic mount Daemon Tools. If this does not suit you, then you can do it differently.
How to delete a file from system
You can delete a file from system without restarting your computer. Let's consider this possibility using the iso file as an example. First, we check its presence in the virtual disk. If it is there, you just need to unmount it.
It is more convenient to unmount the file in Daemon Tools. When you open this program, you will see all virtual drives and all files mounted in them.
Right-click the drive with the file we need, select Unmount. And that's it, ... you can delete the file, there will be no warning that it is open in the system.
Moreover, in Daemon Tools, you can delete files from the system, even if they were previously mounted in another program, for example, in UltraIso.
Using the UltraIso program, you can also unmount virtual drive, and, therefore, removed from the system, but only if it was previously mounted in it.
Thus, before delete file from system, you must first unmount the virtual drive.
Removing files from the system with the Unlocker utility
You can also delete files opened in system using the utility Unlocker. This free utility. It allows you to delete almost any files that are under control. system processes, including system. But it must be used with caution. It can also delete system files.
A common problem faced by novice users is that a file or folder is not deleted (due to some file) that needs to be deleted. At the same time, the system writes the file is in use by another process or action cannot be performed because this file is open in program_name or that you need to ask permission from someone. This can be encountered in any version of the OS - Windows 7, 8, Windows 10 or XP.
Another way to delete such a file is to boot from any LiveCD drive, system recovery disk, or boot Windows flash drives. When using LiveCD in any of its variants, you can use either the standard GUI Windows (for example, in BartPE) and Linux (Ubuntu), or command line tools. Please note that when booting from such a drive, hard disks computer may be under different letters. To make sure you are deleting a file from desired disk, you can use the command dirc:(this example will display a list of folders on drive C).
Using bootable flash drive or installation disk Windows 7 and Windows 8, at any time during the installation (after the language selection window has already loaded and in the following steps), press Shift + F10 to enter command line. You can also select "System Restore", a link to which is also present in the installer. Also, as in the previous case, pay attention to the possible change in drive letters.
Using DeadLock to Unlock and Delete Files
Since the Unlocker program discussed below, even from the official site, has recently (2016) begun to install various unwanted programs and is blocked by browsers and antiviruses, I suggest considering an alternative - DeadLock, which also allows you to unlock and delete files from your computer (it also promises to change the owner, but in it didn't work in my tests).![](https://i2.wp.com/remontka.pro/images/deadlock-actions.png)
![](https://i0.wp.com/remontka.pro/images/deadlock-file-unlocked.png)
Free Unlocker to Unlock Files That Can't Be Deleted
The Unlocker program is probably the most popular way delete files that are in use by a particular process. The reasons for this are simple: it is free, it does its job well, in general, it works. You can download Unlocker for free on the official website of the developer http://www.emptyloop.com/unlocker/(recently, the site has been identified as malicious).
Using the program is very simple - after installation, just right-click on the file that is not deleted and select in context menu"Unlocker" item. In the case of using the portable version of the program, which is also available for download, run the program, a window will open for selecting the file or folder that you want to delete.
The essence of the program is the same as in the first described method - unloading from the memory of the processes that the file is busy with. The main advantages over the first method are that it is easier to delete a file using the Unlocker program and, moreover, it can find and complete a process that is hidden from the eyes of users, that is, not available for viewing through the task manager.
Update 2017: Another way, judging by the reviews, that works successfully, was suggested in the comments by the author Toha IT specialist: install and open the 7-Zip archiver (free, works the same as file manager) and in it rename the file that is not deleted. After that, the removal is successful.
Why the file or folder is not deleted
What can prevent deleting a file or folder
If you do not have the necessary rights on the system to modify a file or folder, you cannot delete it. If you didn't create the file, chances are you can't delete it either. Also, the cause may be the settings made by the administrator of the computer.
Also, the file or folder containing it cannot be deleted if the file is currently open in the program. You can try closing all programs and try again.
Why does Windows say the file is in use when I try to delete a file?
This error message means that the file is being used by the program. Thus, you need to find a program that uses it and either close the file in it, if it is, for example, a document, or close the program itself. Also, if you are on a network, the file may be in use by another user at the moment.
After deleting all files, an empty folder remains
In this case, try closing all open programs or restart the computer, and then delete the folder.
How to remove a DLL? This question is asked to us by many e-mail and in social networks. It seems that the time has come to describe in detail this very simple procedure. However, before removing the dll from Windows systems we strongly recommend that you do backup this file, because it is likely that this file may be necessary for the system to work correctly, and with our barbaric methods we will drive poor Windows into a complete stupor. To prevent this from happening, copy the dll you want to delete, for example, to the desktop. Just in case.
How to remove a DLL without offending the system?
Now let's go directly to the answer to the question - how to remove dll from a Windows system. The answer is simple. There is an excellent command in the system, designed just for operations with dll libraries. This is the regsvr32 command. It saves the user in those cases when it is necessary to register the library in the system or remove the dll. The syntax for this command is dll removal file could be like this:
regsvr32 /u C:\Windows\System32\dllname.dll
In order to execute this command, click "Start", select "Run", type the command regsvr32 /u C:\Windows\System32\dllname.dll into the command line and click "OK". If everything is in order and the DLL was removed successfully, then you will receive a message on the screen stating that the unregistration operation was successful. Now this file can be physically deleted from the disk, or you can leave it in its place. It is possible that this dll will still come in handy in the future. Note that before removing dll file It is NECESSARY to carry out the process of unregistering him in the system, in otherwise Windows will assume that the file is on the system and will attempt to access it if necessary. Here we will get wild brakes and glitches, because. the system will frantically try to find this library.
It is also possible that in some cases it will not be possible to remove the dll by unregistering it. This means that some program is actively working with this library and the system simply cannot deprive it of such an opportunity. In this case, you must close the program that can use this dll file and perform the unregistration process again.
Good luck and remember to back up all your important data all the time.
Usually, if a file or folder is not deleted, it is enough to find and close the program that uses it. But sometimes there are files that lie in the most visible place for months, annoying, but no reboots help to delete, rename or transfer it. How to delete such files, we decided to write in the next review.
The operating system automatically blocks deletion and renaming open files. So, remove or move somewhere the DLL that is used in this moment, will most likely fail. Deleting an EXE file if it is running is also a problem. Some programs lock the files they open so that the system does not allow you to delete or rename them.
It would be half the trouble if it were not for the viruses. Locked files may contain malware, and in this case even the antivirus cannot always correctly delete or move the infected file. One option is to remove the DLL or EXE manually.
So, the first way. Deleting a file without third-party programs.
Open the folder containing the locked file in Explorer.
Select "Tools" -> "Folder Options" from the menu.
Select the "View" tab, and in the "Files and Folders" category, look for the "Use simple file sharing" checkbox.
If the checkbox is checked, uncheck it and click OK. (then it will be possible to return as it was)
Now right-click on our whimsical file.
Select Properties, Security tab, Advanced button. If there is no "Security" tab, most likely you have not completed previous paragraphs. You may need to boot into safe mode.
And we remove ALL permissions to read and execute. We remove the checkmarks from everyone in turn (check the “Delete” checkbox - do not touch it!).
Click OK.
We overload the computer.
After that, the file should be safely deleted.
Is it difficult? So many steps to remove some DLL? There is an easier way to delete locked files.
Unlocker
Unlocker- a small utility that will help unlock files. The program is embedded in Windows shell, so to use it, just select "Unlocker" in the context menu. A window will appear with a list of blocked objects, with which you can either simply unlock the file (or all files) or kill the process that has captured it. Additionally, you can select actions - delete the file, rename, move or copy.
Just. And it almost always works.
Enjoy! Now it is in your power to execute and pardon files! =)
You can also download latest version but be careful (!!!) When installing, uncheck the Delta Toolbar installation. It causes some problems for some users.