Skip to content

Commit 5e074ed

Browse files
committed
Update troubleshoot-av-performance-issues-with-procmon.md
1 parent 877f7f0 commit 5e074ed

File tree

1 file changed

+43
-45
lines changed

1 file changed

+43
-45
lines changed

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

Lines changed: 43 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ms.reviewer: yonghree
77
manager: deniseb
88
ms.service: defender-endpoint
99
ms.topic: troubleshooting-general
10-
ms.date: 01/10/2025
10+
ms.date: 03/20/2025
1111
ms.subservice: ngp
1212
ms.localizationpriority: medium
1313
ms.collection:
@@ -31,99 +31,97 @@ ai-usage: human-only
3131

3232
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.
3333

34-
There are two ways to capture a Process Monitor (ProcMon) trace:
35-
36-
1. Using the MDE Client Analyzer
37-
38-
1. Manually
34+
You can capture a Process Monitor (ProcMon) trace by using the MDE Client Analyzer or by using a manual process.
3935

4036
### Using the MDE Client Analyzer
4137

4238
1. Download the [MDE Client Analyzer](/defender-endpoint/overview-client-analyzer).
4339

44-
1. Run the MDE Client Analyzer using [Live Response or locally](/defender-endpoint/run-analyzer-windows).
40+
2. Run the MDE Client Analyzer using [Live Response or locally](/defender-endpoint/run-analyzer-windows).
4541

4642
> [!TIP]
4743
> Before starting the trace, please make sure that the issue is reproducible. Additionally, close any applications that do not contribute to the reproduction of the issue.
4844
49-
1. Run the MDE Client Analyzer with the -c and -v switches
45+
3. Run the MDE Client Analyzer with the `-c` and `-v` switches:
5046

5147
```powershell
5248
C:\Work\tools\MDEClientAnalyzer\MDEClientAnalyzer.cmd -c -v
5349
```
5450

55-
### Manually
51+
### Manual process
5652

5753
1. Download [Process Monitor v4.01](/sysinternals/downloads/procmon) to a folder like `C:\temp`.
5854

59-
1. To remove the file's mark of the web:
55+
2. To remove the file's mark of the web:
6056

6157
1. Right-click **ProcessMonitor.zip** and select **Properties**.
6258

63-
1. Under the *General* tab, look for *Security*.
59+
2. Under the *General* tab, look for *Security*.
6460

65-
1. Check the box beside **Unblock**.
61+
3. Check the box beside **Unblock**.
6662

67-
1. Select **Apply**.
63+
4. Select **Apply**.
6864

6965
![Screenshot that shows how to remove the "Mark Of The Web" from the ProcessMonitor.zip file.](media/troubleshoot-av-performance-issues-with-procmon/processmonitor-motw.jpg)
7066

71-
1. Unzip the file in `C:\temp` so that the folder path is `C:\temp\ProcessMonitor`.
67+
3. Unzip the file in `C:\temp` so that the folder path is `C:\temp\ProcessMonitor`.
7268

73-
1. Copy **Procmon.exe** to the Windows client or Windows server you're troubleshooting.
69+
4. Copy **Procmon.exe** to the Windows client or Windows server you're troubleshooting.
7470

7571
> [!TIP]
7672
> 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.
7773
78-
1. You can launch ProcMon in two ways.
79-
1. Right-click **Procmon.exe** and select **Run as administrator**.
80-
81-
- If this is your first time using ProcMon, click **Agree** to accept the Process Monitor License Agreement.
82-
83-
![Screenshot that shows the Process Monitor License Agreement.](media/troubleshoot-av-performance-issues-with-procmon/process-monitor-license-agreement1.jpg)
84-
85-
- Since logging starts automatically, stop the capture by selecting the **Capture** button or pressing **Ctrl+E**.
86-
87-
![Screenshot that shows the button to stop the ProcMon capture.](media/troubleshoot-av-performance-issues-with-procmon/capture-button-(stop).jpg)
88-
89-
- To confirm the capture has stopped, look for a pause icon on the **Capture** button, then delete the logged entries by selecting the **Clear** button or pressing **Ctrl+X**.
90-
91-
![Screenshot that shows the button to start the ProcMon capture.](media/troubleshoot-av-performance-issues-with-procmon/capture-button-(start).jpg)
92-
93-
![Screenshot that shows the button to clear the ProcMon entries.](media/troubleshoot-av-performance-issues-with-procmon/clear-button1.jpg)
74+
5. You can launch ProcMon in two ways: using Procmon.exe or command line.
75+
76+
- To use [Procmon.exe](/sysinternals/downloads/procmon), download it, and open it as an administrator.
77+
78+
1. If this is your first time using ProcMon, click **Agree** to accept the Process Monitor License Agreement.
79+
80+
![Screenshot that shows the Process Monitor License Agreement.](media/troubleshoot-av-performance-issues-with-procmon/process-monitor-license-agreement1.jpg)
81+
82+
2. Since logging starts automatically, stop the capture by selecting the **Capture** button or pressing **Ctrl+E**.
83+
84+
![Screenshot that shows the button to stop the ProcMon capture.](media/troubleshoot-av-performance-issues-with-procmon/capture-button-(stop).jpg)
85+
86+
3. To confirm the capture has stopped, look for a pause icon on the **Capture** button, then delete the logged entries by selecting the **Clear** button or pressing **Ctrl+X**.
87+
88+
![Screenshot that shows the button to start the ProcMon capture.](media/troubleshoot-av-performance-issues-with-procmon/capture-button-(start).jpg)
89+
90+
![Screenshot that shows the button to clear the ProcMon entries.](media/troubleshoot-av-performance-issues-with-procmon/clear-button1.jpg)
9491

95-
1. Run the **command line** as admin, then from the Process Monitor path, run:
96-
92+
- To use command line, open Command Prompt as an administrator. Then, run the following command:
93+
9794
![Screenshot that shows an elevated command prompt window to run Procmon.exe.](media/troubleshoot-av-performance-issues-with-procmon/admin-cmd.jpg)
9895

9996
> [!TIP]
10097
> Make the ProcMon window as small as possible when capturing data so you can easily start and stop the trace![Screenshot showing the desktop with Procmon minimized.](media/troubleshoot-av-performance-issues-with-procmon/desktop-with-procmon-minimized.jpg)
10198
102-
1. After completing step 5, set filters by selecting the **Filter** icon. Standard filters are set by default. You can also filter the results after the capture is complete. If you applied any filters, click **Apply** and then **OK**.
99+
6. Set filters by selecting the **Filter** icon. Standard filters are set by default. You can also filter the results after the capture is complete. If you applied any filters, click **Apply** and then **OK**.
103100

104101
![Screenshot that shows how to open the Filter window.](media/troubleshoot-av-performance-issues-with-procmon/filter-button.jpg)
102+
105103
![Screenshot that shows the Filter window.](media/troubleshoot-av-performance-issues-with-procmon/process-monitor-filter.jpg)
106104

107-
1. To start the capture, select the **Capture** button again.
105+
7. To start the capture, select the **Capture** button again.
108106

109-
1. Reproduce the problem.
107+
8. Reproduce the problem.
110108

111109
> [!TIP]
112110
> Wait for the problem to be reproduced, then note the timestamp when the trace begins.
113111
114-
1. After capturing two to four minutes of process activity during high CPU usage, stop the capture by clicking the **Capture** button.
112+
9. After capturing two to four minutes of process activity during high CPU usage, stop the capture by clicking the **Capture** button.
115113

116-
1. 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)**.
114+
10. 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)**.
117115

118116
![Screenshot showing the save settings page.](media/troubleshoot-av-performance-issues-with-procmon/save-to-file.jpg)
119117

120-
1. For better tracking, change the default path from `C:\temp\ProcessMonitor\LogFile.PML` to `C:\temp\ProcessMonitor\%ComputerName%_LogFile_MMDDYEAR_Repro_of_issue.PML` where:
118+
11. For better tracking, change the default path from `C:\temp\ProcessMonitor\LogFile.PML` to `C:\temp\ProcessMonitor\%ComputerName%_LogFile_MMDDYEAR_Repro_of_issue.PML` where:
121119

122-
- `%ComputerName%` is the device name
123-
- `MMDDYEAR` is the month, day, and year
124-
- `Repro_of_issue` is the name of the issue you're trying to reproduce
120+
- `%ComputerName%` is the device name
121+
- `MMDDYEAR` is the month, day, and year
122+
- `Repro_of_issue` is the name of the issue you're trying to reproduce
125123

126-
> [!TIP]
127-
> If you have a working system, you might want to get a sample log to compare.
124+
> [!TIP]
125+
> If you have a working system, you might want to get a sample log to compare.
128126
129-
1. Zip the `.pml` file and submit it to Microsoft Support.
127+
12. Zip the `.pml` file and submit it to Microsoft Support.

0 commit comments

Comments
 (0)