How to Remove DLL Files

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. The benefit of having DLL files is that they don’t 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 that, with a simple call, can execute the operation for it.

Why is it important to remove malicious DLLs?

Most DLL files are essential for the running of your programs but there are other malicious programs, such as browser hijackers and browser plugins, that are usually made up of DLL files that can alter your system settings to allow attackers gain access on your computer.

If you’re 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. But be aware the uninstall utility will assume that certain files are shared and it will have no way of knowing which other programs use them or whether these programs are present on your machine. 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 system’s package.

» 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. As a precautionary measure, please back up important files and set a System Restore point (click Start > All Programs > Accessories > System Tools > System Restore, and follow the on-screen instructions) or run a spyware check with a trusted anti-spyware program to automatically detect spyware.

To start unregistering DLL files, you will need to follow these steps:
  1. Open the Command Prompt window
    Press the “Start” button on your taskbar and click on “Run” to start the “Run” tool. In the field, type “cmd” and press the “OK” button.

    Run Cmd
  2. 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 the full path to the DLL file and press the “enter” button on your keyboard. If you want to display the contents of the directory, use the “dir” command.

    Find the folder with the DLL
  3. Unregister the unwanted DLL
    In the directory where you want to remove the DLL, type “regsvr32 /u [DLL_NAME]“ and press the “Enter” button.

    Unregister the DLL
  4. 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.
Posted: June 6, 2006 | By
Rate this article:
1 Star2 Stars3 Stars4 Stars5 Stars (11 votes, average: 4.09 out of 5)
Loading ... Loading ...
Home Tutorials How to Remove DLL Files


  • Seriously says:

    This just helped me SOOOO much. A thousand thanks to you.

  • julia lloyds says:

    You need to run the windows repair tool that can make the difference when you are not able to fix the DLL file error then running Windows repair tool can fix and restore all the windows DLL files to the original version. If this cannot fix the DLL error then you need to use the PC cleaner software to fix the DLL error with the help of PC Repair Tool that detects all the errors invalid, corrupt damaged registry entries that rises the DLL errors and fix it automatically and enhances the performance of the system

  • madelein says:

    I managed to delete framedyn.dll by accidentally and now cant use google crome, can’t download updates and hardly anything works right!!!!! tried to restore system files tried re-installing updates,>>>>>>>>>>>>Please HELP

  • Hemant says:

    I constantly get an message which says MBR Rep.exe. Bad image on blue bar and the application or DLL C:/WINDOWS/ system32/MSIMG32.dll is not a valid windows image. please check this against your installation diskette. pl help me how to get rid of or solve the problem. also get message mmc.exe-Bad image on blue bar DLL C:/WINDOWS/ system32/MSIMG32.dll when I try to defragment. I have Windows xp sp3 installed.

  • Richard Laughton says:

    It worked! Only thing not mentioned was I had to do it in SAFE MODE.

  • bookmarking submission says:

    pt8ZuD I cannot thank you enough for the blog article.Much thanks again. Really Great.

  • Trisha L. Fleming says:

    I need to get this off my labtop now. Because I don’t like it at all. Hell I can’t even get on my webpages right b/c of all of this. SO GET THIS DAM SHIT OFF OF MY LOBTOP WILL NOT EVEN LET ME ON MY FACEBOOK.

  • H_U_D_G says:

    I am new at this, there was no Cancel Reply box, just Submit Comment. Good of vima to mention about the ommitted "not". Another thing since I am behind on my bill payments do telephone service providers install spyware and malware on slow payers?

  • pallDync says:

    To the point and well written, I appreciate for the info

  • Cary Smyrski says:

    Would be helpful if we relied on what you said

  • Mei Loske says:

    It wont let me open up host in any way. Any help?

  • roxy snowboard jackets says:

    Hey There. I discovered your blog using msn. That is a very smartly written article. I will make sure to bookmark it and return to learn extra of your helpful info. Thanks for the post. I will certainly return.

  • seo magic says:

    You can definitely see your expertise within the work you write. The arena hopes for even more passionate writers like you who are not afraid to say how they believe. All the time go after your heart.

  • Nick says:

    I have a useless DDL. i was using for a computer game, i actually have the dll on my desktop because i forgot what/who/when it got extracted there
    I did the command prompt, didn’t work. I appreciate the help!

  • SteveO says:

    hi I am trying to delete a dll file and am unable to, tried a few things suggested but message is same "not recognised as an internal operated program or batch file"…anyone help please

  • NTFS data recovery software says:

    DLL files were forever a mystery for me that what they were. Thanks a lot for remove my ignorance. I have try this and I have to say its magic. I am actually feeling very relaxed now.


    Thanks buddy for easy way explanation about the DDL files. Actually i searched more than 5 sites no one provide such easy information, thank u i learned very much from this site. good one!.

  • ntfs data recovery says:

    DLL files were always a mystery for me that what they were. Thanks a lot for removing my ignorance. i have tried this and i must say its magical. i am really feeling very comfortable now. Thanks again.

  • wizy says:

    dude u r a life saver!!!! ty so much !!!

  • aniket says:

    there is one more option u can change the extension .dll to .bak and restart ur pc and delete the file it works

  • carl says:

    Hi, Thanks for the info! I have always wondered what a DLL file is, now I know! :-)

  • job says:


    I tried deleting and i got the message unreg successful but yet when i try to delete the folder from Program Files,I am unable to delete it and it says Unable to delete snxPlugins.dll

    what do i do now.

    Help Me Please

  • jeet says:

    hi this is jeet .. i follow the instruction such kind of above .. but i didnt find the dll file in my lappi/……..

  • Roey says:


    Am trying to get rid off few sticky dll’s

    Followed the above instructions:
    C:\Program Files\Orbitdownloader>regsvr32 /u idht.dll

    and got the below massage (for others as well):
    ‘regsvr32′ is not recognized as an internal or external command,
    operable program or batch file.

    Thanks in advanced

  • Leapheng says:

    I did all of the introduction but i got this.

    Cmd command
    Volume in driver C has no label.
    Volume Serial Number is 38D6-62A8

    Directory of C:\Downloads

    10/20/2010 10:56 AM .
    10/20/2010 10:56 AM ..
    0 File(s) 0 bytes
    2 Dir(s) 278,626,304 bytes free

    Where is the File to unregister? It doesn’t show the dll files name.
    please help !!!


  • Focus keyboard says:

    I admire the valuable facts you provide in your articles. I’ll bookmark your weblog and have my children examine up below frequently. I am very confident they will learn lots of new things below than anybody else!…

  • Griddle says:

    Cheers for this article, guys, retain up the good operate….

  • Cross trainer guide says:

    I found your blog site on google and verify a couple of of the early posts. Retain up the good perform. I just added up your RSS feed to my MSN News Reader. Seeking forward to reading through additional from you later on!…

  • XTC says:

    Another file I have seen mentioned above was possible to delete – sshnas21.dll

    To delete this meant searching through the registry – Search for sshnas21 and delete every instance of it, you will then be able to delete the .dll from system32 folder

  • XTC says:

    Same here as above – Unregister yfcrcwl.dll does not work (Access Denied)

    It does not work in safe mode (Access Denied)

    It does not work wih explorer shut down (Access Denied)

    Cannot rename it (Access Denied)

    Cannot Overwrite it (Access Denied)

    Well you all get the idea I guess, so what to do ?

  • arman says:

    So when I open few applications I get the error that reads “namefile.exe – Bad Image” on the top blue bar and then it reads “The application or DLL C:\WINDOWS\system32\qqvwnva.dll is not a valid Windows image. Please check this against your installation diskette.” When I press ok the program opens. I have run my anti-virus program without luck. Please help….

  • Stefan says:

    i got a ‘TR/Hiloti.47616.D.24′ [trojan] in my ‘C:\WINDOWS\widmlt.dll’ Folder. I also tried the method which is above mentioned. But it doenst works. It says widmlt.dll was loaded, but the DIIUnregisterServer entry point was not found.

    Can someone help me?

  • valencia says:

    hey guys i have a problem…

    everytime i try to run my anitvirus my computer always freezes at windowsformsintegration.dll i’ve tried three different types of antivirus software (AVG, pandasecurity, and Airva) i tried to delete it and access was denied i did it both in safe mode and normal mode. please help me


  • chai says:

    i have Trojan TR/NAS.210944

    that’s what avira antivir says..

    it keeps shutting my internet explorer or mozilla.. it prevents access from the internet.


    how do i remove it?

    it’s in C:\Windows\System32\sshnas21.dll

    i tried to deleteit but it says access denied.


  • BMenyo says:

    So when I open ANYTHING I get the error that reads “rundll32.exe – Bad Image” on the top blue bar and then it reads “The application or DLL C:\WINDOWS\system32\yelesato.dll is not a valid Windows image. Please check this against your installation diskette.” When I press ok the program opens. I have run my anti-virus program without luck. Please help….

  • Beckie says:

    I’m trying to uninstall PC Doctor Spyware and I can’t because of dll files. How can I get rid of something I don’t want?

  • Rheee says:

    Hello, I tried using this method in deleting airaetv.dll, and it is showing the same error message that everyone else is getting. I have AVG and it detects it, but everytime I try to delete it with AVG on a reboot, it keeps coming back, along with gmqlpzym.dll. AVG won’t delete it, and is blocking my internet connection with its firewall. Help please.

  • Joe Thornton says:

    Actually, I managed to get rid of the file, but for some reason “iexplore.exe” restarts in my task manager. The IE application doesn’t show but it shows in running processes. Any thoughts on that?

  • Joe Thornton says:

    Followed the instructions and got a positive message. However the file is still there, and when I try to delete it I get “Access Denied”. Any solutions?

  • betty says:

    the same problem.. .DLL… the program it was looking for was uninstalled already, yet looking for its ocsetu~1.DLL. pls. help…tnx

  • Andrew says:

    I’ve found that if you still can’t delete the file using the command prompt, the best thing to do is rename it. My example:
    cd windows\\system32
    regsvr32 /u winhelper86.dll

    The file was unregistered successfully.

    DEL winhelper86.dll
    Access Denied

    Despite my attempt, it still registered as a denied file. So I decided to rename it.

    rename winhelper86.dll spyware.txt

    As a text file it is no more accessible, but it shouldn\’t be able to function either. A stop-gap measure, but better than nothing.

  • Andrew says:

    I’ve found that if you still can’t delete the file using the command prompt, the best thing to do is rename it. My example: regsvr32 /u

  • robert says:

    I also have zwunzi am unable to remove using the manual method. none of my applications can even detect it. and i already made this post. it was here then it vanished why.. i actually saw it on here.. now gone..

  • Robert says:

    I have zwunzi too. it is terrible. your PC is unusable basically you are unable to do anything your systems resources are maxed out. it takes 20 minutes to open a web page help us. it has been going onfor days… frustrating…. aaaaggghhhhh

  • VMJ NGUYEN says:

    hello guys. my pc just been infected by the virus zwunzi, zwunzi.dll

    how can i get rid of this virus? please help me!


  • says:

    Hi. I can’t install Tony Hawk’s American Wasteland cause of the 2908 error.
    I deleted mscoree.dll and removed net framework (I used cmd, task manager and add/remove files)
    and I still can’t install the game. I always get the same error.
    if anyone knows how to solve this, please email me. Thank you!
    P.S I have Windows XP professional Version 2002 Service Pack 3


  • Naved says:

    My O/S is WinXP SP2, there are some files which are virus effected. The O/S id NTFS, therefore I am not able to see or delete the infected file which was available in DOS.

    Now Please give me your suggestion that how can I do this & with what procedure. This should be such that it should not affect the current version.


  • LEON says:

    my pc is infected with dbgeng32.dll , i tried deleting it but it says file not found. Can anyone help?

  • Pablo says:

    thank you all, i had 2 dll files linked to a protection system virus that couldnt be removed. i CHANGED NAMES of these two files and then erased them easily. the only remaining thing to do was to erase manually all other files located in the Protection System folder in my computer and finally stop psystem.exe, that was still running, and erase it manually as any other file!

  • Ashu Vashisth says:

    nice to find such support..
    my spyware is tracing ZIMF.dll in system32\driverstore\filerespository\hplj1020.inf_d8a03872\zimf.dll
    I think it was created while installing HP Laserjet 1020 printer, since its is tracked by spyware, m trying to remove it but all efforts r waste.. msg appeared:: “The module “ZIMF.dll” was loaded but the entry point dllunregisterserver was not found.”… Make sure that “ZIMF.DLL” is a valid DLL or OCX file and then try again.

    pl tell wat r its impact on system performance and how can it b removed..

    best regards,

1 2 3 5

Leave a Reply

What is 6 + 7 ?
Please leave these two fields as-is:
IMPORTANT! To be able to proceed, you need to solve the following simple math (so we know that you are a human) :-)