diff --git a/src/ui/fortmanager.cpp b/src/ui/fortmanager.cpp index 5e3747be..5bbe69bc 100644 --- a/src/ui/fortmanager.cpp +++ b/src/ui/fortmanager.cpp @@ -336,7 +336,10 @@ void FortManager::closeDriver() void FortManager::closeOrRemoveDriver() { - if (canInstallDriver() && !IoC()->hasService()) { + const bool hasService = + (IoC()->hasService() || StartupUtil::isServiceInstalled()); + + if (!hasService && canInstallDriver()) { const FirewallConf *conf = IoC()->conf(); if (!conf->bootFilter()) {