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.

I want my C# Windows Service to automatically update itself

Is there a framework that can be used to enable a C# Windows Service to automatically check for a newer …

c# windows-services upgrade
C# login and upload to OneDrive without user interaction

I'm currently working on a Windows service that will check and update Excel files and upload them to selected cloud …

c# file-upload login windows-services onedrive
Console.WriteLine() inside a Windows Service?

I am currently using TopShelf with a Console Application to create a Windows Service. When I run the code as …

c# windows-services topshelf
How to auto start window service

I have a window service which i developed in c# (vs2008). please tell me what should i do to make …

c# windows-services visual-studio-2008-sp1 autostart
How to configure Windows Server 2012 R2 to allow interactive services?

I have installed a new interactive service. I tried in Service manager to set property „Allow service to interact with …

service configuration windows-services interactive windows-server-2012-r2
What is the most reliable way to create a custom event log and event source during the installation of a .Net Service

I am having difficulty reliably creating / removing event sources during the installation of my .Net Windows Service. Here is the …

c# .net windows-services event-log eventlog-source
Net.exe use 'Error: A command was used with conflicting switches.' while using /savecred

I am trying to use following command to map a drive in persistent mode, and I don't want it to …

networking windows-services command-prompt drive-mapping
How to write an URI string in App.Config

I am making a Windows Service. The Service has to donwload something every night, and therefor I want to place …

c# configuration windows-services uri app-config
How do you debug a Windows Service?

I read the MSDN article on the topic. To quote: Because a service must be run from within the context …

c# c++ debugging windows-services
What's the best way to watchdog a desktop application?

I need some way to monitor a desktop application and restart it if it dies. Initially I assumed the best …

c# .net windows-services desktop-application watchdog