共用方式為


使用 TSS 收集使用者體驗相關問題的資訊

本文介紹如何使用 TroubleShootingScript (TSS) 工具組收集資訊,以取得使用者體驗相關問題。

在連絡Microsoft支援之前,您可以收集問題的相關信息。

必要條件

如需工具組正確執行的必要條件,請參閱 TroubleShootingScript 工具組 (TSS) 簡介。

在連絡Microsoft支援之前收集重要資訊

  1. 下載 TSS ,並將其解壓縮到 C:\tss 資料夾中。 如果您先前已下載此工具,建議您下載最新版本。 它不會在執行時自動更新。

  2. 從提升許可權的 PowerShell 命令提示字元開啟 C:\tss 資料夾。

    注意

    請勿使用 Windows PowerShell 整合式腳本環境 (ISE)。

  3. 執行下列 Cmdlet,並針對執行原則變更輸入 「是至全部」的 A

    Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass
    

然後,根據您的問題執行下表所列的 Cmdlet。 追蹤會儲存在 C:\MS_DATA 資料夾中的壓縮檔案中。 建立支援案例之後,此檔案可以上傳至安全工作區進行分析。

問題 Cmdlet(s)
遠端桌面會話問題 .\TSS.ps1 -Scenario UEX_General -UEX_Auth -UEX_Logon
終端機伺服器授權問題 .\TSS.ps1 -UEX_RDS -Netsh -UEX_Logon -UEX_EVT -UEX_Auth -UEX_WMI -UEX_WinRM
遠端桌面會話 (RDS) 連線問題 .\TSS.ps1 -UEX_RDS -Netsh -UEX_Logon -UEX_EVT -UEX_Auth
列印問題 .\TSS.ps1 -UEX_Print -Procmon -Netsh -PSR
遠端桌面中斷連線問題 .\TSS.ps1 -CollectLog UEX_EventLog
.\TSS.ps1 -Scenario UEX_General
遠端桌面連線設定問題 .\TSS.ps1 -Scenario UEX_ServerManager -UEX_WMI -UEX_RDS -UEX_ServerManager -UEX_WinRM
WMI 問題 .\TSS.ps1 -Scenario UEX_WMIHighCPU (CPU 使用量偏高)
.\TSS.ps1 -Scenario UEX_WMI (沒有高 CPU 使用量)
遠端桌面用戶端連線問題 .\TSS.ps1 -CollectLog -UEX_Basic -UEX_RDS -UEX_WinRM -UEX_WMI
WinRM 問題 .\TSS.ps1 -Scenario UEX_WinRM
PowerShell 問題 .\TSS.ps1 -Collectlog NET_PowerShell
.\TSS.ps1 -Scenario UEX_PowerShell