330 questions with Windows development | Windows Driver Kit (WDK) tags

Sort by: Updated
2 answers

Issues with Miniport Drive in Win11 25H2 version of HLK

We are encountering issues with our USB network adapter device driver (Miniport Driver) during HLK testing and request assistance with analysis:(1).All tests pass normally when using the Win11 22H2 version of HLK. (2).The CheckConnectivity and…

Windows development | Windows Driver Kit (WDK)
asked 2026-04-08T08:58:04.9633333+00:00
answered 2026-04-09T07:26:05.3966667+00:00
Taki Ly (WICLOUD CORPORATION) 615 Reputation points Microsoft External Staff Moderator
2 answers

WFP API Race Condition: BSOD in FwpsCompleteOperation0 due to undocumented TCP Endpoint Teardown vulnerability at ALE Layers

Hello, I'm developing a WFP callout driver and have identified a severe, reproducible race condition involving FwpsPendOperation0 and FwpsCompleteOperation0 at the Application Layer Enforcement (ALE) layers (specifically…

Windows development | Windows Driver Kit (WDK)
asked 2026-04-01T09:21:33.32+00:00
Alex Zilberkant 0 Reputation points
commented 2026-04-08T09:52:12.5166667+00:00
Taki Ly (WICLOUD CORPORATION) 615 Reputation points Microsoft External Staff Moderator
2 answers

HLK Studio shows “No targets in project” after successful Controller and Client setup (Windows Server 2019 + Windows 10)

Title: HLK Studio shows “No targets in project” after successful Controller and Client setup (Windows Server 2019 + Windows 10) Summary I am attempting to set up the Windows Hardware Lab Kit (HLK) environment following the official Microsoft…

Windows development | Windows Driver Kit (WDK)
asked 2026-03-30T07:12:53.35+00:00
Nitin Pardeshi 0 Reputation points
commented 2026-04-07T10:43:48.62+00:00
Danny Nguyen (WICLOUD CORPORATION) 6,615 Reputation points Microsoft External Staff Moderator
2 answers

HLK Client Machine Status Stuck at NotReady with Error: "Latest Resource Configuration is null, cannot build machine properties"

I am setting up a Windows HLK (Hardware Lab Kit) test environment. The HLK Controller is running normally, but the client machine (machine name: / , OS: Windows 11 Client x64, build number: 26100) remains in the status in HLK Studio and cannot transition…

Windows development | Windows Driver Kit (WDK)
asked 2026-03-27T04:29:50.8766667+00:00
彭 太平 0 Reputation points
commented 2026-04-07T09:25:10.04+00:00
Taki Ly (WICLOUD CORPORATION) 615 Reputation points Microsoft External Staff Moderator
1 answer

WHQL testing for a service driver: is it OK to use VMs to run HLK tests?

This is a software service not a hardware driver. The HLK tests seemed to run OK in Windows 10 and 11 VMs, but is that allowed for submitting the HLKX?

Windows development | Windows Driver Kit (WDK)
asked 2026-04-06T17:57:22.7733333+00:00
Dave Simmons 0 Reputation points
answered 2026-04-07T04:01:33.97+00:00
Taki Ly (WICLOUD CORPORATION) 615 Reputation points Microsoft External Staff Moderator
2 answers

How to fix avshws.sys driver with {The driver input point cannot be found} (errorcode=39)

I successfully compiled the project file(Windows-driver-samples-main\avstream\avshws) using VS2022 and generated the avshws.sys,avshws.inf,avshws.cat. Install the driver according to the "README.md" on Win10 22h2. It is not going…

Windows development | Windows Driver Kit (WDK)
asked 2026-03-24T11:24:19.6+00:00
PENG TONG 50 Reputation points
commented 2026-04-07T02:15:24.1233333+00:00
Tom Tran (WICLOUD CORPORATION) 4,680 Reputation points Microsoft External Staff Moderator
2 answers

HLK 25H2: Wi-Fi Direct test stuck at "Run Test" / "Start RemoteServer on SUT" – client completed but controller not receiving status

Environment: Windows HLK version: 25H2 Test machines: TEST4 (DUT) and TEST1 (SUT), both in machine pool WIFIV1560, Runtime Version 2.7.3539.0 Test name: Wi-Fi Direct Service Pairing and Reconnect Tests - Functional Job ID: 1270 Log path:…

Windows development | Windows Driver Kit (WDK)
asked 2026-03-03T07:20:21.4466667+00:00
Peng DENG 0 Reputation points
commented 2026-04-03T09:59:34.3266667+00:00
Tom Tran (WICLOUD CORPORATION) 4,680 Reputation points Microsoft External Staff Moderator
2 answers

HLK USB-IF Certification Validation Test failed with "No Valid Test ID Reported" during test execution

Hello Team, We are validating a Windows driver package using HLK. During HLK test execution, the following test failed: USB-IF Certification Validation Test (Device) The exact failure message from the HLK log is: "No Valid Test ID…

Windows development | Windows Driver Kit (WDK)
asked 2026-03-30T06:25:43.7366667+00:00
M VISWANATH 0 Reputation points
commented 2026-04-02T10:36:31.6433333+00:00
Damien Pham (WICLOUD CORPORATION) 1,755 Reputation points Microsoft External Staff Moderator
2 answers

Whql addrechange test case failing

Hi All, I’m facing failures in a few HLK network test cases using: HLK Server: Windows Server 2022 Client systems: Windows Server 2025 / Windows 11 Issue Summary The failures seem to be related to IPX packets being dropped, as observed via…

Windows development | Windows Driver Kit (WDK)
asked 2026-03-23T10:30:44.3333333+00:00
David ambu 0 Reputation points
commented 2026-03-31T12:11:14.8866667+00:00
David ambu 0 Reputation points
0 answers

How to Fix Inf2Cat Error when building driver?

I'm following the procedure outlined here (https://dotnet.territoriali.olinfo.it/en-us/windows-hardware/drivers/develop/signing-a-driver-during-development-and-testing) to test sign a driver. In the "Enabling test signing manually" section, when I allow…

Windows development | Windows Driver Kit (WDK)
asked 2024-08-23T15:03:23.91+00:00
Anthony Lleonart 5 Reputation points
commented 2026-03-19T17:40:37.15+00:00
Phil Preen 1 Reputation point
2 answers

HLK Test Failures on Windows 11 25H2 (Passed on 24H2 with Same Driver)

Hello, We are currently validating a WFP callout driver using HLK for Windows 11 certification. Our driver passed all required HLK test cases on Windows 11 24H2 without any issues. However, when running the same driver binary and HLK configuration on…

Windows development | Windows Driver Kit (WDK)
asked 2026-03-02T05:06:06.92+00:00
Roshan Patil 25 Reputation points
commented 2026-03-18T09:45:03.78+00:00
Tom Tran (WICLOUD CORPORATION) 4,680 Reputation points Microsoft External Staff Moderator
1 answer

How to fix the error BlockingDetectionFound, when i submit new driver for sign

when i submit new driver for sign, it retern error BlockingDetectionFound, errcode is 4001. but the driver i submit is a empty driver. it mean the driver only have driverentry, but no any other interface.

Windows development | Windows Driver Kit (WDK)
asked 2026-03-13T03:11:21.15+00:00
linzhen 0 Reputation points
commented 2026-03-18T09:42:46.3666667+00:00
Tom Tran (WICLOUD CORPORATION) 4,680 Reputation points Microsoft External Staff Moderator
1 answer One of the answers was accepted by the question author.

[HLK] Driver attribute test fails with "Driver package folder is not specified."

Hello, I am using VHLK to execute HLK test cases for my PCIe device. All test cases are passing except the Driver Attribute Test. The test report shows the following error: From the logs, it appears that HLK Studio is unable to locate the driver package…

Windows development | Windows Driver Kit (WDK)
asked 2026-02-20T07:05:23.2433333+00:00
Abhishek Naik 20 Reputation points
commented 2026-03-16T07:01:23.4766667+00:00
Tom Tran (WICLOUD CORPORATION) 4,680 Reputation points Microsoft External Staff Moderator
0 answers

How to fix inf2cat error when loading WindowsProtectedFiles.xml file in visual studio 2022

C:\Program Files\Microsoft Visual Studio\2022\Community>inf2cat /driver:"E:\job\PCI\ftpcie440\win_drv\ftpcie440\ftpcie440" /os:10_X64 ................................................... An error occurred loading the Windows file protection…

Windows development | Windows Driver Kit (WDK)
asked 2025-06-30T02:14:31.76+00:00
Sanjin Sen-Chin Liu(劉森進) 5 Reputation points
commented 2026-03-10T12:43:40.47+00:00
Phil Preen 1 Reputation point
2 answers One of the answers was accepted by the question author.

Compile a keyboard layout with Visual Studio

Hello all, I created a custom keyboard layout for my own usage. I edited the usual keyboard files (kbdxx.c, kbdxx.def, kbdxx.rc, kbdxx.h and sources) and added the others files (makefile and makefile.inc) based on WDK samples in a folder. I installed an…

Windows development | Windows Driver Kit (WDK)
asked 2026-02-23T12:36:26.8+00:00
François T 20 Reputation points
accepted 2026-03-09T11:39:15.1633333+00:00
François T 20 Reputation points
2 answers

Static Tools Logo Test failed log

this is my static tool logo test log. I don't know why failed. my driver is a ndis miniport driver. Can anyone help me check what's causing the issue? Thanks a lot. failed log: tn63x64.DVL.XML

Windows development | Windows Driver Kit (WDK)
asked 2026-02-09T01:59:38.4366667+00:00
netswift2018 1 Reputation point
edited a comment 2026-03-05T10:24:03.1933333+00:00
Tom Tran (WICLOUD CORPORATION) 4,680 Reputation points Microsoft External Staff Moderator
2 answers One of the answers was accepted by the question author.

Running my security product as a PPL, obtaining an Altitude value

Hi, I'm developing a security product that needs to access ETW classes that require an altitude value, and needs to run as a Protected Process Light (PPL). What do I need to do to have this? I'm already a Microsoft Partner and part of the HW program so I…

Windows development | Windows Driver Kit (WDK)
asked 2026-03-03T17:15:42.1+00:00
Tomer Filiba 20 Reputation points
accepted 2026-03-04T08:51:47.6066667+00:00
Tomer Filiba 20 Reputation points
1 answer One of the answers was accepted by the question author.

Windows Hardware Dashboard: Attestation signing fails (no validation rule shown) for Windows 11 24H2/25H2

This issue concerns the Windows Hardware Dashboard (Hardware Submission & Signing – all OS versions). I need assistance diagnosing attestation signing failures for Windows 11 24H2 and 25H2. Two separate attestation submissions fail with the same…

Windows development | Windows Driver Kit (WDK)
asked 2026-03-02T15:27:30.5233333+00:00
Steven Powell 20 Reputation points
commented 2026-03-04T04:07:18.3266667+00:00
Michael Le (WICLOUD CORPORATION) 11,160 Reputation points Microsoft External Staff Moderator
2 answers

WDK Include Path

I'm having trouble compiling my driver solution on VS 2022 + WDK. On some systems, the compilation works fine but on others I get this error: Cannot open include file: 'ntifs.h': No such file or directory After including this folder in the project…

Windows development | Windows Driver Kit (WDK)
asked 2025-09-23T07:19:11.84+00:00
Amartya, Shreyank 1 Reputation point
commented 2026-03-03T04:48:52.94+00:00
Michael Le (WICLOUD CORPORATION) 11,160 Reputation points Microsoft External Staff Moderator
2 answers One of the answers was accepted by the question author.

HLK failure: Filter.Driver.WindowsFilteringPlatform.Firewall.NotOnlyPermitAllFilters – clarification on minimal compliance

Hello, We are currently blocked on Windows HLK certification for our WFP-based network driver and have been facing the following test failure for the last 1–1.5 weeks: Filter.Driver.WindowsFilteringPlatform.Firewall.NotOnlyPermitAllFilters The HLK log…

Windows development | Windows Driver Kit (WDK)
asked 2026-01-09T05:57:42.0733333+00:00
Roshan Patil 25 Reputation points
commented 2026-02-27T11:34:42.21+00:00
Roshan Patil 25 Reputation points