Server 2012 Autounattend.xml - make offline drives online?

view story

http://serverfault.com – I'm attempting to set up multiple drive letters (whole disk partitions) on a second and third disk during the autounattend.xml install of Server 2012. The partitions are created and formatted. However, the drives (disks 1 & 2) are marked as 'offline' when I login for the first time. If I manually mark them as online through Disk Management they are assigned the right drive letter and all is well. I've tried to add a simple diskpart script to SetupComplete.cmd without luck. Here's my SetupComplete.cmd file that doesnt work: mkdir c:\temp echo select disk 1 >> c:\temp\dp.txt echo on (HowTos)