大网数据广告活动
启动与系统组件

Collect Data to Analyze and Troubleshoot Windows Servicing, Updates, and Features on Demand Scenarios

· 52CE 我爱测

Helps gather information about your issue by using the TroubleShootingScript (TSS) toolset before contacting Microsoft support for Windows servicing, Updates, and Features on Demand scenarios.

This article helps gather information about your issue by using the Trouble Shooting Script (TSS) toolset before contacting Microsoft support.

Prerequisites

Refer to Introduction to TroubleShootingScript toolset (TSS) for prerequisites for the toolset to run properly.

Scenario: Failures to install Windows Updates or Features on Demand

TSS cmdlet

.\TSS.ps1 -CollectLog DND_SETUPReport

TSS cmdlet description

Use this scenario when Windows Updates fail to install due to unknown errors. The DND_SETUPReport collects detailed logs, including component-based servicing (CBS), Windows Update, and servicing logs, to help identify root causes such as component corruption, servicing stack issues, or policy misconfigurations.

Scenario: Installing or upgrading Windows

TSS cmdlet

.\TSS.ps1 -CollectLog DND_SETUPReport

TSS cmdlet description

Use this cmdlet when the installation or upgrade of Windows fails or behaves unexpectedly. This scenario captures setup logs, compatibility checks, and rollback diagnostics to help troubleshoot setup failures or upgrade blocks.

Scenario: Windows Update configuration, settings, and management

TSS cmdlet

.\TSS.ps1 -CollectLog DND_SETUPReport

TSS cmdlet description

Use this cmdlet to gather logs related to Windows Update configuration, including registry settings, policy enforcement, and update agent behavior. It helps diagnose issues such as update deferrals, group policy conflicts, or misapplied settings.

Scenario: Clients missing updates, updates not offered, or failing to download updates

TSS cmdlet

.\TSS.ps1 -CollectLog DND_SETUPReport

TSS cmdlet description

Ideal for scenarios where clients aren't receiving updates, updates aren't being offered, or update downloads fail. The collected logs include Delivery Optimization (DO), Windows Update agent, and network traces to pinpoint issues like misconfigured DO policies or firewall blocks.

Source: Microsoft Learn / IT Pro troubleshooting by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / IT Pro troubleshooting
适用范围
- Supported versions of Windows Client - Supported versions of Windows Server · Source date 02/12/2026
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。