V
Vinay Hasyagar
Guest
Hi,
I tried to deploy a UMDF driver template by following the document docs.microsoft.com/en-us/windows-hardware/drivers/gettingstarted/writing-a-umdf-driver-based-on-a-template and also I followed each and every steps of docs.microsoft.com/en-us/windows-hardware/drivers/gettingstarted/provision-a-target-computer-wdk-8-1 . But while setting the target device I got the error "ERROR: Task "Configuring kernel debugger settings (possible reboot)" failed to complete successfully". But I could able to add the target device in my host machine for deployment. Both host and target machines are running on windows 10 1903 and also same WDK versions are installed. Also, I ran WDK Test Target Setup MSI on target machine. When I tried to debug the driver from my host machine after adding my target machine in "Configure Devices" I got the following error.
Deploying driver files for project "C:\VS\UMDF 2 Driver1\UMDF 2 Driver1\UMDF 2 Driver1.vcxproj". Deployment may take a few minutes...
[12:31:59:454]: Gathering kernel debugger settings
[12:31:59:454]: Removing any existing files from test execution folder.
[12:31:59:473]: Copying required files for "Gathering kernel debugger settings".
[12:31:59:553]: An error occured while deploying files to the target machine for test "Gathering kernel debugger settings": Could not find a part of the path 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Redist\MSVC\14.24.28127\debug_nonredist\X64\Microsoft.VC141.DebugCRT'..
[12:31:59:554]: ERROR: Task "Gathering kernel debugger settings" failed to complete successfully. Look at the logs in the driver test group explorer for more details on the failure.
Gathering kernel debugger settings from the target machine failed.
Continue reading...
I tried to deploy a UMDF driver template by following the document docs.microsoft.com/en-us/windows-hardware/drivers/gettingstarted/writing-a-umdf-driver-based-on-a-template and also I followed each and every steps of docs.microsoft.com/en-us/windows-hardware/drivers/gettingstarted/provision-a-target-computer-wdk-8-1 . But while setting the target device I got the error "ERROR: Task "Configuring kernel debugger settings (possible reboot)" failed to complete successfully". But I could able to add the target device in my host machine for deployment. Both host and target machines are running on windows 10 1903 and also same WDK versions are installed. Also, I ran WDK Test Target Setup MSI on target machine. When I tried to debug the driver from my host machine after adding my target machine in "Configure Devices" I got the following error.
Deploying driver files for project "C:\VS\UMDF 2 Driver1\UMDF 2 Driver1\UMDF 2 Driver1.vcxproj". Deployment may take a few minutes...
[12:31:59:454]: Gathering kernel debugger settings
[12:31:59:454]: Removing any existing files from test execution folder.
[12:31:59:473]: Copying required files for "Gathering kernel debugger settings".
[12:31:59:553]: An error occured while deploying files to the target machine for test "Gathering kernel debugger settings": Could not find a part of the path 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Redist\MSVC\14.24.28127\debug_nonredist\X64\Microsoft.VC141.DebugCRT'..
[12:31:59:554]: ERROR: Task "Gathering kernel debugger settings" failed to complete successfully. Look at the logs in the driver test group explorer for more details on the failure.
Gathering kernel debugger settings from the target machine failed.
Continue reading...