I'm currently using RIS with a windows PE image to install Windows XP. On RIS I have two cab directories Install_C and Install_D. Drive selection is made via a batch script I created which gets launched when PE starts up. The script then uses the drive variables at the end as displayed below. I set the CAB location immediately after the drive selection is made i.e set CAB_LOCATION=\\Ris\install_%DRIVE%\i386 set UNATTEND=\\Ris\install_%DRIVE% :C diskpart /s diskpart.txt start /wait format c: %NTFS% start /wait format d: %NTFS% start /wait %CAB_LOCATION%\winnt32.exe /s:%CAB_LOCATION% /unattend:%UNATTEND%\%MODEL%.txt /syspart:c: goto end start /wait format d: %NTFS% start /wait %CAB_LOCATION%\winnt32.exe /s:%CAB_LOCATION% /unattend:%UNATTEND%\%MODEL%_PRIMARY.txt goto end The way I usually build computers is that I partition the drive with the C partition being about 5 gb and the D the rest this is done via diskpart.txt. I then use Windows PE to install XP to the C partition which works fine. However when I try to install the D partition via the batch script it installs to the C partition. Any suggestions on how I can force the installion of the D partition?