Top "Service-control-manager" questions

remote sc OpenSCManager query failed 5 access denied

I'm writing a script that periodically checks that certain services are running on remote workstations. I'm having a devil of …

permissions cmd windows-xp mmc service-control-manager
Remote OpenSCManager fails with access denied

I am attempting to control a service on a remote machine using the following code: // Error checking omitted for brevity …

windows service windows-security service-control-manager
create dummy windows server with started status

I have created a dummy windows service using the following command: sc create TestService binPath= C:\Temp\TestService.exe DisplayName= "…

windows service exe service-control-manager
Reinitialize Windows Event Log service without reboot

I am working on application which logs to a custom event log. Application was recently rebranded, and the name of …

windows winapi event-log service-control-manager