Skip to content

Commit 36a0493

Browse files
committed
Additional edits
1 parent c43ea3a commit 36a0493

File tree

1 file changed

+32
-36
lines changed

1 file changed

+32
-36
lines changed

defender-endpoint/troubleshoot-av-performance-issues-with-wprui.md

Lines changed: 32 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ms.author: ewalsh
66
ms.reviewer: yongrhee
77
ms.service: defender-endpoint
88
ms.topic: troubleshooting-general
9-
ms.date: 01/06/2025
9+
ms.date: 01/08/2025
1010
ms.subservice: ngp
1111
manager: deniseb
1212
ms.localizationpriority: medium
@@ -23,48 +23,46 @@ ms.custom:
2323

2424
## Capture performance logs using Windows Performance Recorder
2525

26-
You can use Windows Performance Recorder (WPR) to include additional information in your submission to Microsoft support. WPR is a powerful recording tool that creates Event Tracing for Windows recordings.
26+
Windows Performance Recorder (WPR) is a powerful recording tool that creates Event Tracing for Windows recordings and allows you to include additional information in your submission to Microsoft support.
2727

2828
WPR is part of the Windows Assessment and Deployment Kit (Windows ADK) and can be downloaded from [Download and install the Windows ADK](/windows-hardware/get-started/adk-install). You can also download it as part of the Windows 10 Software Development Kit at [Windows 10 SDK](https://developer.microsoft.com/windows/downloads/windows-10-sdk/).
2929

30-
You can use the WPR user interface by following the steps in [Capture performance logs using the WPR UI](/editor/MicrosoftDocs/defender-docs-pr/defender-endpoint%2Ftroubleshoot-performance-issues.md/main/ae28f1cf-14bc-fb9c-5f0c-873a683e907c/?branch=main&branchFallbackFrom=main%2C).
31-
32-
Alternatively, you can also use the command-line tool *wpr.exe*, which is available in Windows 8 and later versions by following the steps in [Capture performance logs using the WPR CLI](/editor/MicrosoftDocs/defender-docs-pr/defender-endpoint%2Ftroubleshoot-performance-issues.md/main/ae28f1cf-14bc-fb9c-5f0c-873a683e907c/?branch=main&branchFallbackFrom=main%2C).
30+
Alternatively, follow the steps in [Capture performance logs using the WPR UI](/editor/MicrosoftDocs/defender-docs-pr/defender-endpoint%2Ftroubleshoot-performance-issues.md/main/ae28f1cf-14bc-fb9c-5f0c-873a683e907c/?branch=main&branchFallbackFrom=main%2C), or use the command-line tool *wpr.exe* [Capture performance logs using the WPR CLI](/editor/MicrosoftDocs/defender-docs-pr/defender-endpoint%2Ftroubleshoot-performance-issues.md/main/ae28f1cf-14bc-fb9c-5f0c-873a683e907c/?branch=main&branchFallbackFrom=main%2C). Both are available in Windows 8 and later versions.
3331

3432
### Capture performance logs using the WPR UI
3533

3634
> [!TIP]
37-
> If multiple devices are experiencing this issue, use the one which has the most RAM.
35+
> If multiple devices are experiencing this issue, try using the one with the most RAM.
3836
3937
1. Download and install WPR.
4038

41-
2. Under *Windows Kits*, right-click **Windows Performance Recorder**.
39+
1. Under *Windows Kits*, right-click **Windows Performance Recorder**.
4240

4341
![Screenshow showing the Start menu](media/wpr-01.png)
4442

4543
Select **More**. Select **Run as administrator**.
4644

47-
3. When the User Account Control dialog box appears, select **Yes**.
45+
1.Right-click **Yes** when the User Account Control dialog box appears.
4846

4947
![Screenshot showing the UAC page.](media/wpt-yes.png)
5048

51-
4. Next, download the [Microsoft Defender for Endpoint analysis](https://github.com/YongRhee-MDE/Scripts/blob/master/MDAV.wprp) profile and save as `MDAV.wprp` to a folder like `C:\temp`.
49+
2. Next, download the [Microsoft Defender for Endpoint analysis](https://github.com/YongRhee-MDE/Scripts/blob/master/MDAV.wprp) profile and save as `MDAV.wprp` to a folder such as `C:\temp`.
5250

53-
5. On the WPR dialog box, select **More options**.
51+
3. In the WPR dialog box, select **More options**.
5452

5553
![Screenshot showing the page where you can select more options](media/wpr-03.png)
5654

57-
6. Select **Add Profiles...** and browse to the path of the `MDAV.wprp` file.
55+
4. Select **Add Profiles...** and browse to the path of the `MDAV.wprp` file.
5856

59-
7. After that, you should see a new profile set under *Custom measurements* named *Microsoft Defender for Endpoint analysis* underneath it.
57+
5. A new profile named Microsoft Defender for Endpoint analysis should appear under Custom measurements.
6058

6159
![Screenshot showing the in-file.](media/wpr-infile.png)
6260

6361
> [!WARNING]
64-
> If your Windows Server has 64 GB of RAM or more, use the custom measurement `Microsoft Defender for Endpoint analysis for large servers` instead of `Microsoft Defender for Endpoint analysis`. Otherwise, your system could consume a high amount of non-paged pool memory or buffers which can lead to system instability. You can choose which profiles to add by expanding **Resource Analysis**.
62+
> If your Windows Server has 64 GB of RAM or more, use the custom measurement `Microsoft Defender for Endpoint analysis for large servers` instead of `Microsoft Defender for Endpoint analysis`. Otherwise, your system consumes a high amount of non-paged pool memory or buffers, leading to system instability. Explore **Resource Analysis** to choose profiles to add.
6563
> This custom profile provides the necessary context for in-depth performance analysis.
6664
67-
8. To use the custom measurement Microsoft Defender for Endpoint verbose analysis profile in the WPR UI:
65+
6. To use the custom measurement Microsoft Defender for Endpoint verbose analysis profile in the WPR UI:
6866

6967
1. Ensure no profiles are selected under the *First-level triage*, *Resource Analysis* and *Scenario Analysis* groups.
7068

@@ -77,38 +75,36 @@ Select **More**. Select **Run as administrator**.
7775
5. Select **File** or **Memory** under Logging mode.
7876

7977
> [!IMPORTANT]
80-
> You should select *File* to use the file logging mode if the performance issue can be reproduced directly by the user. Most issues fall under this category. However, if the user cannot directly reproduce the issue but can easily notice it once the issue occurs, the user should select *Memory* to use the memory logging mode. This ensures that the trace log will not inflate excessively due to the long run time.
78+
> Select **File** to use the file logging mode if you can directly reproduce the performance issue. Most issues fall under this category. However, if you cannot directly reproduce the issue, select Memory to use the memory logging mode. This prevents the trace log from inflating excessively due to long run times.
8179
82-
9. Now you're ready to collect data. Exit all the applications that aren't relevant to reproducing the performance issue. You can select **Hide options** to keep the space occupied by the WPR window small.
80+
7. Now you're ready to collect data. Close all unnecessary applications. Click **Hide options** to keep the space occupied by the WPR window small.
8381

8482
![Screenshot showing the Hide options.](media/wpr-08.png)
8583

86-
10. Select **Start**.
84+
8. Select **Start**.
8785

8886
![Screenshot showing the Record system information page.](media/wpr-09.png)
8987

90-
11. Reproduce the issue.
88+
9. Reproduce the issue.
9189

9290
> [!TIP]
93-
> Keep the data collection to no more than five minutes. Two to three minutes is a good range since a lot of data is being collected.
91+
> Limit the data collection to a maximum of five minutes. Ideally, aim for two to three minutes, as a significant amount of data is being collected.
9492
95-
12. Select **Save**.
93+
10. Select **Save**.
9694

9795
![Screenshot showing the Save option.](media/wpr-10.png)
9896

99-
13. Fill up **Type in a detailed description of the problem:** with information about the problem and how you reproduced the issue.
97+
11. Fill in **Type in a detailed description of the problem:** with information about the problem and how you reproduced the issue.
10098

10199
![Screenshot showing the pane in which you fill.](media/wpr-12.png)
102100

103-
1. Select **File Name:** to determine where your trace file is saved. By default, it's saved to `%user%\Documents\WPR Files\`.
101+
12. Select **File Name:** to determine where your trace file is saved. By default, it's saved to `%user%\Documents\WPR Files\`.
104102

105103
1. Select **Save**.
106104

107-
14. Wait while the trace is being merged.
108-
109105
![Screenshot showing the WPR gathering general trace.](media/wpr-13.png)
110106

111-
15. Once the trace is saved, select **Open folder**.
107+
13. After the trace has been merged and saved, right-click **Open folder**.
112108

113109
![Screenshot that displays the notification that WPR trace has been saved.](media/wpr-14.png)
114110

@@ -118,15 +114,15 @@ Select **More**. Select **Run as administrator**.
118114

119115
### Capture performance logs using the WPR CLI
120116

121-
The command-line tool *wpr.exe* is part of the operating system starting with Windows 8. To collect a WPR trace using the command-line tool wpr.exe:
117+
To collect a WPR trace using the command-line tool wpr.exe:
122118

123-
1. Download **[Microsoft Defender for Endpoint analysis](https://github.com/YongRhee-MDE/Scripts/blob/master/MDAV.wprp)** profile for performance traces to a file named `MDAV.wprp` in a local directory such as `C:\traces`.
119+
1. Download **[Microsoft Defender for Endpoint analysis](https://github.com/YongRhee-MDE/Scripts/blob/master/MDAV.wprp)** performance trace profile as `MDAV.wprp` in a local directory such as `C:\traces`.
124120

125-
2. Right-click the **Start Menu** icon and select **Windows PowerShell (Admin)** or **Command Prompt (Admin)** to open an Admin command prompt window.
121+
1. Right-click the **Start Menu** icon and select **Windows PowerShell (Admin)** or **Command Prompt (Admin)** to open an Admin command prompt window.
126122

127-
3. When the User Account Control dialog box appears, select **Yes**.
123+
1. Select **Yes** in the User Account Control dialog box.
128124

129-
4. At the elevated prompt, run the following command to start a Microsoft Defender for Endpoint performance trace:
125+
1. At the **Command Prompt (Admin)**, run the following command to start a Microsoft Defender for Endpoint performance trace:
130126

131127
```console
132128
@@ -135,22 +131,22 @@ The command-line tool *wpr.exe* is part of the operating system starting with Wi
135131
```
136132

137133
> [!WARNING]
138-
> If your Windows Server has 64 GB or RAM or more, use profiles `WDForLargeServers.Light` and `WDForLargeServers.Verbose` instead of profiles `WD.Light` and `WD.Verbose`, respectively. Otherwise, your system could consume a high amount of non-paged pool memory or buffers which can lead to system instability.
134+
> If your Windows Server has 64 GB of RAM or more, use profiles `WDForLargeServers.Light` and `WDForLargeServers.Verbose` instead of profiles `WD.Light` and `WD.Verbose`, respectively. Otherwise, your system consumes a high amount of non-paged pool memory or buffers, leading to system instability.
139135
140-
5. Reproduce the issue.
136+
1. Reproduce the issue.
141137

142138
> [!TIP]
143-
> Keep the data collection no to more than five minutes. Depending on the scenario, two to three minutes is a good range since a lot of data is being collected.
139+
> Limit the data collection to a maximum of five minutes. Ideally, aim for two to three minutes, as a significant amount of data is being collected.
144140
145-
6. At the elevated prompt, run the following command to stop the performance trace, making sure to provide information about the problem and how you reproduced the issue:
141+
1. At the **Command Prompt (Admin)**, run the following command to start a Microsoft Defender for Endpoint performance trace:
146142

147143
```console
148144
wpr.exe -stop merged.etl "Timestamp when the issue was reproduced, in HH:MM:SS format" "Description of the issue" "Any error that popped up"
149145
```
150146

151-
7. Wait until the trace is merged.
147+
1. Wait until the trace is merged.
152148

153-
8. Include both the file and the folder in your submission to Microsoft support.
149+
1. Include both the file and the folder in your submission to Microsoft support.
154150

155151
## See also
156152

0 commit comments

Comments
 (0)