diskperf.exe

Disk Performance Counters Utility

System UtilitySafePerformance Tools
CPU Usage
Idle when not invoked
Memory
2-10 MB
Location
C:\Windows\System32
Publisher
Microsoft Corporation

Quick Answer

diskperf.exe is a legitimate Windows utility. It enables or disables disk performance counters used by Performance Monitor to collect I/O statistics.

Is it a Virus?
✔ NO - Safe
Located in C:\Windows\System32\diskperf.exe and signed by Microsoft
Warning
Typically used by admin tools
Not an everyday user process; invoked as part of performance monitoring
Can I Disable?
✔ YES
Disabling won't remove the tool, but you can stop it from enabling counters automatically

What is diskperf.exe?

diskperf.exe is a Windows utility that controls the Disk Performance Counters used by Performance Monitor. It allows enabling or disabling the counters so you can collect disk I/O metrics for system diagnostics and capacity planning. This tool is commonly used by IT professionals to baseline storage performance and troubleshoot disk bottlenecks.

DiskPerf toggles kernel-mode I/O counters exposed as Disk/PhysicalDisk performance objects, enabling monitoring software to gather metrics like Disk Bytes/sec and Disk Transfers/sec.

Quick Fact: Disk performance counters help quantify disk I/O bottlenecks and are commonly used by admins to baseline storage performance.

Types of DiskPerf Operations

Is diskperf.exe Safe?

Yes, diskperf.exe is safe when it's the legitimate file from Microsoft located in C:\Windows\System32 and signed by Microsoft Corporation.

Is diskperf.exe a Virus or Malware?

The real diskperf.exe is NOT a virus. However, malware can masquerade with similar names. Verify the path and signature.

How to Tell if diskperf.exe is Legitimate or Malware

  1. File Location: Must be in C:\Windows\System32\diskperf.exe. Any diskperf.exe elsewhere is suspicious.
  2. Digital Signature: Right-click diskperf.exe -> Properties -> Digital Signatures. Should show "Microsoft Windows".
  3. Process Path: In Task Manager or Sysinternals Process Explorer, verify the path is C:\Windows\System32\diskperf.exe.
  4. System Integration: DiskPerf interacts with Performance Monitor; verify it is not launching unexpectedly.

Red Flags: DiskPerf files outside System32, missing digital signature, or executing without admin purpose are red flags; run antivirus and verify via sigcheck.

Why Is diskperf.exe Running on My PC?

diskperf.exe runs to manage disk I/O performance counters that PerfMon consumes. It may be invoked by admin actions or maintenance tasks.

Reasons it's running:

Can I Disable or Remove diskperf.exe?

Yes, you can disable diskperf.exe. It won't prevent Windows from starting, but it will stop counter generation until re-enabled.

How to Stop diskperf.exe

How to Uninstall or Remove diskperf

Common Problems: Disk Performance Counters

If diskperf.exe or disk counters show issues, try these fixes.

Common Causes & Solutions

Quick Fixes:
1. Open an elevated CMD and run diskperf -y
2. Reboot the computer
3. Open perfmon and add Disk and PhysicalDisk counters
4. If needed, run diskperf -n to disable and re-enable
5. Check Event Viewer for related DiskPerf events

Frequently Asked Questions

Is diskperf.exe a virus?

No, diskperf.exe is a legitimate Windows utility located in C:\Windows\System32 and signed by Microsoft Corporation.

What does diskperf.exe do?

DiskPerf enables or disables Windows Disk Performance Counters to feed Performance Monitor with disk I/O metrics.

Where is diskperf.exe located?

C:\Windows\System32\diskperf.exe. If found elsewhere, investigate for tampering.

Can I disable diskperf.exe?

Yes. Run diskperf -n to disable counters; this does not uninstall Windows.

How do I enable disk performance counters?

Open an elevated Command Prompt and run diskperf -y, then reboot. After that, use PerfMon to view Disk counters.

Why are Disk counters missing in PerfMon?

Counters may be disabled or blocked by policy. Ensure diskperf is enabled and PerfMon is configured to show Disk and PhysicalDisk objects.

Related Processes