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/<\/a>. 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.<\/p>\n
This is what I changed in the script:<\/p>\n
’ // \" WHERE Size < 100000000000 and InterfaceType = “SCSI” and MediaType != “Fixed Hard Disk Media”\" 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/<\/a>. 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.<\/p>\n This is what I changed in the script:<\/p>\n ’ // \" WHERE Size < 100000000000 and InterfaceType = “SCSI” and MediaType != “Fixed Hard Disk Media”\"
\n’ // \" WHERE Model like “CT%”\"<\/p>","upvoteCount":3,"answerCount":1,"datePublished":"2025-01-14T19:15:15.012Z","author":{"@type":"Person","name":"spiceuser-ot771","url":"https://community.spiceworks.com/u/spiceuser-ot771"},"suggestedAnswer":[{"@type":"Answer","text":"
\n’ // \" WHERE Model like “CT%”\"<\/p>","upvoteCount":3,"datePublished":"2025-01-14T19:15:15.079Z","url":"https://community.spiceworks.com/t/mdt-install-os-to-specific-disk/1163242/1","author":{"@type":"Person","name":"spiceuser-ot771","url":"https://community.spiceworks.com/u/spiceuser-ot771"}}]}}