I have 2 ssds, one samsung, one crucial. I would like MDT litetouch media to install OS to crucial. At times, for unknown reason, the disk order changes. I researched and found this https://keithga.wordpress.com/2013/09/18/ztiselectbootdisk-wsf/. I have customized the script and added it just before the “Format and Partition Disk (UEFI)” step with command line as “cscript.exe “%scriptroot%\ZTISelectBootDisk.wsf””. The error says CAN NOT RUN COMMAND LINE. I do not know how to set task sequence variables in CustomSettings.ini. Any help is appreciated.

This is what I changed in the script:

’ // " WHERE Size < 100000000000 and InterfaceType = “SCSI” and MediaType != “Fixed Hard Disk Media”"
’ // " WHERE Model like “CT%”"

3 Spice ups