I can remember when a invalid slic/msdm table or dummy one's could crash the QT , luckily @Alphawaves fixed the Generic.exe's to prevent the fatal crashes. Hopefully the GUI QT not suffer that same fate, shouldn't do as i am using the fixed Generic2/4 ones from the old QT to get the slic/msdm data , sadly the /LDR switch to detect if a loader is present or not causes a 'Unhandled error' about it not allowed to send data to a non console window... Some .Net error i guess. All other /parameters are ok just the /LDR one. Not really important, i will see if i can find another method to find if one is there at some later time.
Spoiler: Gui Report - MSDM w10 Code: ------------------------------------------------------------------------------------------------------------------- Query Tool GUI v0.10.2.6 ------------------------------------------------------------------------------------------------------------------- Log Date {UTC}: 11/12/2022 -- 11:29 {24-hour} Some results may be shortened to fit the output stage, such as RAM information. This is the postable report that does not contain full serial or sensitive information. GUI Font Used : Lucida Console Size: 11 =================================================================================================================== Operating System Information =================================================================================================================== Installation Type : Client Name : Microsoft Windows 10 Education OS/CPU Architecture : CPU and OS is 64 bit Build : 10.0.19043 {UBR:928} {21H1} Language : English (United Kingdom) Native Language : English Installed/Available Languages : en-GB en-US Stock Keeping Unit {SKU} : 121 Experience Pack : 120.2212.551.0 Installation Date : 11/8/2022 at 12:14 PM {UTC} Shipped with Reserved 7GB : No Dirty Shutdown Count : N/A Build Branch : vb_release Product ID : 00328-00000-00000-AA245 {Extended: 03612-03280-000-000000-00-2057-19043.0000-3122022} TimeZone {TZUtil} : GMT Standard Time Hours offset from GMT : 0 Daylight Saving In Effect : No Daylight Adjust Clock Mode : Enabled/Checked Hypervisor Present : No Virtual Machine Data : This computer does not appear to be a virtual machine Windows Key 1 Installed : 7CFBY (Last 5 digits shown) Windows DpID4 Installed : 7CFBY (Last 5 digits shown) Windows Default Installed : 8HV2C (Last 5 digits shown) Windows Default4 Installed : 8HV2C (Last 5 digits shown) TPM Information : N/A =================================================================================================================== System Drive C: Partition Information =================================================================================================================== Drive Type : SSD BUS Type : Serial ATA (SATA) Total Space : 237.91 GB Free Space : 223.26 GB Partition Type : MBR Firmware Boot Type : Legacy/MBR Mode {R:1} Secure Boot Status : N/A File System : NTFS Model Name : SAMSUNG MZ7LN256HAJQ-000L2 =================================================================================================================== Memory Information =================================================================================================================== Total Physical : 8312048 KB (7.93 GB) Available Physical : 7194352 KB (6.86 GB) Total Page Size : 10278128 KB (9.8 GB) Available Page Size : 9347000 KB (8.91 GB) Total Virtual Size : 4194176 KB (4 GB) Available Virtual : 4023396 KB (3.84 GB) Memory Type : DDR3 Memory Error Correction : Non-ECC Memory Slots Fitted : 2 DIMM Information {First Four} : ChannelB-DIMM0 8192MB @ 1600MHz =================================================================================================================== Graphics Information =================================================================================================================== Adaptor Name : Intel(R) HD Graphics Family Adaptor DACType : Internal {iGPU} Adaptor Driver Information : 10.18.10.3345 {2013/10/31} Adaptor Status : Active Adaptor Name : Not Detected Adaptor DACType : N/A Adaptor Driver Information : N/A Adaptor Status : Inactive Virtual Desktop Resolution : 1366 x 768 Bits Per Pixel : 32 Video Mode Description : 1366 x 768 x 4294967296 colors {Ref:1} Some values may not be accurate due to 32 bit API limitations. For accurate VRam use DxDiag or other tool. =================================================================================================================== Network Adaptor Information =================================================================================================================== Adaptor 1 Name : Intel(R) Dual Band Wireless-AC 3160 Connection Status : Media Disconnected Adaptor 2 Name : Realtek PCIe GbE Family Controller Connection Status : Media Disconnected =================================================================================================================== Processor 1 Information =================================================================================================================== Name : Intel(R) Core(TM) i3-4005U CPU @ 1.70GHz Architecture : 64 L2 Cache Size : 256 L3 Cache Size : 3072 Current Clock Speed : 1700 Physical Cores : 2 Logical Cores : 4 Processor Id : BFEBFBFF00040651 Virtualization Mode : Enabled Manufacturer : GenuineIntel Description : Intel64 Family 6 Model 69 Stepping 1 =================================================================================================================== DMI/BIOS Information =================================================================================================================== System Manufacturer : TOSHIBA System Product Name : SATELLITE L50-B BaseBoard Manufacturer : Type2 - Board Vendor Name1 BaseBoard Product : Type2 - Board Product Name1 BaseBoard Version : Type2 - Board Version BIOS Vendor : INSYDE Corp. BIOS Release Date : 10/08/2014 BIOS Version : 1.90 Primary BIOS : True SMBIOS Present : True SMBIOS Version : 2.7 SLIC/BIOS Data : TOSQCI - 1 Valid SLIC Name : Toshiba Possible Brand Theme : Toshiba {System Manufacturer} SLIC Table Status : SLIC table with valid marker present {v2.1} MSDM Key Description : TOSQCI|Toshiba MSDM Key Detected : 29WJQ (Last 5 digits shown) MSDM Key OS Version/Edition : Win 8.1 Core =================================================================================================================== Miscellaneous Information =================================================================================================================== Which MRP Version Used : CY22M09D08-R147.TC7 Wallpaper Style : Stretch image to display resolution Current Theme Used : $OEM$.theme Installed Dot Net Frameworks : 4.8 4.0 Installed Powershell Versions : 1.0, 2.0, 3.0, 4.0, 5.0, 5.1 Security Product Name{s} : No Security Installed Defender Tamper Protection : Both Tamper and Cloud-delivered Protections are disabled Defender Service Status : Manual Windows Firewall Service State : Running {Reg: Auto} Windows Activation Status : Windows is in Notification mode Windows Licence Reason : Valid key was used for the product's licensing channel Windows Product Key Channel : Retail {RETAIL} Device has KMS Enabled : No KMS Auto Renewal (hook) : No MS Office {MSI/Traditional} : Not Detected C2R MS Office : Not Detected C2R Excluded Apps : N/A C2R Last Update Channel : N/A C2R Office Activation Status : N/A C2R Partial Product Key : N/A Office Reason Information : No reason information to show/No Issues Office MAK/KMS Information : No MAK or KMS activation detected ------------------------------------------------------------------------------------------------------------------- Not have w7 available to test if the MSDM is detected on that with the new method but im 80% sure it will as the same method is used for w8+ for first detecting the OA3Key, if that fails then only if w8+ it will look at the WMI way to get the OA3 key.
Not sure why this gets shown on w7: Windows Activation Status : Initial grace expires Days / 9660 minutes ie nothing for Days?? the minutes are divided to get the day count but for some weird reason it just not show on w7 Same for Office too if detected on w7.. I have checked the code many times, will also check for a space or spaces to see if that the reason. Like wise on the CPU /GPU sections on VBox some bits are blank - but i think it must be a space character because otherwise i check for "" (nul) to then show N/A but that never gets shown.
It was a trash VM, unactivated. No idea why the days are missing, Windows itself showed 7 days remaining. Also as it was a trash VM no Guest Additions had been installed. Would possibly explain why so much info is missing.
Could be, as my w7 tests are done via a VBox vm too although im sure i installed the guest addon stuff to see if the vram was detected, but it wasn't. I must find a pc that i can put 7 on to test a real pc scenario - that will be tomorrow mornings to do
VM's are useful to iron out some issues that not usually show on a real PC, just takes a few attempts to catch them all.
GUI_QTv0.10.2.8 have added extra checks for a space or null results from WMI calls etc and hopefully it will show N/A now... On the CPU section '--' will be shown if a space/Null result.... if i got the checks right Will upload that soon .... it is on the beta web space already...
Tweaked Office detection - hopefully better on w7... Plus a few other little tweaks that should speed up the OS section at 10%.
Beta Test area has this latest test one... needs to be checked on 7 to see if office routine crashes, i know it may give a COM error in a console window but it should still continue... Will upload for public testing a bit later...
Tweaked Office detection - hopefully better on w7... Plus a few other little tweaks that should speed up the OS section at 10%.
Didn't crash on Windows 7. Report shows nothing unusual. However, that is on a Windows 7 with no Office (I don't have any Windows 7 with Office installed).
Phew was worried my changes could cause issues with w7. I only installed office 2007 and 2021 on my w10 laptop to do the qt testing, i not actually use them as i personally find ms office overrated and now has way too much extra stuff in, that most users would never use. But i guess as it the money maker for ms they need to add stuff in or modify old bits to make users upgrade each time.
Don't use it either, the one on the lappy was a test install and will bite the dust soon. Where I need Office, LibreOffice is more that enough.
Spoiler: Query Tool GUI v0.10.2.12 Code: ------------------------------------------------------------------------------------------------------------------- Query Tool GUI v0.10.2.12 ------------------------------------------------------------------------------------------------------------------- Log Date {UTC}: 11/13/2022 -- 17:22 {24-hour} Some results may be shortened to fit the output stage, such as RAM information. This is the postable report that does not contain full serial or sensitive information. GUI Font Used : Lucida Console Size: 11 =================================================================================================================== Operating System Information =================================================================================================================== Installation Type : Client Name : Microsoft Windows 10 IoT Entreprise LTSC OS/CPU Architecture : CPU and OS is 64 bit Build : 10.0.19044 {UBR:2251} {21H2} Language : Français (France) Native Language : français Installed/Available Languages : fr-FR Stock Keeping Unit {SKU} : 191 Experience Pack : 120.2212.4180.0 Installation Date : 2/20/2022 at 17:5 PM {UTC} Shipped with Reserved 7GB : No Dirty Shutdown Count : 4 Build Branch : vb_release Product ID : 00436-50000-00000-AAOEM {Extended: 03612-04365-000-000000-02-1036-19044.0000-0512022} TimeZone {TZUtil} : Romance Standard Time Hours offset from GMT : 1 Daylight Saving In Effect : No Daylight Adjust Clock Mode : Enabled/Checked Hypervisor Present : Yes {Vmware} 64 Bit 16.1.2.8432 Virtual Machine Data : This computer does not appear to be a virtual machine Windows Key 1 Installed : YY74H (Last 5 digits shown) Windows DpID4 Installed : YY74H (Last 5 digits shown) Windows Default Installed : 6F7W2 (Last 5 digits shown) Windows Default4 Installed : 6F7W2 (Last 5 digits shown) TPM Information : Active : True, Enabled : True, Owned : True, Version : 2.0, Vendor : Intel =================================================================================================================== System Drive C: Partition Information =================================================================================================================== Drive Type : SSD BUS Type : Serial ATA (SATA) Total Space : 110.18 GB Free Space : 47.98 GB Partition Type : GPT Firmware Boot Type : UEFI Mode {R:2} Secure Boot Status : Disabled [Ref:1] File System : NTFS Model Name : LITEON L8H-256V2G-11 M.2 2280 256GB =================================================================================================================== Memory Information =================================================================================================================== Total Physical : 65085556 KB (62.07 GB) Available Physical : 50373768 KB (48.04 GB) Total Page Size : 65085556 KB (62.07 GB) Available Page Size : 46484564 KB (44.33 GB) Total Virtual Size : 4194176 KB (4 GB) Available Virtual : 4020492 KB (3.83 GB) Memory Type : DDR4 Memory Error Correction : Non-ECC Memory Slots Fitted : 4 DIMM Information {First Four} : DIMM1 16384MB @ 2133MHz DIMM2 16384MB @ 2133MHz DIMM3 16384MB @ 2133MHz DIMM4 16384MB @ 2133MHz =================================================================================================================== Graphics Information =================================================================================================================== Adaptor Name : NVIDIA GeForce GTX 960 Adaptor DACType : Integrated RAMDAC {Addon} Adaptor Driver Information : 31.0.15.2647 {2022/10/25} Adaptor Status : Active Adaptor Name : Not Detected Adaptor DACType : N/A Adaptor Driver Information : N/A Adaptor Status : Inactive Virtual Desktop Resolution : 3840 x 1318 Bits Per Pixel : 32 Video Mode Description : 1920 x 1200 x 4294967296 couleurs {Ref:1} Some values may not be accurate due to 32 bit API limitations. For accurate VRam use DxDiag or other tool. =================================================================================================================== Network Adaptor Information =================================================================================================================== Adaptor 1 Name : TAP-Windows Adapter V9 Connection Status : Media Disconnected Adaptor 2 Name : VMware Virtual Ethernet Adapter for VMnet1 Connection Status : Connected Adaptor 3 Name : VMware Virtual Ethernet Adapter for VMnet8 Connection Status : Connected Adaptor 4 Name : Intel(R) Ethernet Connection (2) I219-V Connection Status : Connected Adaptor 5 Name : Dell Wireless 1560 802.11ac Connection Status : Media Disconnected Adaptor 6 Name : ASIX AX88179 USB 3.0 to Gigabit Ethernet Adapter Connection Status : Connected =================================================================================================================== Processor 1 Information =================================================================================================================== Name : Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz Architecture {Bits} : 64 L2 Cache Size {KB} : 1024 L3 Cache Size {KB} : 8192 Current Speed {MHz} : 4008 Physical Cores : 4 Logical Cores : 8 Processor Id : BFEBFBFF000506E3 Virtualization Mode : Enabled Manufacturer : GenuineIntel Description : Intel64 Family 6 Model 94 Stepping 3 =================================================================================================================== DMI/BIOS Information =================================================================================================================== System Manufacturer : Dell Inc. System Product Name : XPS 8900 BaseBoard Manufacturer : Dell Inc. BaseBoard Product : 0XJ8C4 BaseBoard Version : A00 BIOS Vendor : Dell Inc. BIOS Release Date : 12/22/2020 BIOS Version : 2.9.1 Primary BIOS : True SMBIOS Present : True SMBIOS Version : 2.8 SLIC/BIOS Data : DELL - 1072009 Valid SLIC Name : Dell Possible Brand Theme : Dell {System Manufacturer} SLIC Table Status : SLIC table with valid marker present {v2.1} MSDM Key Description : [4.0] Core OEM:DM MSDM Key Detected : 3GPHF (Last 5 digits shown) MSDM Key OS Version/Edition : Win 10 Core =================================================================================================================== Miscellaneous Information =================================================================================================================== Which MRP Version Used : N/A Wallpaper Style : Center image to display resolution Current Theme Used : Custom.theme Installed Dot Net Frameworks : 2.0 3.0 3.5 4.8 4.0 Installed Powershell Versions : 1.0, 2.0, 3.0, 4.0, 5.0, 5.1 Security Product Name{s} : Windows Defender Defender Tamper Protection : Both Tamper and Cloud-delivered Protections are enabled Defender Service Status : Auto Windows Firewall Service State : Running {Reg: Auto} Windows Activation Status : Activated Windows Licence Reason : Valid key was used for the product's licensing channel Windows Product Key Channel : OEM System Builder {OEM_COA_NSLP} {R:PKC} Device has KMS Enabled : No KMS Auto Renewal (hook) : Yes MS Office {MSI/Traditional} : Not Checked as a C2R version detected C2R MS Office : Office 21, VOLUME_KMSCLIENT channel {x64} C2R Excluded Apps : None C2R Last Update Channel : Production 2021 LTSC C2R Office Activation Status : Licensed C2R Partial Product Key : G6RVC Office Reason Information : No reason information to show/No Issues Office MAK/KMS Information : Automatically re-activates in 179 Days / 258881 minutes -------------------------------------------------------------------------------------------------------------------
I think i have sorted the missing 'Days' number(s) for Grace remaining times. I had the variable created but in the wrong place(s) so it was not always set On w7 with office not sure if it will work as using a different WMI class (just for office) so it may not show properly.. It is experimental, the pc i have with w7 on is slower than a snail on crutches - must find out a better m/board then install office.
Hopefully sorted that Had to use a different box type that looks almost 3D and to play about with the parameters, i think it looks ok.
I got round to using another pc to test office with w7. Office 2021, managed to install but refused to run. Office 2007 was ok got detected but cant find a way to check activation as no opp.vbs found. But then realized the office activation check is for c2r versions only. I not going down that rabbit hole again with office. so im not doing any thing else but detect the name for any msi/traditional names.
Hours offset from GMT : -6 --- i was wondering how the routine would cope with negative numbers, looks ok. The emulated part i tried to add in but for some reason that parameter for Generic.exe causes a 'Unhandled Console Error' when 'run' via AutoIT, all other parameters work, such as /SLIC and /MSDM are ok. I have mentioned that in my previous posts. *Edit to above -- I think i have managed to sort the Unhanded Error for when testing for Loader/Emulation on Vista/7 The SLIC information result is for the 'OA2xBiosMarkerStatus' WMI call that does not exist in Windows 7 same as the 'OA3xOriginalProductKey' WMI call so that information is not shown as it not there. The old QT uses other methods but those not want to work under AutoIT as they not yield the results required. MSE is not quite the same as Defender as the WMI calls do not detect it which is odd. Select * from AntiVirusProduct is used via 'SecurityCenter' and if that fails 'SecurityCenter2' as shown below via standard vbscript type method - converted to AutoIT code: Spoiler: AV detection (AutoIT code) Code: Func _AV2() Local $avname local $oWMI = ObjGet("winmgmts:\\localhost\root\SecurityCenter2") local $colItems = $oWMI.ExecQuery("Select * from AntiVirusProduct", "WQL", $wbemFlagReturnImmediately + $wbemFlagForwardOnly) For $objAntiVirusProduct In $colItems $avname = $objAntiVirusProduct.displayName Next If $avname = False Then Return "No Security Installed" Else Return $avname EndIf EndFunc Func _AV5() Local $avname local $oWMI = ObjGet("winmgmts:\\localhost\root\SecurityCenter") local $colItems = $oWMI.ExecQuery("Select * from AntiVirusProduct", "WQL", $wbemFlagReturnImmediately + $wbemFlagForwardOnly) For $objAntiVirusProduct In $colItems $avname = $objAntiVirusProduct.displayName Next If $avname = False Then Return "No Security Installed" Else Return $avname EndIf EndFunc The A/V bit is quite simple code, its worked ok so not expanded on it, plus had other issues to fix first.