自托管桌面驱动程序的测试分发指南Test distribution guidance to self-host desktop drivers

硬件合作伙伴可以通过将驱动程序发布到 Windows 更新并使用测试分发,来测试操作系统升级方案。Hardware partners can test OS upgrade scenarios by publishing a driver to Windows Update and using test distribution. 在发布后,IHV/OEM 可通过配置预定义的注册表项值来配置他们的客户端系统,从而请求这些驱动程序。Once published, IHVs/OEMs can configure their client systems to request these drivers by configuring a predefined registry key value. 除了接收为进行测试而分配的驱动程序,生产驱动程序仍将提供给相同的客户端计算机。In addition to receiving drivers distributed for testing, production drivers will still be offered to the same client machine. 这将向由 Windows 更新提供的生产驱动程序列表添加预发布驱动程序。This adds prerelease drivers to the list of production drivers that will be offered from Windows Update. 此方法限制了向公众提供预发布驱动程序。This method restricts prerelease drivers from being offered to the general public.

从 Windows 10 开始,客户端系统可能会在整个 Windows 升级过程中参与接收测试分配驱动程序。Starting with Windows 10, client systems may participate in receiving test distributed drivers throughout the Windows upgrade process. 硬件合作伙伴可使用此测试分发过程测试操作系统升级方案。Hardware partners can test OS upgrade scenarios using this test distribution process.

测试分发是什么,我为什么需要它?What is test distribution, and why do I need it?

通过发布测试分发驱动程序并配置客户端系统以接收测试分配驱动程序,你可以使该系统接收在 Windows 更新上发布的所有预发布驱动程序和固件内容。By publishing drivers for test distribution and configuring client systems to receive test distributed drivers, you enable that system to receive all prerelease drivers and firmware content that are published on Windows Update. 这允许合作伙伴使用 Windows 更新向他们的测试受众发布驱动程序,而不会影响其零售消费者受众。This allows partners to publish drivers using Windows Update to their test audience without impacting their retail consumer audience.

使用测试分发发布驱动程序Publishing drivers with test distribution

可以发布适用于 Windows7、Windows8.x 和 Windows10 系统的测试分发驱动程序。Publishing drivers for test distribution can be done for Windows 7, Windows 8.x, and Windows 10 systems. 若要发布测试分发,通常只需创建发货标签,然后单击“设定目标”部分中的“测试注册表项”复选框。To publish a test distribution, simply create a shipping label as normal and click on the "Test Registry Key" checkbox in the Targeting section.

显示“测试注册表项”复选框的图像

删除针对测试分发发布的驱动程序Removing drivers published for test distribution

如何手动删除针对测试分发发布的驱动程序?How do I manually remove my driver published for test distribution?

针对测试分发发布驱动程序后,可以针对(正常)分发手动使其失效或重新发布。Once a driver has been published for test distribution it can be manually expired or re-published for (normal) distribution.

我针对测试分发发布的驱动程序持续了多长时间?How long does my driver published for test distribution last?

针对测试分发发布你的驱动程序后,过期时间设置为 14 天(从发布到 Windows 更新的时间算起)。Once you have published your driver for test distribution, the expiration time is set to 14 days from the time of publication to Windows Update. 过期后,将从 Windows 更新服务器删除测试分发驱动程序,并且不再向客户端计算机提供。Once expired, test distributed drivers are removed from the Windows Update server and are no longer available to client machines.

客户端电脑配置Client PC configuration

适用于以前版本的 Windows 的测试分发客户端配置Test distribution client configuration for previous versions of Windows

在 Windows 10 之前,旧的注册表项用于指示客户端计算机有兴趣接收测试分发驱动程序。Prior to Windows 10, a legacy registry key was used to indicate that a client machine is interested in receiving test distribution drivers. 从 Windows10 开始,将弃用此旧的注册表项,此注册表项不再起作用。Starting with Windows 10, this legacy registry key will be retired and no longer function.

要配置用于测试分发的客户端计算机(Windows7、Windows8 或 Windows8.1),你必须使用以下部分中概述的步骤来配置客户端计算机。To configure a client machine (Windows 7, Windows 8, or Windows 8.1) for test distribution, you must configure the client machine using the steps outlined in the following section.

如何配置我的计算机以接收测试分发驱动程序?How do I configure my machine to receive test distribution drivers?

配置系统以接收测试分发更新比以往更简单。Configuring a system to receive test distribution updates is easier than ever. 如果你正在测试升级到 Windows 10 的方案,请在运行 Windows 10 的测试计算机或源操作系统(Windows 8.1 或更早版本)上执行以下步骤。Follow these steps on the test machine running Windows 10, or on the source OS (Windows 8.1 or earlier) if you are testing upgrade scenarios to Windows 10.

  1. 打开 Windows 注册表编辑器 (regedit.exe)Open the Windows Registry Editor (regedit.exe)
  2. 转到 HKLM\Software\Microsoft\Go to HKLM\Software\Microsoft\
  3. 创建子项 \DriverFlighting\Partner\Create subkeys \DriverFlighting\Partner\
  4. 在 \Partner 子项下,创建名为 TargetRing 的字符串并键入 Drivers 作为值Under the \Partner subkey, create a string named TargetRing and type Drivers as the value
  5. 确保你按如下所示内容进行了设置:Make sure you have the setting as shown below:

    显示 Windows 注册表编辑器中合作伙伴子项下创建的字符串的图像

  6. 退出 Windows 注册表编辑器。Exit Windows Registry Editor. 你不需要在做出此更改后重启计算机。You do not need to restart the computer after this change.

  7. 执行下列操作之一:Do one of the following:
    • 运行 Windows 更新并检查更新。Run Windows Update and check for updates.
    • 在设备管理器中,右键单击目标设备并“更新设备软件”*In Device Manager, right click on the target device and select *Update Device Software.
  8. 验证是否按照预期提供了测试驱动程序Verify that your test driver is offered as expected

    • 如果遇到问题,请联系客户服务和支持人员。If you run into issues, contact Customer Service and Support.

      显示用于联系客户服务和支持人员的按钮的图像

如何阻止我的电脑接收测试分发驱动程序?How do I stop my PC from receiving test distribution drivers?

若要停止接收测试分发驱动程序,请删除你在先前部分中创建的“TargetRing”*注册表数据值。To stop receiving test distribution drivers, remove the *TargetRing registry data value you created in the previous section. 双击“Drivers”*数据值将其删除,然后单击“确定”Double-click on the **Drivers* data value to remove it, and then click OK. 通过执行此操作,将不再向你的客户端系统提供预发布驱动程序。By doing this, your client system will no longer be offered pre-release drivers.

注意 你的系统将继续从 Windows 更新接收所有生产驱动程序。Note Your system will continue to receive all production drivers from Windows Update.

  1. 打开 Windows 注册表编辑器 (regedit.exe)Open the Windows Registry Editor (regedit.exe)
  2. 转到 HKLM\Software\Microsoft\DriverFlighting\Partner。Go to HKLM\Software\Microsoft\DriverFlighting\Partner. 如果这些项不存在,则已完成操作,否则继续执行下一步。If these keys do not exist then you are done, otherwise continue to the next step.
  3. 在 \Partner 子项下,删除 TargetRing 的数据值Under \Partner subkey, remove the data value for TargetRing
  4. 确保设置如下所示:Make sure the setting appears as shown below:

    显示 Windows 注册表编辑器中合作伙伴子项下已删除的字符串值的图像

  5. 退出 Windows 注册表编辑器。Exit Windows Registry Editor. 你不需要在做出此更改后重新启动计算机。You do not need to restart the computer after this change.

  6. 执行下列操作之一:Do one of the following:
    • 运行 Windows 更新并检查更新Run Windows Update and check for updates
    • 在设备管理器中,右键单击目标设备并选择更新设备软件In Device Manager, right click on the target device, and select Update Device Software.

向 Microsoft 发送有关该主题的评论Send comments about this topic to Microsoft