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 to uninstall a windows service and delete its files without rebooting

My current project involves deploying an upgraded .exe file that runs as a Windows Service. In order to overwrite the …

windows scripting windows-services operating-system filesystems
How to restart service using command prompt?

I want to restart Windows service using command prompt in [Icons] section using Inno Setup. Please help me to solve …

windows-services installation inno-setup
How do I debug Windows services in Visual Studio?

Is it possible to debug the Windows services in Visual Studio? I used code like System.Diagnostics.Debugger.Break(); but …

c# visual-studio visual-studio-2010 windows-services
Automatically start a Windows Service on install

I have a Windows Service which I install using the InstallUtil.exe. Even though I have set the Startup Method …

c# windows-services
How to run console application from Windows Service?

I have a windows service, written in c# and I need to run a console application from it. Console application …

c# windows-services console-application
Start And Stop Windows Service remotely using PSEXEC

How to start and and stop a Windows service remotely using PSEXEC? Preferably the syntax to write I tried the …

windows-services psexec
How to make a .NET Windows Service start right after the installation?

Besides the service.StartType = ServiceStartMode.Automatic my service does not start after installation Solution Inserted this code on my ProjectInstaller …

.net windows-services installation
Installing multiple instances of the same windows service on a server

So we've produced a windows service to feed data to our client application and everything is going great. The client …

windows windows-services windows-installer installutil
How to find windows service exe path

I have a windows service and I need to create directory to store some info. The directory path must be …

c# .net windows-services
How to install a windows service programmatically in C#?

I have 3 projects in my VS solution. One of them is a Web app, the second one is a Windows …

c# .net windows-services setup-project visual-studio-setup-proje