Top "Windows-services" questions

Windows services are background service processes run by the Service Control Manager on Windows NT based operating systems, similar to daemons or UNIX services.

How do I uninstall a Windows service if the files do not exist anymore?

How do I uninstall a .NET Windows Service, if the service files does not exists anymore? I installed a .NET …

windows windows-services installation
Create Windows service from executable

Is there any quick way to, given an executable file, create a Windows service that, when started, launches it?

windows windows-services
Install a Windows service using a Windows command prompt?

I want to install a Windows service using a Windows command prompt (not the Visual Studio command prompt). How do …

c# windows-services command-prompt
How can I delete a service in Windows?

I have a couple old services that I want to completely uninstall. How can I do this?

windows-services sysadmin administration
How to solve "The specified service has been marked for deletion" error

I try to remove a Windows Service with sc delete <service name>, and encounter the following error: [SC] …

windows-services
Retrieving the COM class factory for component with CLSID {XXXX} failed due to the following error: 80040154

I developed a Windows service using C#.NET to generate PDF report. To generate PDF file I am using a …

.net windows-services com-interop 32bit-64bit
When creating a service with sc.exe how to pass in context parameters?

When creating Windows service using: sc create ServiceName binPath= "the path" how can arguments be passed to the Installer class's …

windows-services
How do I restart a service on a remote machine in Windows?

Sometimes while debugging, I need to restart a service on a remote machine. Currently, I'm doing this via Remote Desktop. …

windows-services
Map a network drive to be used by a service

Suppose some Windows service uses code that wants mapped network drives and no UNC paths. How can I make the …

windows windows-services unc system-administration mapped-drive
The type initializer for 'MyClass' threw an exception

The following is my Windows service code. When I am debugging the code, I am getting the error/ exception: The …

c# windows-services