Re: Registering BHO via regsvr32 on XP under regular user account



Igor,

you are right. Non admin member can not even write to the HKLM

BUT: another test account, logged on as a user who is a member of "Admin"
accounts has the same problem error 0x80002009. It seems that only
admininstrator when logged on as administrator can get this to work.

Also: DLL is compiled as win32 Release MinDependency - could be a problem
there?

Will try to set a debug executable as regsvr32 and see where it fails for
now.

TECH

"Igor Tandetnik" <itandetnik@xxxxxxxx> wrote in message
news:uFxwbHLnHHA.3264@xxxxxxxxxxxxxxxxxxxxxxx
Tech <support@xxxxxxxxxxxxxxxxxxx> wrote:
I have created a BHO dll. When I programmatically call regsvr32
mydll.dll I get error 0x80002009 when I am executing the program that
calls regsvr32 when logged on XP regular user account. Whe I am
logged on as administrator it all works ok.

Your DLL tries to write under HKEY_LOCAL_MACHINE registry key. Only
administrators can write there.

I'm not sure a BHO can be installed by non-admin at all.
--
With best wishes,
Igor Tandetnik

With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea. It is hard to be sure where they are going to
land, and it could be dangerous sitting under them as they fly
overhead. -- RFC 1925




.



Relevant Pages