Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Thursday, September 18, 2014 8:34 AM
Hi There,
I want to use the command line pwrtest.ext /cs to run the CS scenario in a Surface Pro3. But here I got an error:
Error: 0x2, The system cannot find the file specified.
Virtual power button driver not found, please install the Windows Device Testing Framework (WDTF) which in found in the Microsoft Windows Driver Kit (WDK) version 8 or later
File=base\power\tools\pwrtest\exe\scenarioconnectedstandby.cpp Line=311
I have tried to install WDK8 and WDK8.1. Still get the same error.
Is there anything I did wrong or what else I need to do?
Appreciated for any response, thanks!
Thanks,
All replies (1)
Thursday, May 7, 2015 3:08 AM âś…Answered
Hi, Pippen,
The error message that mentioned you have to install WDTF. Although you installed WDK8.0/8.1 on your target system, you still need to manually install WDTF on your target system. The more detail steps are as follows.(Copy from https://msdn.microsoft.com/en-us/library/windows/hardware/hh831856%28v=vs.85%29.aspx?f=255&MSPPError=-2147217396)
[Manually installing WDTF on a test computer] (alternative method)
Install Visual Studio and the WDK on the computer you use for development.
Copy the WDTF installation files from the computer where you installed the WDK to the test computer. The WDTF installation files (*.msi and *.cab files) are located in the %programfiles%\Windows Kits\8.0\Testing\Runtimes directory on your development system. Copy the all the files in the directory that matches the architecture of the test computer.
On the test computer, open a Command Prompt window using elevated permission (Run as administrator) and navigate to the directory that contains the WDTF installation files. Run the following command to install WDTF.
msiexec /i "Windows Driver Testing Framework (WDTF) Runtime Libraries-x64_en-us.msi"
-Or-
msiexec /i "Windows Driver Testing Framework (WDTF) Runtime Libraries-x86_en-us.msi"