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?

Windows for business | Windows Client for IT Pros | Devices and deployment | Set up upgrades and drivers
{count} vote

1 answer

Sort by: Most helpful
  1. KhalilUSL 5 Reputation points
    2025-04-24T07:16:01.7633333+00:00

    I managed to fix this issue by uninstalling "OneCoreUap_WDTF_Desktop_Kit_Content" and "WDTF_Desktop_Kit_Product" in Control Panel -> Programs and Features. Then installing WDTF Manually by locating the MSIs in "C:\Program Files (x86)\Windows Kits\10\Testing\Runtimes" and running the following commands in an administrator CMD
    msiexec /i "OneCoreUap_WDTF_Desktop_Kit_Content-x64_en-us.msi" /l* OneCoreUap_WDTFInstall.log WDTFDir=c:\wdtf WDTF_SKIP_MACHINE_CONFIG=1

    msiexec /i "WDTF_Desktop_Kit_Product-x64_en-us.msi" /l* WDTFInstall.log WDTFDir=c:\wdtf WDTF_SKIP_MACHINE_CONFIG=1
    After That I ran "RegisterWDTF.exe" in "C:\Program Files (x86)\Windows Kits\10\Testing\Runtimes\WDTF\RunTime" and checked that the installation was correct with "CheckWDTFInstall.bat" in "C:\Program Files (x86)\Windows Kits\10\Testing\Runtimes\WDTF\tools"

    I think the issue was the default HLK installer was installing the 32bit version instead of the 64bit and that was creating the test run issues.

    0 comments No comments

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.