Registering a DLL after reboot
09/10/2014 3325 views
I have an application which requires to register a DLL, but after disabling DEP (Data Execution Prevention) and reboot. I wrote a vbscript to install application, then disable DEP and reboot. I included an Active Setup to register dll and enable DEP. Active setup is running after reboot but not registering the DLL or enabling the DEP. I get to know that Activesetup runs in User mode so it cant do admin tasks like registering dll and enabling DEP. Can anyone suggest me is there any other options to do it.
Community Chosen Answer
Please log in to answer
Registering a dll using active setup is not a good idea.. Active Setup will try to register that particular dll for every users during their first logon after installing your application.
if you want to register that dll after reboot then try registering it through RunOnce registry key.
Answered 09/14/2014 by: jagadeish