Hi @Tianyu Sun-MSFT ,
Thanks for your reply!
Just to be sure is this feature still supported for the newest versions of windows 10? the following link says it might not: debugging-using-visual-studio
The problem occured during the 6th step of the document: provision-a-target-computer-wdk-8-1
I'm not using an virtual machine but another pc connected locally via ethernet.
Also, one thing to check, did you try to enter the local IP address of your target computer in the Network host name category? And perhaps you can check if this is a network/permission related issue.
I disabled all firewalls on the host and target PC during this step and used the local IP. However, this gave exactly the same result, however i spotted some extra errors (which where also there when i made the first post), see the full error list below.
So many things are failing that its not clear to me where I should be looking. I did however try to install Windows Driver Testing Framework (WDTF) Runtime Libraries-x64_en-us.msi manually, the installation failed because C:\Program Files (x86)\Windows Kits\10\Testing\Runtimes\WDTF\RunTime\WDTFInstall.DLL could not be found. I did some searching on the problem and found that alot of people had the same issue but no solution was every given? see: cannot-install-windows-driver-test-framework error-when-provisioning-pc-for-driver-deployment-during-wdtf-runtime-libraries-installation
Looking forward to your feedback.
Name: Install Driver Test Components
Path: C:\Users\maartenw\AppData\Roaming\Microsoft\WDKTestInfrastructure\InfrastructureTaskGroups\Install Driver Test Components.xml
Target Computer: PCTEST2
Install Driver Test Components: Host Computer: PC-MAARTENW-5
Install Driver Test Components: Host Architecture: x86
Install Driver Test Components: Host 64bit Operating System: True
Install Driver Test Components: Host Operating System Version: 10.0.19041.0
Install Driver Test Components: Process Administrator Privilege: False
Progress event: Current: 1, Max: 15, Message: ""
Progress event: Current: 1, Max: 15, Message: "Copying required files"
[09:45:46:820]: Copying required files
Task result status updated: Pass
[09:46:05:663]: Task "Copying required files" completed successfully
Progress event: Current: 1, Max: 15, Message: " Task "Copying required files" completed successfully"
Result completed
Test process exit code: 0
Progress event: Current: 2, Max: 15, Message: "Configuring WDK Remote User Account"
[09:46:05:669]: Configuring WDK Remote User Account
Task result status updated: Pass
[09:46:05:685]: Task "Configuring WDK Remote User Account" completed successfully
Progress event: Current: 2, Max: 15, Message: " Task "Configuring WDK Remote User Account" completed successfully"
Result completed
Test process exit code: 0
Progress event: Current: 3, Max: 15, Message: "Installing .NET Framework (possible reboot)"
[09:46:05:690]: Installing .NET Framework (possible reboot)
[09:46:05:692]: [Installing .NET Framework (possible reboot)] Command Line:
%SystemDrive%\DriverTest\Setup\dotNetFx40_Full_x86_x64.exe /q /norestart /log %SystemDrive%\DriverTest\Logs\DotNetInstall.log
Result file "%SystemDrive%\DriverTest\Logs\DotNetInstall*.log" could not be retrieved from the target machine. Error: An error occurred on the target machine while retrieving a file.
Error code: 123
Error message: Unable to open file 'C:\DriverTest\Logs\DotNetInstall*.log'.
Result file "%SystemDrive%\DriverTest\Logs\DotNetInstall*.html" could not be retrieved from the target machine. Error: An error occurred on the target machine while retrieving a file.
Error code: 123
Error message: Unable to open file 'C:\DriverTest\Logs\DotNetInstall*.html'.
Task result status updated: Pass
Task result status updated: Pass
[09:46:18:849]: Task "Installing .NET Framework (possible reboot)" completed successfully
Progress event: Current: 3, Max: 15, Message: " Task "Installing .NET Framework (possible reboot)" completed successfully"
Result completed
Test process exit code: 0
Progress event: Current: 4, Max: 15, Message: "Installing VC Redist (x64)"
[09:46:18:855]: Installing VC Redist (x64)
[09:46:18:855]: [Installing VC Redist (x64)] Command Line:
%SystemDrive%\DriverTest\Setup\x64\vcredist_x64.exe /q /log %SystemDrive%\DriverTest\Logs\vcredist_x64.log
Task result status updated: Pass
Task result status updated: Pass
[09:46:27:316]: Task "Installing VC Redist (x64)" completed successfully
Progress event: Current: 4, Max: 15, Message: " Task "Installing VC Redist (x64)" completed successfully"
Result completed
Test process exit code: 0
Progress event: Current: 5, Max: 15, Message: "Installing test automation (x86)"
[09:46:27:322]: Installing test automation (x86)
[09:46:27:322]: [Installing test automation (x86)] Command Line:
msiexec.exe /i "%SystemDrive%\DriverTest\Setup\Test Authoring and Execution Framework x86-x86_en-us.msi" /qb- KITSROOT="%ProgramFiles%\Windows Kits\10" KITTARGET=1 /l*v "%SystemDrive%\DriverTest\Logs\Test Authoring and Execution Framework x86-x86_en-us.msi_install.log"
Task result status updated: Pass
Task result status updated: Pass
[09:46:27:843]: Task "Installing test automation (x86)" completed successfully
Progress event: Current: 5, Max: 15, Message: " Task "Installing test automation (x86)" completed successfully"
Result completed
Test process exit code: 0
Progress event: Current: 6, Max: 15, Message: "Installing test automation (x64)"
[09:46:27:849]: Installing test automation (x64)
[09:46:27:849]: [Installing test automation (x64)] Command Line:
msiexec.exe /i "%SystemDrive%\DriverTest\Setup\Test Authoring and Execution Framework x64-x64_en-us.msi" /qb- KITSROOT="%ProgramFiles(x86)%\Windows Kits\10" KITTARGET=1 /l*v "%SystemDrive%\DriverTest\Logs\Test Authoring and Execution Framework x64-x64_en-us.msi_install.log"
Task result status updated: Pass
Task result status updated: Pass
[09:46:28:239]: Task "Installing test automation (x64)" completed successfully
Progress event: Current: 6, Max: 15, Message: " Task "Installing test automation (x64)" completed successfully"
Result completed
Test process exit code: 0
Progress event: Current: 7, Max: 15, Message: "Installing debuggers (x86)"
[09:46:28:246]: Installing debuggers (x86)
[09:46:28:246]: [Installing debuggers (x86)] Command Line:
msiexec.exe /i "%SystemDrive%\DriverTest\Setup\X86 Debuggers And Tools-x86_en-us.msi" /qb- /l*v "%SystemDrive%\DriverTest\Logs\X86 Debuggers And Tools-x86_en-us.msi_install.log"
Task result status updated: Pass
Task result status updated: Pass
[09:46:28:745]: Task "Installing debuggers (x86)" completed successfully
Progress event: Current: 7, Max: 15, Message: " Task "Installing debuggers (x86)" completed successfully"
Result completed
Test process exit code: 0
Progress event: Current: 8, Max: 15, Message: "Installing debuggers (x64)"
[09:46:28:750]: Installing debuggers (x64)
[09:46:28:750]: [Installing debuggers (x64)] Command Line:
msiexec.exe /i "%SystemDrive%\DriverTest\Setup\x64 Debuggers And Tools-x64_en-us.msi" /qb- /l*v "%SystemDrive%\DriverTest\Logs\x64 Debuggers And Tools-x64_en-us.msi_install.log"
Task result status updated: Pass
Task result status updated: Pass
[09:46:29:432]: Task "Installing debuggers (x64)" completed successfully
Progress event: Current: 8, Max: 15, Message: " Task "Installing debuggers (x64)" completed successfully"
Result completed
Test process exit code: 0
Progress event: Current: 9, Max: 15, Message: "Installing driver test framework"
[09:46:29:437]: Installing driver test framework
[09:46:29:437]: [Installing driver test framework] Command Line:
msiexec.exe /i "%SystemDrive%\DriverTest\Setup\Windows Driver Testing Framework (WDTF) Runtime Libraries-x64_en-us.msi" /qb- KITTARGET=1 /l*v "%SystemDrive%\DriverTest\Logs\Windows Driver Testing Framework (WDTF) Runtime Libraries-x64_en-us.msi_install.log"
Result file "%SystemDrive%\WDTFInstallText.log" could not be retrieved from the target machine. Error: An error occurred on the target machine while retrieving a file.
Error code: 2
Error message: Unable to open file 'C:\WDTFInstallText.log'.
Task result status updated: Fail
Task result status updated: Fail
[09:46:32:424]: ERROR: Task "Installing driver test framework" failed to complete successfully. Look at the logs in the driver test group explorer for more details on the failure.
Progress event: Current: 9, Max: 15, Message: " ERROR: Task "Installing driver test framework" failed to complete successfully. Look at the logs in the driver test group explorer for more details on the failure."
Result completed
Test process exit code: 1603
Progress event: Current: 10, Max: 15, Message: "Registering logging components"
[09:46:32:429]: Registering logging components
[09:46:32:429]: [Registering logging components] Command Line:
regsvr32.exe /s %SystemDrive%\DriverTest\WTTLogcm.dll
Task result status updated: Pass
Task result status updated: Pass
[09:46:32:516]: Task "Registering logging components" completed successfully
Progress event: Current: 10, Max: 15, Message: " Task "Registering logging components" completed successfully"
Result completed
Test process exit code: 0
Progress event: Current: 11, Max: 15, Message: "Installing TAEF service"
[09:46:32:520]: Installing TAEF service
[09:46:32:520]: [Installing TAEF service] Command Line:
C:\Program Files (x86)\Windows Kits\10\Testing\Runtimes\TAEF\X64\Wex.Services.exe /install:Te.Service
Task result status updated: Pass
Task result status updated: Pass
[09:46:32:624]: Task "Installing TAEF service" completed successfully
Progress event: Current: 11, Max: 15, Message: " Task "Installing TAEF service" completed successfully"
Result completed
Test process exit code: 0
Progress event: Current: 12, Max: 15, Message: "Configuring TAEF test service to start automatically"
[09:46:32:634]: Configuring TAEF test service to start automatically
[09:46:32:634]: [Configuring TAEF test service to start automatically] Command Line:
sc config Te.Service start= auto
Task result status updated: Pass
Task result status updated: Pass
[09:46:32:725]: Task "Configuring TAEF test service to start automatically" completed successfully
Progress event: Current: 12, Max: 15, Message: " Task "Configuring TAEF test service to start automatically" completed successfully"
Result completed
Test process exit code: 0
Progress event: Current: 13, Max: 15, Message: "Configuring kernel debugger settings (possible reboot)"
[09:46:32:739]: Configuring kernel debugger settings (possible reboot)
[09:46:32:741]: Removing any existing files from test execution folder.
[09:46:32:759]: Copying required files for "Configuring kernel debugger settings (possible reboot)".
[09:46:33:247]: [Configuring kernel debugger settings (possible reboot)] Command Line:
$KitRoot$\Testing\Runtimes\TAEF\te.exe "%SystemDrive%\DriverTest\Run\DriverTestTasks.dll" /select:"@Name='DriverTestTasks::_ConfigureKernelDebugger'" /p:"DebugTransport=NET" /p:"NetHost=192.168.178.31" /p:"NetPort=50646" /p:"NetKey=XUFYUQ5K5VP.V00IOAM69KRN.SPY9VJZYWRYG.0OUTRBW1I3U8" /p:"StartPolicy=Active" /p:"IgnoreUserModeExceptions=0" /p:"SuppressReboot=1" /rebootStateFile:%SystemDrive%\DriverTest\Run\DriverTestReboot.xml /enableWttLogging /wttDeviceString:$LogFile:file="%SystemDrive%\DriverTest\Run\Configuring_kernel_debugger_settings_(possible_reboot)_00014.wtl",writemode=append,encoding=unicode,nofscache=true,EnableLvl="WexStartTest|WexEndTest|WexXml|WexProperty|WexCreateContext|WexCloseContext|*" /runas:Elevated
Result file "%SystemDrive%\DriverTest\Run\Configuring_kernel_debugger_settings_(possible_reboot)_00014.wtl.trace" could not be retrieved from the target machine. Error: An error occurred on the target machine while retrieving a file.
Error code: 2
Error message: Unable to open file 'C:\DriverTest\Run\Configuring_kernel_debugger_settings_(possible_reboot)_00014.wtl.trace'.
[09:46:34:373]: Result Summary: Total=1, Passed=1, Failed=0, Blocked=0, Warned=0, Skipped=0
Task result status updated: Pass
Task result status updated: Pass
[09:46:34:373]: Task "Configuring kernel debugger settings (possible reboot)" completed successfully
Progress event: Current: 13, Max: 15, Message: " Task "Configuring kernel debugger settings (possible reboot)" completed successfully"
Result completed
Test process exit code: 0
Progress event: Current: 14, Max: 15, Message: "Configuring computer settings (possible reboot)"
[09:46:34:901]: Configuring computer settings (possible reboot)
[09:46:34:901]: Removing any existing files from test execution folder.
[09:46:34:912]: Copying required files for "Configuring computer settings (possible reboot)".
[09:46:35:403]: [Configuring computer settings (possible reboot)] Command Line:
$KitRoot$\Testing\Runtimes\TAEF\te.exe "%SystemDrive%\DriverTest\Run\DriverTestTasks.dll" /select:"@Name='DriverTestTasks::_ConfigureCommonSettings'" /p:"OsSkuType=0" /rebootStateFile:%SystemDrive%\DriverTest\Run\DriverTestReboot.xml /enableWttLogging /wttDeviceString:$LogFile:file="%SystemDrive%\DriverTest\Run\Configuring_computer_settings_(possible_reboot)_00015.wtl",writemode=append,encoding=unicode,nofscache=true,EnableLvl="WexStartTest|WexEndTest|WexXml|WexProperty|WexCreateContext|WexCloseContext|*" /runas:Elevated
Communication error occured while monitoring test. Ignoring error. An error occurred while connecting from the remote machine.
Error: 10060 (TimedOut)
Error message: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 192.168.178.242:50005
Communication error occured while monitoring test. Ignoring error. An error occurred while connecting from the remote machine.
Error: 10060 (TimedOut)
Error message: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 192.168.178.242:50005
Waiting for task to complete...
Progress event: Current: 14, Max: 15, Message: "Waiting for task to complete..."
Communication error occured while monitoring test. Ignoring error. An error occurred while connecting from the remote machine.
Error: 10060 (TimedOut)
Error message: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 192.168.178.242:50005
Communication error occured while monitoring test. Ignoring error. An error occurred while connecting from the remote machine.
Error: 10060 (TimedOut)
Error message: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 192.168.178.242:50005
Communication error occured while monitoring test. Ignoring error. An error occurred while connecting from the remote machine.
Error: 10060 (TimedOut)
Error message: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 192.168.178.242:50005
Waiting for task to complete...
Progress event: Current: 14, Max: 15, Message: "Waiting for task to complete..."
Result file "%SystemDrive%\DriverTest\Run\Configuring_computer_settings_(possible_reboot)_00015.wtl.trace" could not be retrieved from the target machine. Error: An error occurred on the target machine while retrieving a file.
Error code: 2
Error message: Unable to open file 'C:\DriverTest\Run\Configuring_computer_settings_(possible_reboot)_00015.wtl.trace'.
[09:49:55:973]: Result Summary: Total=2, Passed=2, Failed=0, Blocked=0, Warned=0, Skipped=0
Task result status updated: Pass
Task result status updated: Pass
[09:49:55:973]: Task "Configuring computer settings (possible reboot)" completed successfully
Progress event: Current: 14, Max: 15, Message: " Task "Configuring computer settings (possible reboot)" completed successfully"
Result completed
Test process exit code: 0
Progress event: Current: 15, Max: 15, Message: "Creating system restore point"
[09:49:56:396]: Creating system restore point
[09:49:56:396]: [Creating system restore point] Command Line:
cscript.exe %SystemDrive%\DriverTest\Setup\CreateRestore.js
Task result status updated: Pass
Task result status updated: Pass
[09:49:57:196]: Task "Creating system restore point" completed successfully
Progress event: Current: 15, Max: 15, Message: " Task "Creating system restore point" completed successfully"
Result completed
Test process exit code: 0
Progress event: Current: 15, Max: 15, Message: ""
Progress event: Current: 15, Max: 15, Message: "Computer configuration log file://C:/Users/maartenw/AppData/Roaming/Microsoft/WDKTestInfrastructure/ProvisioningLogs/Driver%20Test%20Computer%20Configuration%2020210701094546791.log"
Driver test group exlorer output ###
MSI (s) (DC:A8) [00:46:28:656]: Executing op: ProductRegister(UpgradeCode={233E60F5-F799-A51B-5A8D-40B8D07B9810},VersionString=10.1.22000.1,,,,InstallSource=C:\DriverTest\Setup\,Publisher=Microsoft Corporation,,,,,,,,,,,,EstimatedSize=9970,,,,)
MSI (s) (DC:A8) [00:46:28:658]: Executing op: ProductCPDisplayInfoRegister()
MSI (s) (DC:A8) [00:46:28:660]: Executing op: ActionStart(Name=WDTFInstall_InstallIoSpyFilterDriver,,)
MSI (s) (DC:A8) [00:46:28:660]: Executing op: CustomActionSchedule(Action=WDTFInstall_InstallIoSpyFilterDriver,ActionType=1041,Source=C:\Program Files (x86)\Windows Kits\10\Testing\Runtimes\WDTF\RunTime\WDTFInstall.DLL,Target=WDTFInstallIoSpyFilterDriver,)
MSI (s) (DC:D4) [00:46:28:660]: Invoking remote custom action. DLL: C:\Program Files (x86)\Windows Kits\10\Testing\Runtimes\WDTF\RunTime\WDTFInstall.DLL, Entrypoint: WDTFInstallIoSpyFilterDriver
MSI (s) (DC:F8) [00:46:28:660]: Generating random cookie.
MSI (s) (DC:F8) [00:46:28:662]: Created Custom Action Server with PID 1236 (0x4D4).
MSI (s) (DC:EC) [00:46:28:676]: Running as a service.
MSI (s) (DC:EC) [00:46:28:678]: Hello, I'm your 64bit Impersonated custom action server.
MSI (s) (DC:A8) [00:46:28:682]: Note: 1: 1723 2: WDTFInstall_InstallIoSpyFilterDriver 3: WDTFInstallIoSpyFilterDriver 4: C:\Program Files (x86)\Windows Kits\10\Testing\Runtimes\WDTF\RunTime\WDTFInstall.DLL
CustomAction WDTFInstall_InstallIoSpyFilterDriver returned actual error code 1157 (note this may not be 100% accurate if translation happened inside sandbox)
MSI (s) (DC:A8) [00:46:28:682]: Product: Windows Driver Testing Framework (WDTF) Runtime Libraries -- Error 1723. There is a problem with this Windows Installer package. A DLL required for this install to complete could not be run. Contact your support personnel or package vendor. Action WDTFInstall_InstallIoSpyFilterDriver, entry: WDTFInstallIoSpyFilterDriver, library: C:\Program Files (x86)\Windows Kits\10\Testing\Runtimes\WDTF\RunTime\WDTFInstall.DLL
Error 1723. There is a problem with this Windows Installer package. A DLL required for this install to complete could not be run. Contact your support personnel or package vendor. Action WDTFInstall_InstallIoSpyFilterDriver, entry: WDTFInstallIoSpyFilterDriver, library: C:\Program Files (x86)\Windows Kits\10\Testing\Runtimes\WDTF\RunTime\WDTFInstall.DLL
07/01/2021 00:46:28.684 [10204]: Assembly Install: Failing with hr=80070005 at RemoveDirectoryAndChildren, line 393
07/01/2021 00:46:28.686 [10204]: Detailed info about C:\WINDOWS\assembly\tmp\03KOSV18\WDTFDeviceManagement.Interop.dll