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.

EventLog write permissions

My question is related to write permissions to the Windows Event Log. I have looked around several posts concering this, …

c# .net service windows-services event-log
How to check if a windows service is installed in C#

I've written a Windows Service that exposes a WCF service to a GUI installed on the same machine. When I …

c# wcf windows-services
Windows could not start service on Win Server 2008 R2 SP1 (Error 1053)

This issue seems to be widely discussed, but I have problems with finding the solution in my particular case. My …

.net windows-services windows-server-2008-r2
PsExec gets stuck on licence prompt when running non-interactively

I have a Hudson build script which calls the SysInternals PsExec utility. Normally, when PsExec is run for the first …

windows-services psexec sysinternals
Windows Service that runs Periodically

I'm writing a windows service that once started will run every X hours. The process it completes is fairly intensive, …

c# windows-services multithreading backgroundworker
Why won't my windows service write to my log file?

I have a windows service and use nlog for logging. Everything works fine when I run from the visual studio …

c# logging windows-services service nlog
Prompting username password while installing the windows service in c#

I am being prompted for user name and password while installing my windows service created in c#. I used the …

c# windows-services
Installing Windows Service programmatically

How do I install a Windows Service programmatically without using installutil.exe?

c# windows-services
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