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.

Windows service / A new guard page for the stack cannot be created

I have a windows service that does some intensive work every one minute (actually it is starting a new thread …

c# debugging windows-services clr stack-overflow
System error 5 Access is denied when starting a .NET service

When I try to start a service I created in Visual Studio I receive the following error: System error 5 has …

.net windows visual-studio error-handling windows-services
Credentials when Installing Windows Service

I am attempting to install a C# windows service project using a VisualStudio.Net deployment project. To run the deployment …

c# windows-services installation
"A timeout was reached while waiting for the service to connect" error after rebooting

I have a custom-written Windows service that I run on a number of Hyper-V VMs. The VMs get rebooted a …

c# .net windows-services timeout
Allow Windows service to interact with desktop

How do I enable "Allow service to interact with desktop" programmatically? In services.msc > Action > Properties > Log …

c# windows-services desktop
Windows service - get current directory

I have a Windows service that should look for a configuration file in its current directory. So I use directory.…

c# windows-services working-directory
How to install and start a Windows Service using WiX

I tried to use the codes below in Wix. But when installing, the installer was freezing for like 3 minutes on …

windows-services installation wix autostart
What directory does a Windows Service run in?

I've created a very simple .NET Windows Service and installed it using InstallUtil.exe utility. In the service I have …

.net windows-services
Installing a Topshelf application as a Windows service

Using Visual Studio Express 2012, I've created a console application using Topshelf (Version 3.1.107.0). The application works as a console application, but …

.net windows-services topshelf
Easiest language for creating a Windows service

What is the easiest language to build Windows services in? Easiest in this case would be defined as least amount …

windows-services