@JanCerny, what does: Code: wmic idecontroller get name /value or wmic scsicontroller get name /value return?
if the idecontroller returns a line with AHCI within it then the QT will pick AHCI scsi one usually returns Storage spaces.
I can confirm that after re-installing the OS everything is working and activated. For anyone that stumbles here, successfully moved my bare metal Windows Server OEM install into a ESXi 6.5 VM. Before starting this, here is what was installed on the bare machine (pulled with Magical Jelly Bean Keyfinder): Windows Server 2012 R2 Standard Product Part No.: [Blue]X18 Installed from 'OEM' media. Product ID: 00252-20000-00190-AAOEM match to CD Key data Moving it to a VM required these settings... smbios.addHostVendor = "TRUE" acpi.passthru.slic = "TRUE" acpi.passthru.slicvendor = "TRUE" Then installing the OS using non-EVAL media (en_windows_server_2012_r2_with_update_x64_dvd_4065220.iso). This worked without having access to OEM ISO which is super awesome. Thank you all for helping out (I was ready to give up and just run KMS or some loader).
@exxoid Happy it all worked out, i knew it would once the SLIC was present. It is good that M$ kept the SLIC system in place for Servers as if MSDM was involved then i don't know if there is a pass through system for that type for VM's.
@JanCerny Hmm the IDEController gave an error which i took into account, and so the QT has the ScsiController part run if no valid reply from the IDEController, it looks like i may have the order check wrong... Code: SET "IDEAHCI=NVMe/eMMC/Other" SET "IDEAHCI1=--" wmic idecontroller get name /value|find /i "ahci">nul && SET "IDEAHCI=AHCI" & SET "IDEAHCI1=AHCI" & GOTO :DoneController1 wmic idecontroller get name /value|find /i "IDE">nul && SET "IDEAHCI=IDE" & SET "IDEAHCI1=IDE" & GOTO :DoneController1 wmic idecontroller get name /value|find /i "SCSI">nul && SET "IDEAHCI=SCSI/PCIe" & SET "IDEAHCI1=SCSI/PCIe" & GOTO :DoneController1 wmic idecontroller get name /value|find /i "NVMe">nul && SET "IDEAHCI=NVMe/PCIe" & SET "IDEAHCI1=NVMe/PCIe" & GOTO :DoneController1 wmic idecontroller get name /value|find /i "eMMC">nul && SET "IDEAHCI=eMMC/PCIe" & SET "IDEAHCI1=eMMC/PCIe" & GOTO :DoneController1 wmic scsicontroller get name /value|find /i "SCSI">nul && SET "IDEAHCI=SCSI/PCIe" & SET "IDEAHCI1=SCSI/PCIe" & GOTO :DoneController1 wmic scsicontroller get name /value|find /i "SAS">nul && SET "IDEAHCI=SAS/SCSI" & SET "IDEAHCI1=SAS/SCSI" & GOTO :DoneController1 wmic scsicontroller get name /value|find /i "NVMe">nul && SET "IDEAHCI=NVMe/PCIe" & SET "IDEAHCI1=NVMe/PCIe" & GOTO :DoneController1 wmic scsicontroller get name /value|find /i "eMMC">nul && SET "IDEAHCI=eMMC/PCIe" & SET "IDEAHCI1=eMMC/PCIe" & GOTO :DoneController1 :DoneController1 That is the section code used, what is puzzling me is that IDEController in your system gave the 'No Instances', which should of kept going down the list as each check is not a match, then on the ScSiController part it should of picked up the SAS.. I can see i put NVMe instead of NVM as the valid name to check under the scsi part but even so the SAS was before that line... The information i found on the net seems to be outdated/incorrect... I have avoided Powershell commands in the QT as PS can be so slow at 'starting up' so unless the whole QT is run under PShell or a framework, plus some commands may not work under older versions of PS. One problem is that different languages can trip up returned values. Will have to research again and see if there is a solution to this 'glitch' ...
I *might* of worked it out... There is a logic twist in that the '&&' isn't checking as intended. Have added an extra errorlevel check which without it tends to get the information confused. Attached is a test.cmd you will need to change the extension from .txt to .cmd as cant attach cmd files directly. On normal IDE/AHCI controllers such as my pc because the scsi part does not match anything it ignores those and checks the idecontroller side and returns AHCI for my pc. Once saved run the renamed txt to cmd it should not matter as Admin/normal and fingers crossed it will show the SAS or NVM result. My test results: Code: Drive Controller Mode {IDE/AHCI/NVMe/eMMC/Other}. Results: AHCI Press any key to continue . . . If still no joy then i am afraid until i can find a better way to obtain the correct method the results may be inaccurate for some NVMe systems. Knew NVMe might be a pita. lol
@shjpipi look on first page (1) and the 2nd post has the links. 看第一页(1),第二篇文章有链接。(i hope that translated). https://forums.mydigitallife.net/threads/multi-oem-retail-project-mrp-mk3.71555/#post-1283849 = 2nd post/article. click [ SPOILER ] to show them.
- Supermicro X9DAi - system drive: CX2 NVMe, PCIe #3 @4x4x8x bifurcation mode, generic MS NVMe driver - data drive: 6 TB WD Red, C602 SATA port #1 @6 Gb/s, Intel RSTe 4.6.0.1048 driver (=RST for enterprise) Code: Drive Controller Mode {IDE/AHCI/NVMe/eMMC/Other}. Results: SAS/SCSI - Supermicro X9DAi - system drive: CX2 NVMe, PCIe #3 @4x4x8x bifurcation mode, generic MS NVMe driver - other controllers (C602 SATA AHCI, C602 SCU SATA AHCI) are disabled in BIOS Code: Drive Controller Mode {IDE/AHCI/NVMe/eMMC/Other}. Results: NVMe/PCIe Intel "Patsburg" C602 have SAS controller running in SATA mode (SAS features are disabled during Intel licensing policy; C604, C606 and C608 supports SAS mode) and required "RST enterprise" driver.
ah looks like we getting closer to the solution I will put the changes into place in the QT and will do a test on my test systems to make sure it not upset other IDE/AHCI types, i dont think it will but need to make sure. The SAS/ScSi is to let me know it was using the scsicontroller and not the IDE one. The important bit is the SAS and NVM parts. I know why the AHCI was being picked up as it was a fall back to prevent errors via the vbs i use which is basically for win7 with a bodge for w8.x/10 which sort of worked
Code: link removed Password: Test50 CRC32: 7BC020FE MD5 : 673DC20AFD1B8FA3154E9C5ABAC83CCD SHA-1: F51FD6D0A3DBD51346C9FA2B542E34064C40D0A8 Fingers crossed this one works Tested ok on standard AHCI/IDE...
Now the only time the variable IDEAHCI is using the vbs returned value is if the IDE/Scsi Controllers return a nul value, or "--" which indicates something went a bit screwy so to use the fall back value. Its all trial and error... NVMe is a bit of a odd ball because some use SATA/Pci and others SAS/Scsi to get the super speeds required. Well that is what i have researched/understand, it keeps changing. Like m$'s editions lol.
Feel like this Sort one thing and another problem appears in this case nothing is even shown on that line! *edit* May of sorted it this time... There is two variables in use and for some reason i was checking the wrong one for the display/save part!
ok, well rechecked code, the detection side was working, it was in the display/saved area that the wrong variable was being checked. So another test/try: Code: Link removed. Edit: Test Worked. I now know because of the wrong variable check, the AHCI/IDE words would always show before and the QT not 'see' the other results. As it a routine area i have not touched for many months i have forgot how the later checks was being done. Signs of getting old.
- Supermicro X9DAi - system drive: CX2 NVMe, PCIe #3 @4x4x8x bifurcation mode, generic MS NVMe driver - data drive: 6 TB WD Red, C602 SATA port #1 @6 Gb/s, Intel RSTe 4.6.0.1048 driver (=RST for enterprise) - all storage controllers are enabled Code: MRP - OEM Query Tool v50.0.3 Enhanced -- 03/04/2018 {UTC} -- 7:25pm ------------------------------------------- - Basic OEM Information For This Computer - ------------------------------------------- OS Version {SKU} - Windows 10 Pro {48} OS Edition {Registry} - Professional {48} OS Edition {CBS} - Professional OS Architecture - 64 Bit OS Build/Update Revision - 16299 {rs3_release} / 248 OS Installation Type - Client OS Language Name/Code - cs-CZ / Dec:1029 {Hex:405} OS Locale - cs-CZ OS Language Value - CSY OS Installation Date - 25.02.2018 2:14:01 {Localized Date Format} CPU Name - Intel{R} Xeon{R} CPU E5-2670 0 @ 2.60GHz {x2} CPU Description - Intel64 Family 6 Model 45 Stepping 7 CPU Architecture - 32/64 Bit CPU ID Code - [BFEBFBFF000206D7] CPU Cores/Threads - [16] / [32] CPU VT Mode Enabled - [Yes] Boot Drive Information - BusType: NVMe, Mode: SAS/SCSI, Partition: GPT, DriveType: SSD, FS: NTFS Boot Drive Model Name - CX2-8B256-Q11 NVMe LITEON 256GB Bios Information - Type: American Megatrends Inc. , Version: 3.2 , Date: 05/09/2015 Total Physical Memory - 65508 Mb Available Memory - 62738 Mb GPU Primary Adaptor Name - NVIDIA Quadro K4000 GPU Primary Adaptor Info - Resolution: 2560x1440 , Driver Date: 02/27/2018 , Driver Vers: 23.21.13.9103 -------------------- - Scanned DMI/BIOS - -------------------- #01 CSProduct Name - X9DAi #09 SLIC Information - 2.4 #02 CSModel Name - X9DAi #10 Product Key - Not Shown On Saved Report #03 CSBaseboard Prod - X9DAi #11 MSDM Key - No MSDM Table Detected #04 CSProduct Vendor - Supermicro #11 MSDM Edition - Undefined #05 CSManufacturer - Supermicro #11 MSDM Brand Name - Undefined #06 Baseboard MFR - Supermicro #12 BIOS/Boot Mode - UEFI/GPT #07 Serial/Service Tag - Not Shown On Saved Report #13 Certificate - Not Present #08 BIOS or SLIC ID - - 1072009 #14 License Status - Licensed {Retail} ----------- - Summary - ----------- OEM Theme/Branding - Supermicro [id: #04] OEM Activation Vista/7 - Un-Listed Valid OEM Consumer OS - Vista/Win7 Detected .Net Versions - v1.1.4322 / v2.0.50727 / v3.5 / v4.0.30319 / v4.7.02556 Powershell Version{s} - 1.0, 2.0, 3.0, 4.0, 5.0, 5.1 License Status Reason - 0x4004F401: This computer has a valid Digital/Store License. Other Notes: - SLIC ID or Version may not show correctly with UEFI or Secure Boot enabled. ** End of Query Tool report. ** - Supermicro X9DAi - system drive: CX2 NVMe, PCIe #3 @4x4x8x bifurcation mode, generic MS NVMe driver - other controllers (C602 SATA AHCI, C602 SCU SATA AHCI) are disabled in BIOS Code: MRP - OEM Query Tool v50.0.3 Enhanced -- 03/04/2018 {UTC} -- 7:32pm ------------------------------------------- - Basic OEM Information For This Computer - ------------------------------------------- OS Version {SKU} - Windows 10 Pro {48} OS Edition {Registry} - Professional {48} OS Edition {CBS} - Professional OS Architecture - 64 Bit OS Build/Update Revision - 16299 {rs3_release} / 248 OS Installation Type - Client OS Language Name/Code - cs-CZ / Dec:1029 {Hex:405} OS Locale - cs-CZ OS Language Value - CSY OS Installation Date - 25.02.2018 2:14:01 {Localized Date Format} CPU Name - Intel{R} Xeon{R} CPU E5-2670 0 @ 2.60GHz {x2} CPU Description - Intel64 Family 6 Model 45 Stepping 7 CPU Architecture - 32/64 Bit CPU ID Code - [BFEBFBFF000206D7] CPU Cores/Threads - [16] / [32] CPU VT Mode Enabled - [Yes] Boot Drive Information - BusType: NVMe, Mode: NVMe/PCIe, Partition: GPT, DriveType: SSD, FS: NTFS Boot Drive Model Name - CX2-8B256-Q11 NVMe LITEON 256GB Bios Information - Type: American Megatrends Inc. , Version: 3.2 , Date: 05/09/2015 Total Physical Memory - 65508 Mb Available Memory - 63197 Mb GPU Primary Adaptor Name - NVIDIA Quadro K4000 GPU Primary Adaptor Info - Resolution: 2560x1440 , Driver Date: 02/27/2018 , Driver Vers: 23.21.13.9103 -------------------- - Scanned DMI/BIOS - -------------------- #01 CSProduct Name - X9DAi #09 SLIC Information - 2.4 #02 CSModel Name - X9DAi #10 Product Key - Not Shown On Saved Report #03 CSBaseboard Prod - X9DAi #11 MSDM Key - No MSDM Table Detected #04 CSProduct Vendor - Supermicro #11 MSDM Edition - Undefined #05 CSManufacturer - Supermicro #11 MSDM Brand Name - Undefined #06 Baseboard MFR - Supermicro #12 BIOS/Boot Mode - UEFI/GPT #07 Serial/Service Tag - Not Shown On Saved Report #13 Certificate - Not Present #08 BIOS or SLIC ID - - 1072009 #14 License Status - Licensed {Retail} ----------- - Summary - ----------- OEM Theme/Branding - Supermicro [id: #04] OEM Activation Vista/7 - Un-Listed Valid OEM Consumer OS - Vista/Win7 Detected .Net Versions - v1.1.4322 / v2.0.50727 / v3.5 / v4.0.30319 / v4.7.02556 Powershell Version{s} - 1.0, 2.0, 3.0, 4.0, 5.0, 5.1 License Status Reason - 0x4004F401: This computer has a valid Digital/Store License. Other Notes: - SLIC ID or Version may not show correctly with UEFI or Secure Boot enabled. ** End of Query Tool report. ** Do you need more reports with another controllers like "SATA IDE mode"? I have another computer with ICH7 (Asus P5KPL/1600).
if it not too much trouble be nice to see if that part is detected correctly. Happy it sees the right info now for the Nvme/SAS/Scsi bits. I had a pc with the old PATA/IDE port but that pc died (RIP), well the psu went bang and took the board out and everything connected to it *sigh*. It really made a mess as even the CPU was welded into the socket!
This PC is ready for sale almost one year. Asus P5KPL/1600, ICH7 base, SATA in IDE mode. All values appearing correctly. Code: MRP - OEM Query Tool v50.0.3 Enhanced -- 03/04/2018 {UTC} -- 6:52pm ------------------------------------------- - Basic OEM Information For This Computer - ------------------------------------------- OS Version {SKU} - Windows 10 Pro {48} OS Edition {Registry} - Professional {48} OS Edition {CBS} - Professional OS Architecture - 64 Bit OS Build/Update Revision - 14393 {rs1_release} / 0 {Baseline Release} OS Installation Type - Client OS Language Name/Code - cs-CZ / Dec:1029 {Hex:405} OS Locale - cs-CZ OS Language Value - CSY OS Installation Date - 12.1.2017 9:56:43 {Localized Date Format} CPU Name - Intel{R} Core{TM}2 Duo CPU E8500 @ 3.16GHz CPU Description - Intel64 Family 6 Model 23 Stepping 6 CPU Architecture - 32/64 Bit CPU ID Code - [BFEBFBFF00010676] CPU Cores/Threads - [2] / [2] CPU VT Mode Enabled - [Yes] Boot Drive Information - BusType: ATA/IDE, Partition: MBR, DriveType: HDD, FS: NTFS Boot Drive Model Name - ST3500320AS Bios Information - Type: American Megatrends Inc. , Version: 0512 , Date: 03/16/2009 Total Physical Memory - 4095 Mb Available Memory - 2231 Mb GPU Primary Adaptor Name - NVIDIA GeForce 9600 GT GPU Primary Adaptor Info - Resolution: 2560x1440 , Driver Date: 06/29/2015 , Driver Vers: 9.18.13.4174 -------------------- - Scanned DMI/BIOS - -------------------- #01 CSProduct Name - System Product Name #09 SLIC Information - 2.1 #02 CSModel Name - System Product Name #10 Product Key - Not Shown On Saved Report #03 CSBaseboard Prod - P5KPL/1600 #11 MSDM Key - No MSDM Table Detected #04 CSProduct Vendor - System manufacturer #11 MSDM Edition - Undefined #05 CSManufacturer - System manufacturer #11 MSDM Brand Name - Undefined #06 Baseboard MFR - ASUSTeK Computer INC. #12 BIOS/Boot Mode - Legacy/MBR #07 Serial/Service Tag - Not Shown On Saved Report #13 Certificate - Not Present #08 BIOS or SLIC ID - _ASUS_ - 20090316 #14 License Status - Licensed {Retail} ----------- - Summary - ----------- OEM Theme/Branding - Asus [id: #06] OEM Activation Vista/7 - Asus Valid OEM Consumer OS - Vista/Win7 Only Detected .Net Versions - v1.1.4322 / v2.0.50727 / v3.5 / v4.0.30319 / v4.6.01586 Powershell Version{s} - 1.0, 2.0, 3.0, 4.0, 5.0, 5.1 License Status Reason - 0x4004F401: This computer has a valid Digital/Store License. ** End of Query Tool report. **