Before you can run the WdfTester tool on your driver, you must first copy the WdfTester files to a working directory and run an installation script.
To install WdfTester
- Copy the following list of files from the WDK (%WDKRoot%\tools\<platform>) to a local folder that contains a copy of your driver binary.
- Open a Command Prompt window (be sure to Run as Administrator on Windows Vista), and then type the following command:cscript WdfTesterScript.wsf install
This command installs the Wdftester.sys driver and starts the service.