Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
To work around this problem, increase the default timeout value for the Service Control Manager (SCM) in the registry. Source: http://support.microsoft.com/kb/839803/
Warning: Modifications to the Windows Registry cannot be supported by Qlik. Always ensure you have a viable backup before beginning this procedure. Modify the registry at your own risk.
Manual steps through Windows Registry Editor:
Scripted change through PowerShell:
The below PowerShell script increases the default timeout value for the service control manager in Windows.
The change is applied in the Windows registry and requires administrator privileges to be executed.
$Path_CurrentControlSetControl = "HKLM:\SYSTEM\CurrentControlSet\control"
$Path_ServicesPipeTimeout = $Path_CurrentControlSetControl + "\ServicesPipeTimeout"
if(-Not (Test-Path $Path_ServicesPipeTimeout)) {
Set-Location "$Path_CurrentControlSetControl"
New-ItemProperty -Path "$Path_CurrentControlSetControl" `
-Name "ServicesPipeTimeout" `
-Value "300000" `
-PropertyType "DWord" `
-Force
}
CAUTION is advised for any changes in Windows registry. Make sure you have a recovery plan, in case of incorrect or accidental configuration.
NOTE: if the environment has extended timeout value but still failed to starting services, please double check and make sure the service user who is running Qlik Sense service in the local Administrator group
NOTE 2: Due to the company's policies, some customers have asked if it's possible to have the services startup without modifying the registry. For instance, by changing a value in the Qlik Sense config file. This is not possible because the config file is not fully read until the services has started up, and Qlik Sense cannot modify the way Windows handles services.