Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Please find below Powershell scripts examples to Stop and Start Qlik Sense services.
1. Stop Services
a) Stop QS services on non-central node or on a central node where QRD (Qlik Sense Repository database) is not installed
# Stop Qlik Sense Services (without QRD)
Stop-Service -DisplayName 'Qlik Logging Service' -Force -PassThru -InformationAction Stop
Stop-Service -DisplayName 'Qlik Sense Printing Service' -Force -PassThru -InformationAction Stop
Stop-Service -DisplayName 'Qlik Sense Scheduler Service' -Force -PassThru -InformationAction Stop
Stop-Service -DisplayName 'Qlik Sense Proxy Service' -Force -PassThru -InformationAction Stop
Stop-Service -DisplayName 'Qlik Sense Engine Service' -Force -PassThru -InformationAction Stop
Stop-Service -DisplayName 'Qlik Sense Repository Service' -Force -PassThru -InformationAction Stop
Stop-Service -DisplayName 'Qlik Sense Service Dispatcher' -Force -PassThru -InformationAction Stop
b) Stop QS services on Central Node where (Qlik Sense Repository database) QRD is installed
# Stop Qlik Sense Services (with QRD)
Stop-Service -DisplayName 'Qlik Logging Service' -Force -PassThru -InformationAction Stop
Stop-Service -DisplayName 'Qlik Sense Printing Service' -Force -PassThru -InformationAction Stop
Stop-Service -DisplayName 'Qlik Sense Scheduler Service' -Force -PassThru -InformationAction Stop
Stop-Service -DisplayName 'Qlik Sense Proxy Service' -Force -PassThru -InformationAction Stop
Stop-Service -DisplayName 'Qlik Sense Engine Service' -Force -PassThru -InformationAction Stop
Stop-Service -DisplayName 'Qlik Sense Repository Service' -Force -PassThru -InformationAction Stop
Stop-Service -DisplayName 'Qlik Sense Service Dispatcher' -Force -PassThru -InformationAction Stop
Stop-Service -DisplayName 'Qlik Sense Repository Database' -Force -PassThru -InformationAction Stop
c) Force to stop services stuck in "stopping" Status
In case one of the QS services is stuck at "stopping" you can use the following script to force stop the service.
# Force stop service in stopping status
$Services = Get-WmiObject -Class win32_service -Filter "state = 'stop pending'"
if ($Services) {
foreach ($service in $Services) {
try {
Stop-Process -Id $service.processid -Force -PassThru -ErrorAction Stop
}
catch {
Write-Warning -Message "Unexpected Error. Error details: $_.Exception.Message"
}
}
}
else {
Write-Output "There are currently no services with a status of 'Stopping'."
}
2. Start services
a) Start QS services on non-central node or on a central node where QRD (Qlik Sense Repository database) is not installed
# Start Qlik Sense Services (Without QRD)
Start-Service -DisplayName 'Qlik Sense Service Dispatcher' -PassThru
Start-Service -DisplayName 'Qlik Sense Repository Service' -PassThru
Start-Service -DisplayName 'Qlik Sense Proxy Service' -PassThru
Start-Service -DisplayName 'Qlik Sense Engine Service' -PassThru
Start-Service -DisplayName 'Qlik Sense Scheduler Service' -PassThru
Start-Service -DisplayName 'Qlik Sense Printing Service' -PassThru
Start-Service -DisplayName 'Qlik Logging Service' -PassThru
b) QS services on Central Node where (Qlik Sense Repository database) QRD is installed
# Start Qlik Sense Services (with QRD)
Start-Service -DisplayName 'Qlik Sense Repository Database' -PassThru
Start-Service -DisplayName 'Qlik Sense Service Dispatcher' -PassThru
Start-Service -DisplayName 'Qlik Sense Repository Service' -PassThru
Start-Service -DisplayName 'Qlik Sense Proxy Service' -PassThru
Start-Service -DisplayName 'Qlik Sense Engine Service' -PassThru
Start-Service -DisplayName 'Qlik Sense Scheduler Service' -PassThru
Start-Service -DisplayName 'Qlik Sense Printing Service' -PassThru
Start-Service -DisplayName 'Qlik Logging Service' -PassThru
Qlik Sense Enterprise on Windows
The information in this article is provided as-is and to be used at own discretion. Depending on tool(s) used, customization(s), and/or other factors ongoing support on the solution below may not be provided by Qlik Support.