Events
29 Apr, 2 pm - 30 Apr, 7 pm
Join the ultimate Windows Server virtual event April 29-30 for deep-dive technical sessions and live Q&A with Microsoft engineers.
Sign up nowThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
The diskperf command remotely enables or disables physical or logical disk performance counters on computers running Windows.
diskperf [-y[d|v] | -n[d|v]] [\\computername]
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. |
Events
29 Apr, 2 pm - 30 Apr, 7 pm
Join the ultimate Windows Server virtual event April 29-30 for deep-dive technical sessions and live Q&A with Microsoft engineers.
Sign up now