Hello there, I am working with WinPE 2.0 and ImageX over USB Flash Disk trying to deploy HII XP SP2 image over multiple different computers. I want to use a script that perform disk partition/format (using diskpart.exe /s myscript.txt) before deploying the image (imagex.exe /apply ...) I need 3 partitions in this exact order : C: [sYSTEM] 12Go D: [DATA] all_of_free_space Z: [MSI] 6Go I juste want to know how to script this need.? How to calculate automaticaly the all_of_free_space that is = Total Capacity - (12Go+6Go) A simple way might be to create the partitions in this order: C(12)/Z(6)/D(no parameter, so all the free space) but I really would like to get the C/D/Z order... Thanks in advance XP