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

Collect Data to Analyze and Troubleshoot Shell Experience Scenarios

· 52CE 我爱测

Helps gather information about your issue by using the TroubleShootingScript (TSS) toolset before contacting Microsoft support for Shell experience scenarios.

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

Prerequisites

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

Scenario: Desktop (Shell, Explorer.exe initialization, themes, colors, icons, and Recycle Bin)

TSS cmdlet

.\TSS.ps1 -Scenario PRF_UWP
.\TSS.ps1 -StartAutoLogger -Scenario PRF_UWP

TSS cmdlet description

The PRF_UWP scenario is useful for troubleshooting problems with Inbox applications (Appx or Modern apps), the Start menu, and the Shell.

For example, Universal Windows Platform (UWP) apps (such as Settings, Calculator, and Microsoft Store) don't launch or crash, AppX package registration fails, UWP apps are slow or unresponsive.

Schedule the data capture to occur after the next restart using the -StartAutoLogger option.

Scenario: Start menu

TSS cmdlet

.\TSS.ps1 -Scenario PRF_StartMenu
.\TSS.ps1 -StartAutoLogger -Scenario PRF_StartMenu

TSS cmdlet description

The PRF_StartMenu scenario is useful for troubleshooting Start menu issues, such as the Start menu not opening or responding, or pinned tiles appearing blank, missing, or broken. It also applies to cases where the Start menu crashes or closes unexpectedly, or the Search feature within the Start menu doesn't work.

Schedule the data capture to occur after the next restart using the -StartAutoLogger option.

Scenario: Search

TSS cmdlets

.\TSS.ps1 -Scenario PRF_Search
.\TSS.ps1 -StartAutoLogger -Scenario PRF_Search

TSS cmdlet description

The PRF_Search scenario is useful for troubleshooting problems like the Search bar not responding, opening, or returning no results when searching for apps, files, or settings.

You might see the Search UI crashing, freezing, or Search indexing issues, such as missing or outdated results. The Search feature might also not work in the Start menu, File Explorer, or Settings.

Schedule the data capture to occur after the next restart using the -StartAutoLogger option.

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 · Source date 02/12/2026
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

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

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