Top "Servicecontroller" questions

New Windows Service installed, fails to start: "System error 2 ... system cannot find the file specified"

I have installed several other custom .Net windows services successfully. A new one I had recently written was very similar …

windows windows-services servicecontroller
ServiceController seems to be unable to stop a service

I'm trying to stop a Windows service on a local machine (the service is Topshelf.Host, if that matters) with …

windows-services servicecontroller
Halt batch file until service stop is complete?

I'm using a batch file to stop a Windows service. I'm using the sc command, but I'm open to other …

batch-file servicecontroller
How to remotely control a Windows Service with ServiceController?

I'm trying to control Windows Services that are installed in a remote computer. I'm using the ServiceController class. I have …

c# windows-services wmi remote-access servicecontroller
ServiceController permissions in Windows 7

I have an application which consists of a service and an executable. Essentially it's a forms application that is responsible …

c# .net servicecontroller
sc.exe to install an exe as a service?

I've been spending a lot of time reading about the sc.exe to run an executable as a Windows Service …

c# .net windows windows-services servicecontroller
C# Service Status On Remote Machine

I'm an expert programmer, so therefore, I don't have a clue as to WTH I'm doing :) On a serious note; …

c# servicecontroller
Starting remote Windows services with ServiceController and impersonation

I have a .NET MVC3 application that needs to be able to turn a remote service on and off. In …

.net windows-services impersonation servicecontroller
Get Windows service start type?

In the System.ServiceProcess namespace, is there any kind of enumeration or other direct member to determine a Service's Start …

.net vb.net windows-services servicecontroller
How to Debug a Windows Service

I have create a windows service using the Code Project Article. I am able to install the service and delete …

c++ windows windows-services window servicecontroller