I am having inconsistencies with this method to determine the a drive list to allow tech's to select which one they're imaging to.
It works fine on the system with *just* the nvme drive installed. But once a sata SSD is added to the mix it no longer gives the tech an option to select which drive.
This is the output of the drives.vbs script:
DriveIndex1 INTEL SSDSC2KW480H6 480101368320
DriveIndex0 KXG50ZNV256G NVMe TOSHIBA 256GB 256052966400
DriveIndex2 USB Device 57576960
(DriveIndex2 is the USB device I copied the logs to)
and here is the portion of UI++.log
<![LOG[ * Evaluating Condition for <Choice> Drive 1 - 480 GB - INTEL SSDSC2KW480H6: %DriveIndex0% = "0" ?? 1 = "0"]LOG]!><time="11:59:28.000+480" date="03-06-2019" component="UI++" context="" type="1" thread="1400" file="actions.cpp">
<![LOG[ = Condition evaluated to false]LOG]!><time="11:59:28.000+480" date="03-06-2019" component="UI++" context="" type="1" thread="1400" file="actions.cpp">
<![LOG[ - Not adding Choice Drive 1 - 480 GB - INTEL SSDSC2KW480H6]LOG]!><time="11:59:28.000+480" date="03-06-2019" component="UI++" context="" type="1" thread="1400" file="actionuserinput.cpp">
<![LOG[ * Evaluating Condition for <Choice> Drive 2 - 256 GB - KXG50ZNV256G NVMe TOSHIBA 256GB: %DriveIndex1% = "1" ?? 0 = "1"]LOG]!><time="11:59:28.000+480" date="03-06-2019" component="UI++" context="" type="1" thread="1400" file="actions.cpp">
<![LOG[ = Condition evaluated to false]LOG]!><time="11:59:28.000+480" date="03-06-2019" component="UI++" context="" type="1" thread="1400" file="actions.cpp">
<![LOG[ - Not adding Choice Drive 2 - 256 GB - KXG50ZNV256G NVMe TOSHIBA 256GB]LOG]!><time="11:59:28.000+480" date="03-06-2019" component="UI++" context="" type="1" thread="1400" file="actionuserinput.cpp">
<![LOG[ * Evaluating Condition for <Choice> Drive 3 - - : %DriveIndex2% = "2" ?? = "2"]LOG]!><time="11:59:28.000+480" date="03-06-2019" component="UI++" context="" type="1" thread="1400" file="actions.cpp">
<![LOG[ = Error evaluating condition]LOG]!><time="11:59:28.000+480" date="03-06-2019" component="UI++" context="" type="2" thread="1400" file="actions.cpp">
<![LOG[ - Not adding Choice Drive 3 - - ]LOG]!><time="11:59:28.000+480" date="03-06-2019" component="UI++" context="" type="1" thread="1400" file="actionuserinput.cpp">
<![LOG[ - Not adding <ChoiceInput> Input: Choose your Windows boot drive (C: drive): -- There are no valid choices]LOG]!><time="11:59:28.000+480" date="03-06-2019" component="UI++" context="" type="1" thread="1400" file="actionuserinput.cpp">
and for extra info, here is the output of powershell get-physicaldisk:
DeviceId FriendlyName SerialNumber MediaType CanPool OperationalStatus
-------- ------------ ------------ --------- ------- -----------------
2 Generic Physical Disk 00000000000016 Unspecified False OK
0 KXG50ZNV256G NVMe TOSHIBA 256GB 0000_0000_0000_0010_0008_0D05_0010_0209. SSD False OK
1 INTEL SSDSC2KW480H6 CVLT624002Z6480EGN SSD True OK
Any help would be appreciated.
Thank you!