Free Information Technology Magazines and eBooks

Monday, March 08, 2010

How to Run Regsvr32 to Add a .DLL File to Register In Windows 7

How to Run Regsvr32 to Add a .DLL File to Register In Windows 7Yesterday, One of our programmer was having a problem in deploying our financial software on a new PC that has Windows 7 installed. He requires to register several DLLs (Dynamic Link Library) using Regsvr32 from the command prompt but every time he do an error keep on displaying and the registration fails. Based on my previous experience, this problem is due to Windows 7 security handling. By default Windows 7 runs an application as ordinary user so if you need to run an app that requires administrative rights, you have to run the app as administrator first.

To fix above problem, follow these steps:
1. Locate Command Prompt from Start>All Programs>Accessories.
2. Right click the Command Prompt and choose "Run as Administrator" from the context menu.
3. Now execute Regsvr32.

This should fix the problem and you should be able to register all your DLL files.

If you don't want to go thorough these steps, you can try a free tool called RegSvrHelper. It is a free, portable and easy to use tool which offers an awesome GUI interface to register/unregister the DLL's.



Download RegSvrHelper

To stay up-to-date on Windows Tips & Tricks, subscribe now.

0 comments: