While doing an installation of LEAPWORK Controller, the user may get an Error Message "Service 'LEAPWORK Controller' failed to start. Verify that you have sufficient privileges to start system services."
This issue is related to administrator rights on the machine for installation of software and the user should check that the sufficient rights are provided to the user account from which installation is being performed.
Irrespective of the privileges, sometimes this behavior is also observed when the host is using some antivirus or specific settings in windows defender/firewall or there is certain domain policy applied when connected to the network. Ideally, the service is getting timed out before starting up.
To fix the issue, we need to extend the time duration for which Windows will wait for the service to start. This can be achieved using a minor change in the Windows Registry settings where the Registry Key: ServicesPipeTimeout is defined. By default, the timeout value is 30000 milliseconds (30 seconds). After you increase the ServicesPipeTimeout value in the registry, the service control manager waits for the services to use the whole ServicesPipeTimeout value before the system event log reports that the program did not start. This increased value will give all the dependent services sufficient time to start. These changes don't have an impact on any Windows security settings.
Please follow the below steps if the error is observed during installation even when the user account has administrator rights:
- Go to Start > Run > and type regedit
- Navigate to: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control
- With the control folder selected, right-click in the pane on the right and select new DWORD Value
- Name the new DWORD: ServicesPipeTimeout
- Right-click ServicesPipeTimeout, and then click Modify
- Click Decimal, type '180000', and then click OK
- It would look like:
Note: The option to switch between the two is purely to allow entry in either format, it is always stored in Hex and for convenience the Decimal value is shown in brackets afterward in the field view.Selecting either option would have absolutely no effect on the program accessing the value and is the same either way.
- Restart the computer
- Open 'Services' and check LEAPWORK Controller service should be up and running.
If this issue continues, please contact our Priority Support.