Driver Certification Error in Windows HLK: 'DriverSetup' Not a Registered WDTF System Interface Name.

KhalilUSL 5 Reputation points
2025-03-20T11:07:18.73+00:00

I'm testing a driver for certification using Windows HLK.

I have the following Setup:

HLK Server: Running Windows Server 2016 Version 1607, OS Build 14393.7876.

HLK Controller and Studio Version 10.1.26100.3037

Test Client Running Windows 11 24H2 OS Build 26100.3476, with Visual Studio 2022 Community (17.13.39874) Windows SDK 10.0.26100.3233 and WDK 10.0.26100.3323.

I followed the steps in this guide to install the controller and client https://learn.microsoft.com/en-us/windows-hardware/test/hlk/getstarted/windows-hlk-getting-started

I'm using the Windows Hardware Compatibility Program play list (https://learn.microsoft.com/en-us/windows-hardware/design/compatibility/)
I can run and pass all the tests except for "DF - Reinstall with IO Before and After (Reliability)" where I'm getting the following error:
Error: WDTF_TARGET : "DriverSetup" is not a registered WDTF system interface name. Win32=2 - The system cannot find the file specified.

I re-registered WDTF using the RegisterWDTF.exe tool in "C:\Program Files (x86)\Windows Kits\10\Testing\Runtimes\WDTF\RunTime" and when Checking the WDTF Install in "C:\Program Files (x86)\Windows Kits\10\Testing\Runtimes\WDTF\tools" I get that WDTF is installed and registered and checking the log file I can see that DriverSetup in the WDTF Plug-in info Actions.
Below is a snippet of the log where DriverSetup is found
" DriverSetup

        Default

             = WDTFDriverSetupDeviceAction Class

            TraceLevel = 2

            Match = 

            CLSID

                 = {0FA57208-5100-4CD6-955C-FE69F8898973}

                    HKEY_CLASSES_ROOT\CLSID\{0FA57208-5100-4CD6-955C-FE69F8898973}

                        InprocServer32

                             = C:\Program Files (x86)\Windows Kits\10\Testing\Runtimes\WDTF\RunTime\Actions\WDTFDriverSetupDeviceAction.dll

                            ThreadingModel = Both

                        ProgID

                             = WDTF.DriverSetupAction.1

                        Programmable

                        TypeLib

                             = {05548A42-BF35-419A-B803-5D04DD5A8D7A}

                        VersionIndependentProgID

                             = WDTF.DriverSetupAction  

....
DriverSetup

        Default

             = WDTFDriverSetupSystemAction Class

            TraceLevel = 2

            Match = IsRemote=False

            CLSID

                 = {238C0AEB-1DFC-4575-AAF3-C67FE15C1819}

                    HKEY_CLASSES_ROOT\CLSID\{238C0AEB-1DFC-4575-AAF3-C67FE15C1819}

                        InprocServer32

                             = C:\Program Files (x86)\Windows Kits\10\Testing\Runtimes\WDTF\RunTime\Actions\WDTFDriverSetupSystemAction.dll

                            ThreadingModel = Both

                        ProgID

                             = WDTF.WDTFDriverSetupSystem.1

                        Programmable

                        TypeLib

                             = {0F652881-33BF-4312-AEA2-F29E9A29392C}

                        VersionIndependentProgID

                             = WDTF.WDTFDriverSetupSystem  

"

I tried running the test locally from the Command prompt but I'm getting the same error as well.

Are there any steps missing from the setup to get this test to work?

Hardware Lab Kit
Hardware Lab Kit
A test framework used to test hardware devices for Windows.
22 questions
{count} vote

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.