Set Quickbooks Services to Auto-Restart

Modified on Fri, 18 Apr at 12:11 PM

Run in admin PowerShell:

$services = @("QBCFMonitorService", "QBVSS", "QBUpdateMonitorService", "QBWCMonitor", "QuickBooksDB34")

foreach ($service in $services) {
    if (Get-Service -Name $service -ErrorAction SilentlyContinue) {
        # Set failure actions
        sc.exe failure $service reset= 1800 actions= restart/1800/restart/1800
    }
}


Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article