Scripting the Configuration of MPIO Timer Values

Applies To: Windows Server 2008 R2

This section includes basic Windows PowerShellâ„¢ commands that you can use to script the configuration of MPIO timer values when consistency is required across a group of deployed servers.


When changing these settings via the registry, you must restart the computer for the changes to take effect.


These registry keys pertain to timers that are used with the Microsoft device-specific module (DSM). To change registry keys that are specific to third-party vendor DSMs, contact the DSM vendor.

Value or query Registry key

List the value configured for PathVerificationPeriod

(get-itemproperty "HKLM:\System\CurrentControlSet\Services\MSDSM\Parameters").PathVerificationPeriod

List the MPIO Path Verification Period Value

Use this value only if Path Verify is enabled.

(get-itemproperty "HKLM:\System\CurrentControlSet\Services\MSDSM\Parameters").PathVerificationPeriod

List the PDO Removal Period

(get-itemproperty "HKLM:\System\CurrentControlSet\Services\MSDSM\Parameters").PDORemovePeriod

Query the Retry Count

(get-itemproperty "HKLM:\System\CurrentControlSet\Services\MSDSM\Parameters").RetryCount

Query the Retry Interval setting

(get-itemproperty "HKLM:\System\CurrentControlSet\Services\MSDSM\Parameters").RetryInterval


To set registry values, you must run Windows PowerShell with administrator privileges.

Set the Retry Interval

set-itemproperty -path "HKLM:\System\CurrentControlSet\Services\MSDSM\Parameters" -name RetryInterval -value 3