The MPIO (Multi-Path Input/Output) technology provides high availability and load balancing when multiple physical or logical paths are available to a storage device, such as SAN, NAS, iSCSI, or Fibre Channel. Redundant physical components (switches, cables, adapters, storage controllers, or network interfaces) are used to create additional paths between the server and the storage system. MPIO presents these multiple paths to the storage as a single logical path. In this article, we’ll look at how to enable and configure MPIO on Windows Server.
number of paths to the LUN × number of presented LUNsThe following screenshot shows that, without MPIO configured, Windows discovers two disks through different paths even though they are actually the same LUN. You can list the disks detected by Windows using the Get-Disk cmdlet.
When MPIO is enabled, the OS recognizes each presented disk as a single device, regardless of the number of available paths. The server can access storage through multiple paths, improving access performance to the LUN and allowing multiple network or HBA adapters to be used simultaneously.
If one or more components fail, MPIO can automatically switch to an alternative logical path, forcing the operating system to access the LUN via a redundant route while maintaining continuous access to data. This makes MPIO an important component of a highly available storage architecture. Its DSM modules can also distribute the I/O load across multiple paths to the same LUN.
How to Install MPIO Feature on Windows Server
Windows Server has supported multipath I/O (MPIO) since Windows Server 2008 R2, and the feature is available in all subsequent versions, including Windows Server 2022 and 2025.
By default, the MPIO module is disabled on Windows Server. There are two ways to install it:
- From a graphical interface using the Server Manager console
- From the PowerShell command line
Enable MPIO Using Server Manager
- Open Server Manager
- Find and check the Multipath I/O in the Features list
- Complete the MPIO installation and then restart the server.
Enable Multipath I/O on Windows Server Using PowerShell
Run the PowerShell console as an administrator and use the following command to install the Windows Server feature:
Add-WindowsFeature -Name 'Multipath-IO'
To make sure that MPIO has been installed on your Windows Server, run this command:
Get-WindowsFeature -Name 'Multipath-IO'
or
Enable-WindowsOptionalFeature -Online -FeatureName MultiPathIO
Remove-WindowsFeature -Name 'Multipath-IO'
Configuring MPIO for Storage Volumes on Windows Server
After installing the MPIO feature, you need to enable it for the LUNs that are accessible through multiple paths. By default, Windows treats each connection to a storage device as a separate logical disk (LUN).
Vendor-specific DSM modules are typically better optimized for the corresponding storage hardware and may provide better performance and functionality than the standard Microsoft DSM because the manufacturer can tailor the DSM to the architecture and capabilities of its storage platform.
Allow the DSM module by Microsoft (MSDSM) to automatically merge SAN disks based on the connection type. MSDSM automatically detects LUNs that have multiple paths to a storage and supports the most popular storage devices.
You can do it from the command prompt:
- For SAS disks:
Enable-MSDSMAutomaticClaim -BusType SAS - For iSCSI disks:
Enable-MSDSMAutomaticClaim -BusType iSCSI
mpclaim command. The following command will scan all devices detected by a system, find those that have multiple paths, and enable MPIO support for them. The -r option is used to automatically reboot if needed without prompting:mpclaim.exe -r -i -a ""
You can also enable DSM via the GUI. Open Server Manager and select MPIO in the Tools menu (or run the command: mpiocpl.exe).
Go to the Discover Multi-Paths tab, check Add support for SAS devices (or Add support for iSCSI devices if you are using iSCSI storage) and click Add. Then restart your server.
After the restart, open the Device Manager (or the Disk Manager) and make sure that the number of connected disks (LUNs) available to your server has reduced twice (provided there are two paths to your storage device).
You can manage the list of devices with MPIO support enabled in the MPIO Devices tab (or using the Get-MSDSMSupportedHw command).
You can add new MPIO devices by clicking Add or using PowerShell:
New-MSDSMSupportedHw -VendorId <vend> -ProductId <product>
After enabling MPIO, add the target through the second path (and any subsequent paths), for example, by connecting to the iSCSI target through its second IP address. When connecting to the target, select the iSCSI LUN, click Connect, and enable Enable multi-path.
Then click Advanced and bind different initiator IP addresses to different target IP addresses.
You can get current MPIO settings using PowerShell:
Get-MPIOSetting
PathVerificationState : Disabled PathVerificationPeriod : 30 PDORemovePeriod : 20 RetryCount : 3 RetryInterval : 1 UseCustomPathRecoveryTime : Disabled CustomPathRecoveryTime : 40 DiskTimeoutValue : 60
You can change MPIO path-scanning timer settings as follows. For example, let’s enable recommended settings for the all-flash array (always check the recommended values with your storage vendor!):
Set-MPIOSetting -NewPathRecoveryInterval 20 -CustomPathRecovery Enabled -NewPDORemovePeriod 30 -NewDiskTimeout 60 -NewPathVerificationState Enabled
If you click the Device button on the Targets tab, you will see that the LUN is accessible via two different paths.
If you click MPIO, you can configure the path selection policy. The following MPIO balancing policies are available:
- Fail Over Only (FOO) – use only one active path (all other paths remain in standby).
- Round Robin (RR) – uses all available paths in turn to distribute (balance) the I/O load. This is the default policy.
- Round Robin with Subset (RRWS) – allows you to specify several preferred paths, as well as additional backup paths.
- Least Queue Depth (LQD) – automatically selects the path with the shortest I/O queue.
- Weighted Paths (WP) – assign a weight (priority) to each path. An available path with the lowest weight is used.
- Least Blocks – select the path through which the smallest number of data blocks has been transferred (this mode helps to distribute the load evenly.
By default, no global load-balancing policy is set:
Get-MSDSMGlobalDefaultLoadBalancePolicy
You can change the global MPIO load-balancing policy. For example, let’s change to Round Robin with Subset (possible values: FOO, RR, RRWS, LQD, WP):
Set-MSDSMGlobalLoadBalancePolicy -Policy RRWS
It is preferable to configure the load-balancing policy manually through the Disk Management console (diskmgmt.msc). Open the properties of the connected LUN and go to the MPIO tab. In this example, the Round Robin policy is enabled for the LUN.
To view the full list of PowerShell commands available in the MPIO module, run this command:
Get-Command –Module Mpio
SAN (Disk) Policy on Windows Server and MPIO
Windows has a special disk policy (SAN Policy) that determines whether disks should be automatically brought online when they are discovered by the host.
You can get the current SAN Policy setting using diskpart. By default, the Offline Shared policy for SAN is used:
diskpart
DISKPART>>san</code
To automatically bring all available paths online and make the disk available to the operating system without manual intervention, change the SAN Policy to OnlineAll.
DISKPART> san policy=OnlineAll
The available SAN Policy values are:
| OfflineAll | All disks are offline by default |
| OfflineInternal | All disks on internal buses are offline |
| OfflineShared | All disks connected through iSCSI, FC, or SAS are offline. This mode should be used for Windows Failover Cluster environments. |
| OnlineAll | All disks are automatically brought online (recommended for standalone hosts). |














