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.

Easier way to debug a Windows service

Is there an easier way to step through the code than to start the service through the Windows Service Control …

c# debugging windows-services
How can I run MongoDB as a Windows service?

How can I set up MongoDB so it can run as a Windows service?

mongodb windows-services nosql
Simplest way to restart service on a remote computer

What's the easiest programmatic way to restart a service on a remote Windows system? Language or method doesn't matter as …

windows windows-services
Elevating process privilege programmatically?

I'm trying to install a service using InstallUtil.exe but invoked through Process.Start. Here's the code: ProcessStartInfo startInfo = new …

c# .net windows windows-services process-elevation
Stopping a windows service when the stop option is grayed out

I have created a windows service and in the service in control panel -> administrative tools -> services, …

windows-services
How to get all Windows service names starting with a common word?

There are some windows services hosted whose display name starts with a common name (here NATION). For example: NATION-CITY NATION-STATE …

command-line windows-services command command-prompt
Check if a Windows service exists and delete in PowerShell

I am currently writing a deployment script that installs a number of Windows services. The services names are versioned, so …

powershell windows-services
Windows service on Local Computer started and then stopped error

Usually, I get this error: (The "service name" service on Local Computer started and then stopped. Some services stop automatically …

c# windows-services
Error 1053 the service did not respond to the start or control request in a timely fashion

I have created and installed a service a couple of times. Initially it was working fine, but after some changes …

c# .net timer windows-services
How to create an installer for a .net Windows Service using Visual Studio

How do I create an installer for a Windows Service that I have created using Visual Studio?

c# .net visual-studio windows-services windows-installer