tagged [windows-services]
Windows service - get current directory
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.getcurrentdirectiry()` but instead of the servi...
- Modified
- 30 Apr at 05:4
Topshelf vs sc.exe vs Windows Service project type
Topshelf vs sc.exe vs Windows Service project type As in title I would like to ask what is difference between using these possibilities of hosting my code on Windows Service. As far as I can see, all ...
- Modified
- 2 Dec at 17:43
.net windows service local application data is different then in normal app
.net windows service local application data is different then in normal app In normal console app I have this Environment.SpecialFolder.LocalApplicationData is `C:\Users\Simon\AppData\Local\` In Windo...
- Modified
- 1 Jun at 09:19
How to create windows service from java jar?
How to create windows service from java jar? I have an executable JAR file. Is it possible to create a Windows service of that JAR? Actually, I just want to run that on startup, but I don't want to pl...
- Modified
- 27 Feb at 16:6
Windows Service Choose User or System Account on Install
Windows Service Choose User or System Account on Install When installing a windows service, is there a way to let the user installing choose between a specific user account and a computer account, suc...
- Modified
- 15 Dec at 18:47
Get appdata\local folder path in C# windows service
Get appdata\local folder path in C# windows service I am try to get `C:\Users\\AppData\Local` folder path using in a C# Windows service, but it returns some other path Does any have any idea how to do...
- Modified
- 26 Jun at 06:43
Easier way to debug a Windows service
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 Manager and then attaching the debugger to the threa...
- Modified
- 9 Dec at 07:25
Tray icon does not disappear on killing process
Tray icon does not disappear on killing process I have a window service for my application. When i stops that by killing process with task manager, the tray icon does not disappear. Is it a window bug...
- Modified
- 29 Nov at 16:52
How can I install a windows service onto a machine that doesn't have Visual Studio installed?
How can I install a windows service onto a machine that doesn't have Visual Studio installed? The only way to install windows-service I know is using "", Is there a way to install windows-service on a...
- Modified
- 8 Apr at 12:2
Check if a Windows service exists and delete in PowerShell
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 I want to delete ...
- Modified
- 13 Nov at 19:12
Get the PID of a Windows service
Get the PID of a Windows service Could anyone help me to know how to get the PID of a Windows service? I need to get the PID in order to run the following command:
- Modified
- 15 Apr at 13:32
How to install a C# Windows Service on a remote server?
How to install a C# Windows Service on a remote server? Hi I have developed a C# Windows Service in Visual Studio. I am able to install this service on my local machine and it works fine. Now I want t...
- Modified
- 17 Jul at 12:21
Workflow foundation hosting - console, windows service, asp.net
Workflow foundation hosting - console, windows service, asp.net I read some blog that If we host workflow foundation in asp.net, there will be issues with workflow persistence, is this correct? and wh...
- Modified
- 10 Mar at 10:40
Allow Windows service to interact with desktop
Allow Windows service to interact with desktop How do I enable "Allow service to interact with desktop" programmatically? In services.msc > Action > Properties > Log On > Allow service to interact wit...
- Modified
- 3 Jun at 08:18
What is the best NHibernate session management approach for using in a multithread windows service application?
What is the best NHibernate session management approach for using in a multithread windows service application? I have a windows service application that work with multithread. I use NHibernate in dat...
- Modified
- 15 Jun at 06:5
How to get all Windows service names starting with a common word?
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: - - - Is there some co...
- Modified
- 28 Apr at 09:36
Getting full path for Windows Service
Getting full path for Windows Service How can I find out the folder where the windows service .exe file is installed dynamically? returns a path based on `C:\WINDOWS\system32` directory. However, the ...
- Modified
- 14 Oct at 03:49
Do you need to re-install a Windows service after rebuilding
Do you need to re-install a Windows service after rebuilding If I rebuild a Windows Service after making changes, can I just copy and replace the old assembly / .exe files to get those changes to run ...
- Modified
- 8 Oct at 09:20
Install a .NET windows service without InstallUtil.exe
Install a .NET windows service without InstallUtil.exe I have a standard .NET windows service written in C#. Can it install itself without using InstallUtil? Should I use the service installer class? ...
- Modified
- 29 Jul at 05:47
How to communicate with a windows service?
How to communicate with a windows service? I want to create a windows service that validates data and access it from another windows application, but I'm new to services and I'm not sure how to start....
- Modified
- 1 Mar at 02:2
Automatically start a Windows Service on install
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 to Automatic, the service does not start ...
- Modified
- 25 Jun at 22:35
How do I debug Windows services in Visual Studio?
How do I debug Windows services in Visual Studio? Is it possible to debug the Windows services in Visual Studio? I used code like but it is giving some code error like: > I got two event error: eventI...
- Modified
- 5 Apr at 16:13
How can I verify if a Windows Service is running
How can I verify if a Windows Service is running I have an application in C# (2.0 running on XP embedded) that is communicating with a 'watchdog' that is implemented as a Windows Service. When the dev...
- Modified
- 28 Jul at 23:30
How do I read performance counters in a .NET application without running as an administrator?
How do I read performance counters in a .NET application without running as an administrator? How do I read performance counters in a .NET application without the application running as an administrat...
- Modified
- 2 Sep at 23:32
How do I change a Windows Service's startup type in .NET (post-install)?
How do I change a Windows Service's startup type in .NET (post-install)? I have a program that installs a service, and I'd like to be able to give the user the option later on to change the startup ty...
- Modified
- 25 Sep at 15:58