How to unregister a dll file in Windows XP or Vista?

A DLL file, also known as Dynamic Link Library, is a file containing different functions which are mostly used across multiple applications. In order to unregister a dll file to troubleshoot a problem in Windows XP or Vista, follow these instructions:

1. OPEN COMMAND PROMPT:

  • From START menu select RUN option.
  • Type “cmd” (without the quotation marks) . This calls up the Windows Command Prompt.

2. NAVIGATE TO THE EXACT LOCATION OF DLL:

  • Type “regsvr32 /u filename.dll” where “filename” is the name of the DLL that you are trying to unregister.

cmd

  • Press ENTER.
  • After you press ENTER,  the confirmation window stating “DllUnregisterServer in (file name) succeeded” will be displayed.

unregister dll succeeded

IMPORTANT INFORMATION:

Please keep in mind that this involves system modification and can be highly risky.

It’s always recommended to keep a system backup handy, in case things go wrong.

Here is an example how to unregister a file smbdlib.dll:

Video 1. How to Unregister a dll File?

By

Comments

  1. George says:

    Hi Mark When I Used The CD Command and inserted windows/system32 i keep getting the sane message which is it is not recognized as in internal or external command

    your thoughts??

  2. nutt says:

    if you found error when unregister dll
    please try to stop SQL service and antivirus
    and then unregister and register again
    For me it’s work……

  3. abhishek says:

    Marius ,you have used wrong command for unregister that file
    it might be possible that u used
    regsvr32 \u filename
    right one is regsvr32 /u filename

  4. joe says:

    why can’t it be opened

  5. Evy says:

    If you’re having problems unregistering or deleting a dll file it’s probably because you have a virus and it has attached the dll file to something like the winlogon file/service which starts up very early in the windows startup and that’s why you can’t get rid of it in safe mode. I’ve had this problem before with the Virtumonde virus.

    Solution: Get your Windows CD and run recovery console. You’ll need your admin password, hope you wrote it down. Now you can delete the dll file.

    I would definately run an antivirus program, clean out the internet temp folder and the regular temp folder. After you restart and everything looks fine, I would turn off system restore, reboot then turn it back on.

    Good Luck

  6. Frank says:

    my bad, I meant Folder Lock

  7. hunter says:

    I cannot even start>run, once i type in “cmd” and try to open it, i get a pop up error message saying that says “running of application impossible. The file C:\WINDOWS\system32\cmd.exe is infected. Please activate your antivirus program”. For everything application i get the same message.

  8. jasmine says:

    i need help i got the same problem as the rest
    of you guys i did just about everything you could to remove this c:\Program Files\Personal Antivirus pop up if anybody can help me step by step please let me thanks ;

  9. Jen says:

    I have this windows antivirus (virus). I cannot run in cmd or regedit. It comes up but doesn’t let me type anything. I can download things, but cannot run or install them. I can’t use system restore or add or remove program, it says rundll32.exe is incorrect. Please help this is a nightmare

  10. Nicci says:

    I agree….lets find out who these sons of bitches are and sue thier asses off!!! My computer has this stinking virus on it now too and every time I try to log on to my computer and it just acts like its rebooting again and goes to a black screen and does this over and over….I don’t know what to do!

  11. ninja says:

    hey i am new to this and i am tryin to delete a dll file. when i type in “regsvr32/u kh.dll” it comes up with:

    “the module “kh.dll” failed to load

    make sure the binary is stored at the specific path or debug it to check for problems with the binary or dependant.DLL files.

    the specific module could not be found”

    what do i do from here??

  12. janardhan says:

    hai all
    still i can’t del the unregistered antivirus.
    please tell how to delete the antivirus.

  13. Soteraseil says:

    Hello i have been getting popups and my computer keeps saying that i have to download Vista internet security 2010? does anyone know anything about this? if so what and if its bad how do i get rid of it.

  14. Emilia says:

    I read the bolg and I had the same problem u had in 2009. I was wondering what u used to get cmd to run on your computer.
    Your help would be much appreciated
    Thanks
    -Emilia

  15. Kgomotso says:

    I need help.I’ve got DR GURAD & ANTIVIRUS XP 2010 on my machine. I don’t know how that happened. I can’t find registry entries of either of them, I can’t start task manager,I can’t access the internet, my admin right have been taken, I can’t uninstall either one and I can’t install any software known to delete/remove them. I’ve tried every suggestion there is but nothing seems to work. I can’t find traces of the software but it’s there. I can’t even finf the *.exe fils. Please help!

  16. Md.Wahid Abdullah. says:

    I got the same type of response for bsvm2_mex.dll except it said: “bsvm2_mex.dll was loaded, but the DLLUnregisterServer entry point was not found. This file can not be registered.

  17. Alex says:

    This can be due to several reasons:
    *the comand regsvr32.exe /u filename didn`t succeed because the given filename is not a .dll or .ocx file;
    *Dllname is not a .dll or .ocx file. For example, typing regsvr32 wjview.exe generates this error message; or
    *”a corrupted version of Dllname may be in memory. ” the .dll file you are trying to unregister may be corrupted.

  18. I HATE VIRUSES!!!!!!!!! says:

    When i open CMD, i cannot delete the following:
    C:\Documents and Settings\HP_Administrator> WHAT THE ****?!?! DON’T I HAVE TO DELETE THAT AND REPLACE IT?!?!?

  19. Henry says:

    A game of my says XINPUT1_3.DLL file is missing. so i get it and follow the instructions. One part tells me to type in regsvr into RUN so i do. but when i did, it says something about providing a binary name. i really need help here please!! thnx

  20. PERFECT FIX READ BELOW says:

    I have found a nearly perfect fix to get rid of even the most irritating version of this problem!

    Hit F8 during boot up to access the advanced options. Load SAFE MODE WITH COMMAND PROMPT

    It has to be SAFE MODE WITH COMMAND PROMPT!!

    type “cd c:\windows\system32\” without quotes
    Then type “del /f /a:h vtroon.dll” Replace “vtroon” with the name of the dll on your computer.

    The dll is now gone.

    Hit control alt delete

    Go to the applications tab and hit New Task

    Type Regedit

    Navigate to
    Hkeylocalmachine > software > microsoft > windows > currentversion > run

    Delete any entries for the dll’s

    The beast is dead. I still get an error message on bootup saying the dll cant be loaded though… think I need to unregister it.

  21. PERFECTED FIX says:

    (UPDATED)
    I have found a truly perfect fix to get rid of even the most irritating version of this problem!

    Hit F8 during boot up to access the advanced options. Load SAFE MODE WITH COMMAND PROMPT

    It has to be SAFE MODE WITH COMMAND PROMPT!!

    type “cd c:\windows\system32\” without quotes
    Then type “del /f /a:h vtroon.dll”

    Replace “vtroon” with the name of the dll on your computer.

    The dll is now gone!

    Hit control alt delete

    Go to the applications tab and hit New Task

    Type Regedit

    Navigate to
    Hkeylocalmachine > software > microsoft > windows > currentversion > run

    Delete any entries for the dll’s

    The beast is dead. If you still get an error on startup that the dll cannot be loaded, repeat the last step under hkey current user, as it likes to hide there too.

    Grats! You’re problem free!

  22. i just want to take the twitter/halloween/trick or treat thing of the homepage.thank you. claudia anderson

  23. Ravi Mishra says:

    I got the same type of response for msvcp71.dll except it said: “msvcp71.dll was loaded, but the DLLUnregisterServer entry point was not found. This file can not be registered.” So I’m not really sure how to deal with this.

  24. MITRA says:

    the modul “s:\program files\internet explorer\ieproxy.dll” was loaded but the call to DllRegisterServer failed with error code 0×80070005. how i can resolve this problem , os windows7 ,internet explorer is not showing in os .

  25. iris driver says:

    hi how it is i did what is in your steps on how unregister the kernel32.dll,but the response to me is the file did not found…so how it is?,is their another way to fix it?…thank you

  26. Linda Jackson says:

    Hey iris driver,

    When you open a command prompt, try the following:
    “cd C:\Windows\System32″
    Then try the unregister command.

    Regards,
    Linda

  27. pascual says:

    My trouble is that every time I run start windows appears in a window the following msg:
    “Error when start the application because not found CBSProducstInfo.dll
    fixing the application may solve this problem”
    WSHelper.exe it was not possible found the comonent.
    thankyou to anybody for help

Speak Your Mind

*