Windows OS Hub
  • Windows
    • Windows 11
    • Windows 10
    • Windows Server 2025
    • Windows Server 2022
    • Windows Server 2019
    • Windows Server 2016
  • Microsoft
    • Active Directory (AD DS)
    • Group Policies (GPOs)
    • Exchange Server
    • Azure and Microsoft 365
    • Microsoft Office
  • Virtualization
    • VMware
    • Hyper-V
    • Proxmox
  • PowerShell
  • Linux
  • Home
  • About

Windows OS Hub

  • Windows
    • Windows 11
    • Windows 10
    • Windows Server 2025
    • Windows Server 2022
    • Windows Server 2019
    • Windows Server 2016
  • Microsoft
    • Active Directory (AD DS)
    • Group Policies (GPOs)
    • Exchange Server
    • Azure and Microsoft 365
    • Microsoft Office
  • Virtualization
    • VMware
    • Hyper-V
    • Proxmox
  • PowerShell
  • Linux

 Windows OS Hub / Windows Server 2022 / Configuring Multipath I/O (MPIO) on Windows Server

November 6, 2026

Configuring Multipath I/O (MPIO) on Windows Server

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.

Contents:
  • How to Install MPIO Feature on Windows Server
  • Configuring MPIO for Storage Volumes on Windows Server
  • SAN (Disk) Policy on Windows Server and MPIO

If a server can access the same logical disk (LUN) through multiple iSCSI initiator adapters or multiple Fibre Channel HBAs, a server without MPIO will see more LUNs in Disk Management than there actually are. The number of visible LUNs is effectively: number of paths to the LUN × number of presented LUNs

The 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.

get-disk - lun displaying as 2 drives

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.

mpio example schema

Tip. If the OS doesn’t support MPIO, the number of paths to each LUN should be reduced to one to prevent data loss.  Only one Fibre Channel port or one iSCSI initiator adapter should remain enabled on a server. Also, disable additional paths to the LUN on the data storage system and SAN/network switch levels.

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

  1. Open Server Manager
  2. Find and check the Multipath I/O in the Features list Install MPIO feature on WIndows Server via Server Manager
  3. 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'

Add-WindowsFeature -Name 'Multipath-IO' - enabling mpio on Windows Server

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

windows server - get 'Multipath-IO' powershell

Note. To disable MPIO, enter the following command:

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).

Tip. One of the key MPIO components is the MSDSM (Microsoft Device-Specific Module), which provides storage path load-balancing policies. MPIO is installed with the standard Microsoft DSM by default. However, in most cases, it is preferable to install the DSM module provided by the storage vendor (IBM DSM, HP DSM MPIO, etc.).

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
Note. You can do the same using the 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.

discover multi-paths: Add support for SAS and iSCSI devices

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).

mpio devices

You can add new MPIO devices by clicking Add or using PowerShell:

New-MSDSMSupportedHw -VendorId <vend> -ProductId <product>

If you are deploying a Windows Server cluster, configure MPIO on all nodes.

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.

enable multipath for iscsi device on windows server 2016

Then click Advanced and bind different initiator IP addresses to different target IP addresses.

Windows Server 2016 multipath iscsi - bind different target IP addresses to different initiators

You can get current MPIO settings using PowerShell:

Get-MPIOSetting

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.

two paths to iscsi lun with mpio enabled

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.

mpio available load balance policy

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.

change mpio load balance policy in disk settings

To view the full list of PowerShell commands available in the MPIO module, run this command:

Get-Command –Module Mpio

powershell mpio module

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

Due to this SAN policy, external storage LUNs may be disabled after a restart. Check the article The Disk Is Offline Because of Policy Set by an Administrator.  

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

diskpart change san policy from offline shared to onlineall

The available SAN Policy values are:

OfflineAllAll disks are offline by default
OfflineInternalAll disks on internal buses are offline
OfflineSharedAll disks connected through iSCSI, FC, or SAS are offline. This mode should be used for Windows Failover Cluster environments.
OnlineAllAll disks are automatically brought online (recommended for standalone hosts).
0 comment
4
Facebook Twitter Google + Pinterest
PowerShellWindows Server 2019Windows Server 2022Windows Server 2025
previous post
How to Connect L2TP/IPSec VPN Server From Windows
next post
How to Install Only Specific Apps in Office 2021/2019 or Office 365

Related Reading

How to Convert (Upgrade) Windows Server Evaluation to...

March 15, 2024

Checking Active Directory Domain Controller Health and Replication

May 15, 2025

Backing Up Active Directory with Windows Server Backup

November 26, 2024

How to Refresh (Update) Group Policy Settings on...

March 24, 2026

Software RAID1 (Mirror) for Boot Drive on Windows

February 24, 2025

How to Check, Enable or Disable SMB Protocol...

July 3, 2025

Writing Output to Log Files in PowerShell Script

March 3, 2025

How to Install and Activate the RDS Licensing...

February 13, 2024

Leave a Comment Cancel Reply

join us telegram channel https://t.me/woshub
Join WindowsHub Telegram channel to get the latest updates!

Recent Posts

  • Shrink WSL2 and Docker Desktop VHDX Files in Windows

    November 11, 2026
  • We Can’t Sign In to Your Account: Fix Temporary User Profile in Windows

    October 20, 2026
  • Backup/Sync to Cloud Storage with Rclone on Windows

    October 9, 2026
  • Fix Missing “Yes” Button in User Account Control Prompt on Windows

    October 7, 2026
  • Block Specific Keyboard Shortcuts with Keyboard Filter on Windows

    October 3, 2026
  • How to Set Task Priority in Windows Task Scheduler

    September 22, 2026
  • AutoStart Program at RDP Logon in Windows RDS

    September 8, 2026
  • How to Convert Windows Machine into a Proxmox VM

    August 30, 2026
  • Enable or Disable Fast User Switching in Windows 11

    August 18, 2026
  • How to Hide Wi-Fi Network in Windows with WLAN Filters (Blacklist and Whitelist)

    August 14, 2026

Follow us

  • Facebook
  • Twitter
  • Youtube
  • Telegram
Popular Posts
  • How to Hide (Block) a Specific Windows Update
  • Run Elevated Commands with Sudo on Windows 11
  • Fix: Slow Startup of PowerShell Console and Scripts
  • Automate Software and Settings Deployment with WinGet Configure (DSC)
  • Enable/Disable Random Hardware (MAC) Address for Wi-Fi on Windows
  • Uninstalling Windows Updates via CMD/PowerShell
  • How to Extract Printer Drivers from Windows
Footer Logo

@2014 - 2026 - Windows OS Hub. All about operating systems for sysadmins


Back To Top