Skip to content

Commit 9ca1254

Browse files
committed
edits
1 parent 667e04c commit 9ca1254

File tree

1 file changed

+17
-21
lines changed

1 file changed

+17
-21
lines changed

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

Lines changed: 17 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,7 @@ ai-usage: human-only
2323

2424
## Capture process logs using Process Monitor
2525

26-
Process Monitor (ProcMon) is an advanced monitoring tool that can show real-time processes. You can use this tool to capture the performance issue (e.g. high cpu) as it is occurring.
27-
28-
This is also especially useful when troubleshooting various application compatibility scenarios.
26+
Process Monitor (ProcMon) is an advanced monitoring tool that provides real-time data on processes. It can be used to capture performance issues, such as high CPU usage, and to monitor application compatibility scenarios as they occur.
2927

3028
There are two ways to capture a Process Monitor (ProcMon) trace:
3129

@@ -40,9 +38,9 @@ There are two ways to capture a Process Monitor (ProcMon) trace:
4038
1. Run the MDE Client Analyzer using [Live Response or locally ](/defender-endpoint/run-analyzer-windows)
4139

4240
> [!TIP]
43-
> Before starting the trace, please make sure that the issue is reproducing. And have as many apps closed that do not contribute to the repro.
41+
> Before starting the trace, please make sure that the issue is reporducible. Additionally, close any applications that do not contribute to the reproduction of the issue.
4442
45-
3. Run the MDE Client Analyzer with the -c and -v switches
43+
1. Run the MDE Client Analyzer with the -c and -v switches
4644

4745

4846

@@ -71,17 +69,18 @@ C:\Work\tools\MDEClientAnalyzer\MDEClientAnalyzer.cmd -c -v
7169

7270
1. Copy **ProcMon.exe** to the Windows client or Windows server you're troubleshooting.
7371

74-
1. Before running ProcMon, make sure all other applications not related to the high CPU usage issue are closed. Taking this step helps to minimize the number of processes to check.
72+
> [!TIP]
73+
> Before running ProcMon, make sure all other applications not related to the high CPU usage issue are closed. Taking this step helps to minimize the number of processes to check.
7574
7675
1. You can launch ProcMon in two ways.
7776

7877
1. Right-click **ProcMon.exe** and select **Run as administrator**.
7978

80-
Since logging starts automatically, select the magnifying glass icon to stop the current capture or use the keyboard shortcut **Ctrl+E**.
79+
Since logging starts automatically, stop the capture by selecting the magnifying glass icon or pressing **Ctrl+E**.
8180

8281
![Screenshot showing the magnifying glass icon.](media/procmon-magglass.png)
8382

84-
To verify that you've stopped the capture, check if the magnifying glass icon now appears with a red X.
83+
To confirm the capture has stopped, look for a red X on the magnifying glass icon.
8584

8685
![Screenshot showing a red slash.](media/procmon-magglass-stop.png)
8786

@@ -91,7 +90,7 @@ C:\Work\tools\MDEClientAnalyzer\MDEClientAnalyzer.cmd -c -v
9190

9291
Or use the keyboard shortcut **Ctrl+X**.
9392

94-
1. The second way is to run the **command line** as admin, then from the Process Monitor path, run:
93+
1. Run the **command line** as admin, then from the Process Monitor path, run:
9594

9695
![Screenshot showing the cmd procmon.](media/cmd-procmon.png)
9796

@@ -102,27 +101,25 @@ C:\Work\tools\MDEClientAnalyzer\MDEClientAnalyzer.cmd -c -v
102101
Procmon.exe /AcceptEula /Noconnect /Profiling
103102
```
104103
105-
**Tip**
106-
107-
Make the ProcMon window as small as possible when capturing data so you can easily start and stop the trace.
104+
> [!TIP]
105+
> Make the ProcMon window as small as possible when capturing data so you can easily start and stop the trace.
108106
109107
![Screenshot showing the page with Procmon minimized.](media/procmon-minimize.png)
110108
111-
1. After following one of the procedures in step 6, you'll next see an option to set filters. Select **OK**. You can always filter the results after the capture is completed.
109+
1. After completing step 6, set filters by selecting **OK**. You can filter the results after the capture is complete.
112110
113111
![Screenshot showing the page where System Exclude is chosen as the Filter out Process Name.](media/procmon-filter-options.png)
114112
115113
1. To start the capture, select the magnifying glass icon again.
116114
117115
1. Reproduce the problem.
118116
119-
**Tip**
117+
> [!TIP]
118+
> Wait for the problem to be reproduced, then note the timestamp when the trace begins.
120119
121-
Wait for the problem to be fully reproduced, then take note of the timestamp when the trace started.
120+
1. After capturing two to four minutes of process activity during high CPU usage, stop the capture by clicking the magnifying glass icon.
122121
123-
1. Once you have two to four minutes of process activity during the high CPU usage condition, stop the capture by selecting the magnifying glass icon.
124-
125-
1. To save the capture with a unique name and with the `.pml` format, select **File** then select **Save...**. Make sure to select the radio buttons **All events** and **Native Process Monitor Format (PML)**.
122+
2. To save the capture with a unique name in the `.pml` format, go to **File** then click **Save...**. Ensure you select the radio buttons **All events** and **Native Process Monitor Format (PML)**.
126123
127124
![Screenshot showing the save settings page](media/procmon-savesettings1.png)
128125
@@ -132,9 +129,8 @@ Wait for the problem to be fully reproduced, then take note of the timestamp whe
132129
- `MMDDYEAR` is the month, day, and year
133130
- `Repro_of_issue` is the name of the issue you're trying to reproduce
134131
135-
**Tip**
136-
137-
If you have a working system, you might want to get a sample log to compare.
132+
> [!TIP]
133+
> If you have a working system, you might want to get a sample log to compare.
138134
139135
1. Zip the `.pml` file and submit it to Microsoft support.
140136

0 commit comments

Comments
 (0)