Endpoint Agent Installation fails on Windows 7 or Vista from non-elevated command prompt
Last Updated February 26, 2011
I want to install an agent on my machine. I am logged in as myself, but I am part of the Administrator group. I get a popup error that I do not have sufficient privileges.
The installation stops due to following error, PreInstallCleanup | Severe | FindAndRemoveDriver(): OpenSCManager failed: Access is denied.
On Windows Vista and Windows 7, the agent installation must be on an elevated command prompt. You cannot just click on the AgentInstall.msi unless you are logged in as the user "Administrator." Having elevated rights is not enough, because Vista and Windows 7 run at a lower level due to User Access Control (UAC).
In Windows 7, the built-in Administrator account is disabled by default. If you want to install the Endpoint Agent on Windows 7 you need to enable the "Built-in Administrator Account" and assign a password to it.