How to Verify That You Have Sufficient Privileges to Install System Services

The log on as a service user right allows accounts to start or run services on a Windows machine. By default, and due to security reasons, services can only be configured to run under the Local System, Local Service or Network Service accounts which have a built-in right to log on as a service. Any other user account that requires to run a service must be assigned this right.

When installing Parallels® Remote Application Server (RAS), if the user that is logged on does not have sufficient privileges to install system services, the following error may appear:

“Service ‘RAS RD Session Host Agent’ (RAS RD Session Host Agent) failed to start. Verify that you have sufficient privileges to install system services”.

sufficient privileges to install system services

Resolution

  1. Run gpedit.msc.
  2. Navigate to Computer Configuration > Windows Settings > Security Settings > Local Policies >User Rights Assignment.
  3. In the details pane, double-click Log on as a service.
  4. Click Add User or Group… and add the account to the list of accounts that have the Log on as a service right. Once you have selected the user, click OK.
  5. Click OK and close the policy editor.

Supported on 

RAS RD Session Host Agent is supported on the following operating systems: 

Related How To’s

Service… failed to start. Verify that you have sufficient privileges to start system services


References

https://docs.microsoft.com/en-us/windows/security/threat-protection/security-policy-settings/log-on-as-a-service