Delete DLL Files
To delete unwanted or corrupt .dll files, you will need to find them by making hidden files visible, unregister them through Command Prompt, and then delete them manually from their source folder. Your PC's Dynamic Link Library files store shareable code for basic programs like pop-up windows. Unfortunately, some computer viruses pose as .dll files, making them difficult to locate and delete. Please note that, while it is possible to delete .dll files from earlier operating systems such as Windows XP and Windows Vista, there is no reliable way to do so on modern operating systems like Windows 8 and Windows 10.
Contents
Steps
Finding DLL Files
- Open the Start menu.
- Click "Control Panel". There should be a default icon in your Start menu.
- You can also click "Run", type in "Control Panel", and then click "OK".
- Open the "Folder Options" folder. This will allow you to make changes to system folder appearances.
- Click the "View" tab at the top of the Folder Options menu.
- Click "Show hidden files and folders". This will display a wide variety of previously-hidden system files, including .dll files.
- Make sure "Hide extensions for known file types" and "Hide protected operating system files" are both unchecked. You should be able to view .dll files and their extensions now.
- Click "OK". This ensures that your preferences are saved.
- Open a web browser of your choice.
- Type "DLL scanner" into your search engine. Unless you know exactly which .dll files are corrupt--and, therefore, in need of deletion--you'll need software to scan for the afflicted files.
- "DLL Files Fixer" and "DLL Archive" are both highly-recommended choices.
- Download your DLL finder once you settle on a software choice. Make a note of the location to which the software downloads, since you'll need to install it from there.
- Double-click the software's icon to install the DLL finder. Software installation will vary based on its version and brand, so follow the instructions on your screen to install correctly.
- Run your DLL finder once it is installed.
- Review your results. The DLL finder should give you the names and locations of any corrupted or false .dll files. You can use this information later to unregister and then delete these files.
Unregistering and Deleting DLL Files
- Open your DLL file's location. This will ensure that your current directory is updated to match that of the .dll file.
- If you are deleting multiple .dll files, they may not be in the same location.
- Open the Start menu.
- Click "Run".
- Type "cmd" into Run's text field, then click "OK". This will open the Command Prompt app, which allows you to interact with the operating system via user-entered commands.
- If you're using Vista or later, you'll need to boot Command Prompt in Administrator Mode. To do this, click "All Programs" in the Start menu, select "Accessories", right-click the "Command Prompt" icon, and select "Run as Administrator".
- Type "cd" without the quotes and press ↵ Enter. This will reset your Command Prompt execution to your current directory, where the .dll file is located.
- Type "regsvr32 -u (filename)dotdll" into Command Prompt. This command finds and unregister your targeted .dll file. Exclude the quotation marks and the apostrophes; for "(filename)dotdll", insert the name of your target .dll file and the .dll extension.
- Press ↵ Enter to unregister your DLL file. Your .dll file should now be ready for deletion!
- Locate your DLL file in its directory.
- Right-click your DLL file and select "Delete". This will send your .dll file to the Recycling Bin, from which you can delete it permanently.
Tips
- You should always set a Use-System-Restore-on-Windows-7 before deleting sensitive files.
- On modern operating systems, you should make sure you have a strong antivirus program in place to protect against viruses in .dll format.
Warnings
- Never delete or alter system files on any computer other than your own personal machine.
- A large number of .dll files are system files. Deleting the wrong one may cause your computer to crash, so never delete a .dll file unless you're absolutely sure of its function.
Related Articles
- Edit DLL Files
- Repair DLL Errors
- Register a DLL
- Open DLL Files
- Restore DLL Files on Your Computer
Sources and Citations
__