If you want to display the contents of the directory, use the dir command. Unregister the unwanted DLL In the directory where you want to remove the DLL, type regsvr32 /u DLL_NAME and press the Enter button. To start unregistering DLL files, you will need to follow these steps: Open the Command Prompt window Press the. Start button on your taskbar and click on. Run to start the Run tool. If youre really serious about removing unwanted DLL files, make sure you use Windows Add/Remove programs first ( how to use Add/Remove programs ). Most applications come with an uninstall program that will remove the unwanted DLL files. Unregistering succeeded. If the DLL was unregistered successfully, a confirmation message will be displayed. If you want to undo the removal, you can perform it by typing regsvr32 without the /u key, just type regsvr32 DLL_NAME to undo the changes. In the field, type cmd and press the OK button. Locate the DLL file. After opening the Command Prompt window, locate the exact DLL path as shown on the screenshot below. Type cd in order to change the current directory, press the space button, enter. This results in DLLs being left behind that can recreate the malicious program on reboot. To remove a specific DLL, you should use Regsvr32 (Regsvr32.exe) to register and unregister DLL files which is already built in your Windows operation systems package. Home Tutorials How to Remove DLL Files. The benefit of having DLL files is that they dont get loaded into random access memory (RAM) along with the main program, which saves up space in RAM. So instead of all the coding being built into the program, it uses a particular DLL file. » Learn more about SpyHunter's Spyware Detection Tool and steps to uninstall SpyHunter. There are plenty of other programs available that can help you identify and remove unwanted DLLs, but Regsvr32 is the most common. Learn how to remove spyware DLL files from your computer. Unregister Spyware DLL Files Manually Warning: Unregistering spyware DLL files is difficult and risky. If you unregister the wrong DLL file, your computer may crash and important data may be lost. What is a DLL file? DLL (Dynamically Link Library) is an executable file that permits programs to share code to perform one or more predefined functions. A DLL file can be used by several programs at the same time.