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
Solved

Do not have permission to register DLL's

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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Are you unable to synchronize your OST (Offline Storage Table) file with Microsoft Exchange Server? Is your OST file exceeding 2 GB size limit? In Microsoft Outlook 2002 and earlier versions, there is a 2 GB size limit for the OST file. If the file …
Sometimes people don't understand why download speed shows differently for Windows than Linux.Specially, this article covers and shows the solution for throughput difference for Windows than a Linux machine. For this, I arranged a test scenario.I…
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…

856 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