Windows 10 WDK计算机配置错误

时间:2018-11-30 03:28:00

标签: windows driver provisioning wdk

我对驱动程序开发还很陌生,但是我目前在主机和目标计算机上都使用了最新版本的Visual Studio和Windows 10。我正在尝试为目标计算机设置配置,以便可以测试自己制作的驱动程序!但是,我遇到了问题...每次尝试添加目标计算机来设置配置时,都会出现此错误(驱动程序->测试->配置设备->添加新设备)。我的计算机主机名正确(我可以执行“ ping PCNAME”操作,并且工作正常)。 Visual Studio,WDK和Windows 10 SDK均在两台计算机上运行。我已经完全阅读了有关如何配置计算机(https://docs.microsoft.com/en-us/windows-hardware/drivers/gettingstarted/provision-a-target-computer-wdk-8-1)的Microsoft指南,并完成了所有说明。我已经完全关闭了防火墙。每次我遇到错误都会尝试设置配置

  Name: Install Driver Test Components
  Path: C:\Users\Ztowne13\AppData\Roaming\Microsoft\WDKTestInfrastructure\InfrastructureTaskGroups\Install Driver Test Components.xml
  Target Computer: New Computer
Install Driver Test Components: Host Computer: DESKTOP-5S0AEBO
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.17134.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"
[19:24:24:121]: Copying required files
[19:24:24:539]: Task "Copying required files" was aborted because an unexpected error occured during execution.

None of the discovered or specified addresses match the socket address family.
Parameter name: context
Progress event: Current: 1, Max: 15, Message: "    Task "Copying required files" was aborted because an unexpected error occured during execution.

None of the discovered or specified addresses match the socket address family.
Parameter name: context"
Task result status updated: Aborted
Result completed
Test process exit code: 0
[19:24:24:543]: None of the discovered or specified addresses match the socket address family.
Parameter name: context
Progress event: Current: 1, Max: 15, Message: "None of the discovered or specified addresses match the socket address family.
Parameter name: context"
Progress event: Current: 1, Max: 15, Message: "Computer configuration log file://C:/Users/Ztowne13/AppData/Roaming/Microsoft/WDKTestInfrastructure/ProvisioningLogs/Driver%20Test%20Computer%20Configuration%2020181129192424070.log"

如果您好奇的话,此文件是最后建议的配置日志。

我不知道为什么这不能正常工作,并且我无法配置计算机,非常感谢您的帮助...

1 个答案:

答案 0 :(得分:2)

好吧...我解决了。我所做的只是在目标计算机上键入ipconfig,并将IP(10.0.0.X)放置在计算机名称(DESKTOP-TESTPC)的“网络主机名”类别中,尽管Microsoft的文章说要放置PC名称而不是本地IP。