All Questions
2,083
questions
0
votes
0
answers
14
views
ASP.NET Windows Service starting earlier than it should
I currently have a ASP.NET console app that is configured as a Windows Service and continuously runs all day.
From my experience, the whole process takes about 6ish minutes to complete (database ...
-1
votes
0
answers
33
views
Problem building Windows Service project using CLI (C#)
I want to build a Windows Service project using CLI (dotnet or msbuild) to be able to make continuous delivery of a new project.
No problem to build a Windows Application, but, if I use dotnet build ...
0
votes
0
answers
9
views
.NET solution that uses third party hardware and DLLs
My team and I are writing a .NET application to run in a Windows environment.
We will be using hardware from four-ish different vendors, that each comes with their own dll (the term is unmanaged dlls, ...
0
votes
1
answer
57
views
How to get the memory usage of a windows service in C++?
I'm looking for an example to get the memory usage of a service on windows using in C++.
I have searched this forum, Google and Microsoft documentation.
https://learn.microsoft.com/en-us/windows/win32/...
0
votes
2
answers
96
views
Run elevated process from SYSTEM process
I have a service running as SYSTEM that has to run some applications on users' sessions. I can run non-elevated processes but I can't run elevated processes.
I get the user's token via ...
0
votes
0
answers
21
views
Run a long-running process on Windows using SSH
As part of my pipeline, I need to launch Selenium server on a windows machine (which is a long-running process) and let the pipeline keep running. So I need to run a SSH command that will run the ...
0
votes
0
answers
61
views
How do I gray out the service startup type for my own windows service? (The service is written using win32 API )
I am writing a service, in which I want to restrict users from modifying service startup type. How do I do? I have attached a windows service which grays out the startup option.
WinDefend - Service ...
1
vote
0
answers
35
views
Is it possible in Windows (in service or driver) to receive message (signal) just before OS shuts down
I have SBC which runs an app under Windows 10. It is a part of an embedded system. The SBC is powered via our board (it has its own MCU). When the system shuts down I need to know when I can safely ...
-1
votes
1
answer
58
views
Running a jar file with a java.exe, as a windows service possible without NSSM?
just wondering whether if it's possible to do the following or not.
I have not been able to replicate:
https://medium.com/@lk.snatch/jar-file-as-windows-service-bonus-jar-to-exe-1b7b179053e4
solution, ...
0
votes
0
answers
17
views
Windows service exe throwing error "Breakpoint will not currently be hit. No symbols have been added for the documents." on vs 2022 [duplicate]
I am developing a Windows service in c#, .exe I created using building the executable in release mode. The service runs correctly when started, but I encounter an issue when attempting to debug it. ...
0
votes
0
answers
13
views
ETW ProcessStart event callback is not called within service
I'm writing a windows service which needs to read ProcessStart events using ETW, when I run the service it manages to subscribe to the event using the Kernel provider without an exception, but it ...
0
votes
0
answers
19
views
How to run python windows service implementation in an interactive windows session?
I have implemented windows service:
class AppService(win32serviceutil.ServiceFramework):
and
if __name__ == '__main__':
if len(sys.argv) == 1:
servicemanager.Initialize()
...
0
votes
0
answers
44
views
Is it possible to catch OnSessionChange in a .Net 6 Worker Service?
Is there a way, in a .Net 6 Worker Service to catch the OnSessionChange event (so for a Windows service) ?
1
vote
1
answer
68
views
Windows Named pipe communication between C# .NET Windows Service and C++ client freezes
I need some help with Windows named pipes please.
Aim: run silent .msi installers from C++ app running WITHOUT admin permissions
Idea: bundle the .msi with another product as an installer daemon ...
0
votes
1
answer
35
views
Windows services that is stuck in starting
Serices applications are stuck in started status
I have tried to reboot the server still same issue
I have done sc queryex “<service_display_name>” for all that are stuck "started" and ...