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.
Please follow the steps in this Microsoft article:
Enable and Disable the Built-in Administrator Account
To install the agent on Vista or Windows 7, the install must be performed from an Elevated Command Prompt.
1. Click on Windows 7 Start Button
2. Go to All Programs-> Accessories
3. Now right on Command Prompt and select “Run as Administrator” from context menu.Then run AgentInstall.msi from this command prompt.