Go Back   TechArena Community > Technical Support > Computer Help > Windows Security
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read SiteMap

Tags:

Sponsored Links



Regsvr32 HELP!

Windows Security


Reply
 
Thread Tools Search this Thread
  #1  
Old 03-03-2008
Baruch Ortiz
 
Posts: n/a
Regsvr32 HELP!

Does anybody know how regsvr32 works?, I have an "almost home-developed ERP"
and we cannot use it with "restricted" or "normal" user rights, it have to
work with local administrator rights, and all it's modules works over dlls,
so when an update or correction is made to any module (dll) the ERP allways
run an Regsvr32 as procedure to register de "new" dll, is there any way to
restrict the compleate profile to normal user rights and let the ERP to run
elevated rights as administrator only to register its own dll and no more?



Baruch Ortiz

Reply With Quote
  #2  
Old 02-04-2008
Andrew Tucker [MSFT]
 
Posts: n/a
Re: Regsvr32 HELP!

On Mar 3, 7:32*am, "Baruch Ortiz" <baruchn...@hotmail.com> wrote:
> Does anybody know how regsvr32 works?, I have an "almost home-developed ERP"
> and we cannot use it with "restricted" or "normal" user rights, it have to
> work with local administrator rights, and all it's modules works over dlls,
> so when an update or correction is made to any module (dll) the ERP allways
> run an Regsvr32 as procedure to register de "new" dll, is there any way to
> restrict the compleate profile to normal user rights and let the ERP to run
> elevated rights as administrator only to register its own dll and no more?
>
> Baruch Ortiz


Regsvr32 is no secret - you can download the full source code for it
at http://msdn2.microsoft.com/en-us/lib...31(VS.80).aspx The
gist of it is just a simple LoadLibrary and GetProcAddress on the
DllRegisterServer function in the DLL.

However, having the source to regsvr32 will not solve your problem.
The DLL that you are registering probably needs to write registry keys
to the HKLM hive and that requires admin privilege. I dont think you
will be able to install and register your app without elevating to
admin to complete this task.
Reply With Quote
Reply

  TechArena Community > Technical Support > Computer Help > Windows Security


Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Regsvr32 HELP!"
Thread Thread Starter Forum Replies Last Post
regsvr32/u lmpgspl.ax boopygirl Windows Vista Performance 8 10-02-2010 06:20 PM
REGSVR32 0x80070005 Jarryd Windows Security 4 16-08-2009 11:08 AM
regsvr32 shell32.dll S1L1Y1 TroubleShoot 98 16 22-11-2008 12:46 PM
Regsvr32 stacey Windows XP Support 8 07-12-2007 11:28 PM
regsvr32 error Lulu Vista Help 5 17-06-2007 07:41 AM


All times are GMT +5.5. The time now is 09:47 AM.