Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can you install an ActiveX control in IE without having administrator privileges?

I'm working on a web app that needs an ActiveX control to function. It installs just fine when the user has admin privileges, but fails to load otherwise. Is this by design and if so, is this documented somewhere? (preferably MSDN)

like image 670
Ferruccio Avatar asked Dec 17 '25 16:12

Ferruccio


1 Answers

Actually, none of these answers are completely correct; if you install an ActiveX control in a per-user basis it will work just fine without Administrative privileges, regardless of the group that the user is in. Bascially this involves installing it to HKEY_CURRENT_USER instead of HKEY_LOCAL_MACHINE.

Depending on what your activex control is written in this may be easy or it may be hard to change; with ATL 9 it's pretty easy, as you just have to call a function:

AtlSetPerUserRegistration(perUser);

FireBreath does this by default so that admin privileges aren't neccesary to install the plugin/control; it also has a workaround for older versions of ATL (ATL 9 is VS 2008). This is all C++, so if your control is written in something else I don't know how to fix it, but that should at least get you started.

like image 163
taxilian Avatar answered Dec 20 '25 08:12

taxilian