OOKNET [ / search the index ]
──────────────────────────────────────────────────────────────────────────────────────
[ KB ] [ GIT ] [ PROJECTS ] [ ABOUT ]
══════════════════════════════════════════════════════════════════════════════════════
OOKNET [ / search ]
────────────────────────────────────────────────
[ KB ] [ GIT ] [ PROJECTS ] [ ABOUT ]
════════════════════════════════════════════════
OOKNET KB SOURCE: MICROSOFT LEARN DEPT. OF OOKS 2026-04-25 ──────────────────────────────────────────────────────────────────────────────────────
OOKNET KB SOURCE: MICROSOFT LEARN DEPT. OF OOKS 2026-04-25 ────────────────────────────────────────────────
┌────────────────────────────────────────────┐
│ REFERENCE COPY │
│ COLLECT DATA TO ANALYZE AND TROUBLESHOOT │
│ PERFORMANCE SCENARIOS │
└────────────────────────────────────────────┘ ┌──────────────────────────────────────┐
│ REFERENCE COPY │
│ COLLECT DATA TO ANALYZE AND │
│ TROUBLESHOOT PERFORMANCE SCENARIOS │
└──────────────────────────────────────┘ This article helps gather information about your issue by using the TroubleShootingScript (TSS) toolset before contacting Microsoft support.
Refer to Introduction to TroubleShootingScript toolset (TSS) for prerequisites for the toolset to run properly.
TSS.ps1 -SDP Perf
TSS.ps1 -SDP Perf
Use this cmdlet when your server or client has a performance issue, slow startup, or a bug check (also known as bluescreen).
.\TSS.ps1 -Scenario PRF_General
.\TSS.ps1 -Scenario PRF_General
The PRF_General scenario can be useful if you experience unexplained performance degradation across multiple components, or intermittent issues that are hard to reproduce or isolate. You might experience multi-symptom scenarios involving CPU, memory, disk, or user interface (UI) responsiveness. This scenario is also useful if you're unsure which specific performance scenario applies.
Switch to the high CPU cmdlet if you know that the high CPU is the problem.
.\TSS.ps1 -Scenario PRF_UWP
.\TSS.ps1 -Scenario PRF_UWP
.\TSS.ps1 -set crashmode
.\TSS.ps1 -set crashmode
.\TSS.ps1 -Scenario PRF_UWP -crash
.\TSS.ps1 -Scenario PRF_UWP -crash
.\TSS.ps1 -StartAutoLogger -Scenario PRF_UWP -crash
.\TSS.ps1 -StartAutoLogger -Scenario PRF_UWP
-crash
If the black screen after logon lasts less than five minutes, run the scenario and optionally collect a dump file if the delay is long enough to ensure the issue is captured. If the duration exceeds five minutes, stop the reproduction at five minutes and allow the data collection and dump capture to occur.
Before the dump capture, make sure to enable a complete dump collection using the -crashmode option, and then run the scenario with the -crash flag.
Use the -StartAutoLogger parameter to schedule the data capture after the next restart.
.\TSS.ps1 -set wer
.\TSS.ps1 -set wer
.\TSS.ps1 -Scenario PRF_General
.\TSS.ps1 -Scenario PRF_General
If an application crashes, ensure the system is configured to capture complete user dumps (-set wer) and then capture and upload them for analysis.
Use the PRF_General scenario to gather more information on the system.
.\TSS.ps1 -Scenario PRF_General
.\TSS.ps1 -Scenario PRF_General
The PRF_General scenario is ideal for multi-symptom scenarios involving CPU, memory, disk, or UI responsiveness or where you're unsure which specific performance scenario applies.
.\TSS.ps1 -Scenario PRF_Boot
.\TSS.ps1 -StartAutoLogger -Scenario PRF_Boot
.\TSS.ps1 -Scenario PRF_Boot
.\TSS.ps1 -StartAutoLogger -Scenario PRF_Boo
t
The PRF_Boot scenario is used to collect diagnostic data related to boot-time performance issues on Windows systems. Examples include slow boot times, black screens during or after boot and missing or delayed services at startup.
Use the -StartAutologger switch to schedule data collection after the next restart.
.\TSS.ps1 -Scenario PRF_Perflib
.\TSS.ps1 -Scenario PRF_Perflib
The PRF_Perflib scenario is useful for troubleshooting problems like missing or corrupted performance counters or where Performance Monitor (PerfMon) shows blank or incomplete data.
Your applications might fail to retrieve performance data, or you see high CPU usage or memory leaks linked to perflib.dll, or event log errors like:
────────────────────────────────────────────────────────────────────────────────────── OOKNET
──────────────────────────────────────────────── OOKNET