Windows 10 WDK 计算机配置错误

标签 windows driver provisioning wdk

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

  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"

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

我不知道为什么这不起作用,而且我无法配置我的计算机,任何帮助将不胜感激......谢谢!

最佳答案

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

关于Windows 10 WDK 计算机配置错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53550811/

相关文章:

c# - Windows 进程的退出代码错误(C#/C++/等)?

c++ - 无法在 Windows 上将 SDL 与 MinGW 一起使用

macos - CH34x 驱动程序/kext 安装 OSX Sierra

windows - REG EXPORT HKLM\System\CurrentControlSet - Windows 上出现错误

c - 如何显示来自驱动程序的弹出消息框(内核模式)?

windows - 安装 CPAN 模块时出现问题

php - 如何让 php_http 扩展在 Windows 的 PHP 5.4 版上工作?

ruby - 如果不是插件,请明确指定 Vagrantfile 路径

postgresql - SLS 中的 ID 不是字典

ios 企业 : provisioning profile and certificate expiration - when will App stop to work?