Skip to main content

All Questions

Tagged with
0 votes
0 answers
24 views

Enabling Efficiency Mode (EcoQoS) for a Process by PID in C++ and Verifying in Task Manager

I'm trying to enable Efficiency Mode (EcoQoS) for a process given its process ID (PID). I have referred to this similar question on Stack Overflow, but I'm still facing issues. Issue: Although the ...
Shivam's user avatar
  • 52
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, ...
Nikolaj Eriksen's user avatar
2 votes
0 answers
24 views

Allocate cores for a specific process

I want to allocate multiple cores to a specific process so that only that process runs on those cores. Neither Windows system nor anything else should use these cores. Is there a way to do something ...
Vyacheslav1557's user avatar
0 votes
0 answers
26 views

Output from cmd.exe from C# differs from real command prompt [duplicate]

I'm trying to verify current python version. Since I'll check a lot of requirements for my app, it should be done via CMD using C# Process.Start() Real CMD output (without a code, just using cmd.exe ...
Alex Zaitsev's user avatar
  • 2,716
1 vote
0 answers
44 views

How to get process mitigation policies in kernel mode?

I need to write code for a driver. I need to get information about all the mitigation policies of a process. This is how I get the process handle : `HANDLE h_process{}; OBJECT_ATTRIBUTES obj_attr{}; ...
Leonid_First's user avatar
0 votes
0 answers
26 views

What does the Background field in the EPROCESS structure mean on Windows?

I am trying to understand the meaning of the Background field in the EPROCESS structure on Windows. I attempted to retrieve this field using the following code: NtQueryInformationProcess(hProcess, ...
frendguo's user avatar
0 votes
2 answers
64 views

Get command line info of currently running Win 10 processes

I want to write a small java app (preferably Java 8) that does the following: List all processes that are currently running in Windows 10 and find a specific one (name and PID, there can be multiple ...
Neph's user avatar
  • 1,941
0 votes
0 answers
28 views

Can't focus and bring process window to foreground with PID

I'm writing a program that would focus on the process window and bring it to the foreground given the process PID. I've came up with the following program in C, but it doesn't always work despite the ...
Kevin Liu's user avatar
0 votes
1 answer
43 views

I need to kill a process in windows but i have 2 scripts under the same process id

i've the next issue: i'm running through an url a php script, this script makes a query to mongoDb and brings a loooot of registers, this takes almost an hour to finish. To this point everything goes ...
lady Marian's user avatar
0 votes
0 answers
9 views

Storing Process Ids for transient processes on Windows strategy?

I have a low level application that that stores process IDs (PID) for running processes on Windows, such as those belonging to connhost or svchost for example. I gather these at the start of my ...
PM-MC-23's user avatar
0 votes
0 answers
38 views

Killing a process using TerminateProcess

I am writing a program on MASM64, the goal of the program is to launch the calc.exe process (a regular Windows calculator) and after 10 seconds complete this process. I expect the program to close ...
Влад's user avatar
0 votes
1 answer
19 views

Obtain .exe path (or similar static identifier) of a Windows program visible to user at a specific display coordinate

I'm working on a small program that lets the user select a specific area of their screen by clicking their mouse and then throughout its run records what windows were visible to the user at that ...
Pomacanthidae's user avatar
1 vote
0 answers
102 views

Implementing OpenTelemetry Collector as Windows Service with Go

I found an example on how to run a Windows executable as a service using Go in the github.com/golang/sys repository. The example is available at https://github.com/golang/sys/blob/master/windows/svc/...
Ackerman Shadow's user avatar
2 votes
0 answers
60 views

Can Process.Exited event get fired but the process hang in the system?

I'm facing the following situation. I have a process that gets crashed constantly. Mostly it crashes 0xC0000374 error code. However, after hundreds of crashes, another one occurs which does not result ...
Gab's user avatar
  • 521
1 vote
0 answers
110 views

Windows Service running as a specific user (not Local System) cannot use msiexec

I am creating a Windows Service in C++. I want to allow the Windows Service to update itself (upon a certain trigger) by running msiexec /p patch.msp /quiet /qn. I am currently using the Windows ...
aampere's user avatar
  • 280

15 30 50 per page
1
2 3 4 5
102