Non-administrator users need to register dll and ocx files

M

mcmillan.jason

I'm having a problem where our end users (who are not local
administrators) need to register an .ocx file for one of our
applications. We keep on getting the following error:

The module <filename.ocx> was loaded but the call to DLLRegisterserver
failed with error code 0x80040200.

I've been working with the vendor and they are reluctant to give us
any support. They said that we should register this ocx file using an
elevated command prompt. This would require us to either visit each
workstation and/or give the user the administrator password (which we
won't do).

We are running Windows Vista Business.

Does anyone have any suggestions as to how we can get this file
registered?

Thanks for your help.

Jason
 
Z

zachd [MSFT]

Since you can't do what you're trying to do, you would have to either export
out the RGS from the OCX or manually capture it and then replicate in a
registry patch that you would need to deploy or the end users to run. At
that point you might even have to write a throw-away non-elevated
application to write the HCKU entries you're trying to write. Assuming that
you're trying to write HKCU data. If you're trying to write HKLM data, you
will likely not be able to solve this problem since that crosses over into a
task that would actually need administrative privileges.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top