Ensure data drives are brought online in sysprep’ed VHDX deployments

When deploying multidisk templates in VMM, secondary disks aren’t brougt online.
Before running Sysprep from MDT task sequence, insert “Run Command Line ..” “cmd /c echo san policy=OnlineAll  | Diskpart”

SAN-Policy

Or from a CMD.exe prompt :
SAN-Policy-cmd

If using a PS prompt, make sure the “echo” is enclosed in quotes :

SAN-Policy-PS

 

 

Leave a Comment