Solved

Do not have permission to register DLL's

Posted on 2006-06-21
3
1,663 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
  • 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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Windows XP Recycle Bin - no permission to remove file 12 102
XP machine unable to logon 13 52
Virtual PC for Windows 10 18 151
Clone HDD in RAID1 10 110
Disclosure: Use this tutorial only when no other options helps to get Windows XP running without any problems and you don't want to format the drive. The back up of the data is the responsible of the user, however there is a description of how t…
There are 2 things you must have in order to connect to the internet behind a router, The "Gateway IP" of the router, which is usually something like 192.168.xxx.1, I've seen routers with default values of: 192.168.0.1, 192.168.1.1, 192.168.11.1, …
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

707 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now