Questions tagged [windows-driver]
30 questions
0
votes
0 answers
How to get the process flags in a kernel-mode driver for Windows?
I'm new to driver development and have been struggling with Microsoft's documentation for a while now.
I've been trying to develop a driver that detects the possibility of Process Hollowing by first detecting if a process is suspended or not, and…
0
votes
0 answers
What is config manager services and how to install it inside a Windows Container? (setupapi 0xe0000223)
I am trying to install a virtual device driver package inside a Windows Container based on windows/server:ltsc2022. It looks like the driver installer tool uses setupapi. The installation fails inside the container, and I found these messages in…

LOST
- 2,956
- 3
- 25
- 40
0
votes
0 answers
"[SC] StartService FAILED 127:The specified procedure could not be found" on a functional driver
I have been developing a driver for quite a while now. Yesterday when I logged off it was perfectly functional, was able of being run and did what it is supposed to.
Today, I didn't change a thing and just ran the driver to see the "The specified…

Omer Cohen
- 1
- 1
0
votes
0 answers
Create Remote I/O Target (WdfIoTargetCreate) to Windows ACPI driver
I have a KMDF driver. This driver can read ACPI _DSM methods by sending IOCTL to its local IO target(ACPI driver) by calling WdfDeviceGetIoTarget(Device).
Below is the device stack:
Device stack
But now, I created lower filter driver(UMDF) to my…

ARR
- 1
- 1
0
votes
1 answer
How to fix the ApiValidator issue (ApiValidation: Error: XXX.sys has unsupported API call to "ntoskrnl.exe!KeGetCurrentIrql")
I am developing the system driver for Windows 10 and trying to pass the ApiValidator.
I can pass the ApiValidator in VS2019 environment. But I can't pass it in HLK environment.
I am getting ApiValidation: Error: XXX.sys has unsupported API call to…

Li Wei
- 1
- 4
0
votes
0 answers
How to get invisible part of segment register
I want to start virtual technology on my AMD computer. So I need to get the invisible part of the segment register, such as limit, base and attribute to fill the state save area of vmcb. I tried to use the following code to read the invisible part…

fahuifai
- 1
- 1
0
votes
0 answers
How to make a driver installing dialog like this(see the picture in detail description)?
I want to make an application that invokes the driver installation dialog through a programmatic call, allowing the user to easily install a required driver. What should I do? What API/tool should I use?
driver installation dialog
I tried to use…

Cui
- 1
0
votes
0 answers
Build basic v4 printer driver Windows error - INFGate.exe WDK
I'm trying to follow the steps on this tutorial to create a basic v4 printer driver in Windows: https://learn.microsoft.com/en-us/windows-hardware/drivers/print/building-a-basic-v4-printer-driver
I'm running Visual Studio Community 2019 on Windows…

Dani
- 1
0
votes
1 answer
Java program to print raw data in Windows fails
i have been stuck with this problem for a long time.
I am trying to print a file in Windows sending its raw bytes to printer. Here is the code i am using
PrintService[] printServices = PrintServiceLookup.lookupPrintServices(null, null);
…

Mirai
- 31
- 1
- 4
0
votes
0 answers
Monitor/sniff PCI I/O under Windows and Linux
A PCI device seems to have some sort of incompatibility with the process of I/O port range assignment on Linux, even if it works on Windows without any effort with a completely blank driver.
I would like to compare the I/O port range assignment…

Jack White
- 896
- 5
- 7
0
votes
0 answers
Cross Signed SHA1 cetificate for 2K/XP drivers?
Since you can no longer obtain an SHA1 certificate from the normal certificate authorities, even if you want one (because MS told them they can't), I've created a self-signed certificate following this but using sha1. I can have my CA certificate…

user3161924
- 1,849
- 18
- 33
0
votes
0 answers
WinAppDriver doesnt start my Desktop Application
im creating a console application in C# to open and connect with my Windows Desktop Application, in my computer its working but when i installed it in the cliente idk why doesnt open the application, in some post i saw that if the console…

Fez226
- 1
0
votes
1 answer
Windows kernel mode driver developing
I'm a C++ and C# developer,but rookie in windows driver developing.I encounter a problem and get confused.my question is how to develop driver without vs2019? In another word how are kernel mode drivers were developed before driver developing…

Farshid
- 21
- 4
0
votes
1 answer
devcon status returns 39 after installing wfp kernel driver
I am trying to write a simple windows filtering platform kernel driver to add some filters. I used the VS2019 Kernel Driver project template and added code to create the driver and device. This works fine and I was able to see the WPP logs and the…

vini
- 1
- 1
-1
votes
1 answer
Problem with windows api called ObRegisterCallbacks
I tried to debug my driver,but the debuged computer always stop at here.enter image description here
And after continue,debuged computer throw a blue screen directly with the error which says SYSTEM THREAD EXCEPTION NOT HANDLED.
I have searched to…

fahuifai
- 1
- 1