Edit

Share via


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.

Additional resources

Events

Windows Server Summit

Apr 29, 2 PM - Apr 30, 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