Solved

Do not have permission to register DLL's

Posted on 2006-06-21
3
1,676 Views
Last Modified: 2006-11-18
We are using regsvr32.exe to register our own VB created DLL. It works if we are logged on as an administrator.

However we need to be able to register the DLL whilst logged on as a normal user.  How do we give the normal users permission to register DLL's?

At the moment, when we try we get the following error message.

DllRegisterServer in c:\OurDLL\Customer.dll failed.  Return code was: 0x80004005


0
Comment
Question by:MortimerCat
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 32

Accepted Solution

by:
and235100 earned 400 total points
ID: 16949628
You will probably have to give them local admin rights (or have your tried power users?), then they would have to use the runas command:

e.g. runas /noprofile /user:<local admin user> cmd
Password:

Then in the cmd window that appears, they will be able to register the dll.

0
 
LVL 1

Author Comment

by:MortimerCat
ID: 16949706
Thanks for that. Unfortunately, I do not think it will help in our case.  

The plan is that we are automatically rolling out software updates, whilst the user is still logged in. The runas command seems to require a manual interventation by an administrator, ie typing in the password.


0
 
LVL 1

Author Comment

by:MortimerCat
ID: 16954324
I have located a bit of freeware called "sanur" which acts as a wrapper for the runas command, and allows a password to be sent as a parameter.

Problem solved!
0

Featured Post

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Migration of Exchange mailbox can be done with the ExProfre.exe tool. But at times, when the ExProfre.exe tool migrates the Exchange Server user profile, it results in numerous synchronization problems. Synchronization error messages appear in the e…
Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

690 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question