How to Register and Unregister a DLL File in Windows XP and Vista
Sometimes we need to register or unregister a DLL (A DLL file, aka Dynamic Link Library, are files that contain functions used across multiple applications.) file to troubleshoot a problem in Windows XP or Vista.
For example, Microsoft Office has hundreds of DLL files that can be used between the various Office programs to perform certain certain functions, such as spell checking, etc. Multiple programs can load the same DLL at the same time.
If you need to register a DLL due to some sort of corruption or installation failure, you can do it manually by following the method outlined below.
Step 1:First click on Start, then Run and type the regsvr32 command followed by the path of the DLL file.
regsvr32 "C:\Windows\System32\Filename.dll"
Step 2: Now click OK and you should get a confirmation message that the DLL has been registered successfully.
That’s it! Now your DLL has been successfully added to the registry and can be used by Windows programs.
Note for vista users: If you are not able to register a DLL file and you end up getting an error message saying that the attempt to register the DLL file failed, you might want to disable UAC (User Account Control) in Windows Vista.
How To Unregister a DLL file
repeat the above steps except add the “/u” after the regsvr32 command
regsvr32 / u "C:\Windows\System32\Filename.dll"
Related posts:



4 Comments on “How to Register and Unregister a DLL File in Windows XP and Vista”
And if doing this in a command window, make sure you opened it with “run as administrator”.
Hi,
its nice to read a useful article for beginner like me.
Some of points from this article are very helpful for me as I haven’t
considered them yet.
I would like to say thank you for sharing this cool article.
Bookmarked and sharing for friends.
- Suresh
Thanks for this advide – it was jusr what Ineeded. Keep up the great advice. It’s really appreciated.
Good tutorial that I needed. I was just trying to do this and some other tutorials were not so clear what to do. Thank you for sparing me time.
I would like to thank to Efusjon too because at first I did not run command window as admin and the thing did not work. But now it did. Thank you both.