opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/datamodel/ControlPanelInfo.java
@@ -464,9 +464,7 @@ boolean windowsServiceEnabled = false; if (isWindows()) { int result = ConfigureWindowsService.serviceState(null, null); windowsServiceEnabled = result == ConfigureWindowsService.SERVICE_STATE_ENABLED; windowsServiceEnabled = ConfigureWindowsService.serviceState() == ConfigureWindowsService.SERVICE_STATE_ENABLED; } desc.setWindowsServiceEnabled(windowsServiceEnabled); }