diskperf
The diskperf command remotely enables or disables physical or logical disk performance counters on computers running Windows.
Syntax
diskperf [-y[d|v] | -n[d|v]] [\\computername]
Options
Option | Description |
---|---|
-y | Starts all disk performance counters when the computer restarts. |
-yd | Enables disk performance counters for physical drives when the computer restarts. |
-yv | Enables disk performance counters for logical drives or storage volumes when the computer restarts. |
-n | Disables all disk performance counters when the computer restarts. |
-nd | Disable disk performance counters for physical drives when the computer restarts. |
-nv | Disable disk performance counters for logical drives or storage volumes when the computer restarts. |
\\<computername> |
Specifies the name of the computer where you want to enable or disable disk performance counters. |
-? | Displays context sensitive help. |
Related links
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for