Which os ? I tested on w7 and w10 no errors. If it a pc that not got the graphics driver install it can throw up that error. On a vm it can also throw a wobbler if not enough vram allocated, or vm extensions not installed.
The pshell routine used was written on a w7 pc and tested until it worked, not tried on vista and i think it will fail on that os as pshell may not have certain select/filtering like on 7+ Luckily the new ps routine works on 7+ too, the longest task was to have autoit run the ps script and parse the results, which i might of forgot to add the execute bypass to overcome the ps restrictions, will check and fix in morning. The execute override is local to the called/run script and not system wide so once the ps script is run the security is restored to its former setting, usually restricted mode for safety.
Interesting I may install VBox on my other test pc, been a few years since i used that Hypervisor, there again i think it about a year that i even last used VMWare as since i upgraded to my new main pc i not installed any VM software, still have the VM's OS images
Pshell is such a weird thing, i checked the code for running the script and it does have the temporary policy bypass Code: Local $iPID = Run("powershell.exe -executionpolicy bypass -file " & $iPSfile ,@TempDir, @SW_HIDE) Im wondering if i should use -executionpolicy unrestricted instead. The msgbox error is shown when the result file that the ps script runs cannot be opened because it was not created due to an error running the script...
Have read about policy on PShell, confusing but will leave it as bypass for now as that just temporary on a per script basis... Added in a code section that if the PShell fails to run then for the graphics routine it will use a fall-back code to read the registry to get the data if it can. Also edited the msgbox to reflect that.
Fixed many issues in the GUI QT - well as best as i can. On Vbox and maybe other hypervisors the video results will probably be 0 for the Vram as it seems unable to determine the values, same with DMI/BIOS and Memory data... Have tried to add checks and have added a line at the bottom of some affected tabs to mention that some results may not be there etc. Also hopefully fixed the Graphics detection issue with P/Shell, the routine to get the Gfx data will attempt PS first then if issues will attempt to use the registry method which isn't always as accurate but better than nothing! The unable to get graphics data error msgbox will appear when the PS file cannot be run due to some permissions etc, then after clicking that OK box the other Registry method to get the data will be attempted. Still a bit to go but the above should fix most of the issues noted so far. Will upload the new GUI shortly.
Spoiler: Query Tool GUI v0.10.1.12 VM Code: ------------------------------------------------------------------------------------------------------------------- Query Tool GUI v0.10.1.12 ------------------------------------------------------------------------------------------------------------------- Log Date {UTC}: 11/06/2022 -- 11:33 {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 Éducation OS/CPU Architecture : CPU and OS is 64 bit Build : 10.0.19045 {UBR:2006} {22H2} Language : Français (France) Native Language : français Installed/Available Languages : fr-FR Stock Keeping Unit {SKU} : 121 Experience Pack : 120.2212.4180.0 Installation Date : 11/6/2022 at 10:46 AM {UTC} MSDM Key Detected : Not Present Dirty Shutdown Count : N/A Build Branch : vb_release Product ID : 00328-10000-00001-AA470 TimeZone {TZUtil} : Romance Standard Time Hours offset from GMT : 1 Daylight Saving In Effect : No Daylight Adjust Clock Mode : Disabled/Unchecked Windows Key 1 Installed : VCFB2 (Last 5 digits shown) Windows DpID4 Installed : VCFB2 (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 : NVMe Total Space : 59.88 GB Free Space : 43.69 GB Partition Type : GPT Firmware Boot Type : UEFI Mode {R:2} Secure Boot Status : Disabled [Ref:1] File System : NTFS Model Name : VMware Virtual NVMe Disk =================================================================================================================== Memory Information =================================================================================================================== Total Physical : 16776176 KB (16 GB) Available Physical : 14960292 KB (14.27 GB) Total Page Size : 19790832 KB (18.87 GB) Available Page Size : 18256052 KB (17.41 GB) Total Virtual Size : 4194176 KB (4 GB) Available Virtual : 4024376 KB (3.84 GB) Memory Type : Synchronous DRAM Memory Error Correction : Non-ECC Memory Slots Fitted : 64 DIMM Information {First Four} : RAM slot #0 16384MB @ MHz =================================================================================================================== Graphics Information =================================================================================================================== Adaptor 1 Name : VMware SVGA 3D Adaptor 1 Physical Memory : 4095 MB (4 GB) {Routine:P1-7} Adaptor 1 DACType : N/A Adaptor 1 Video Memory Type : GDDR (2) Adaptor 2 Name : Not Detected Adaptor 2 Physical Memory : N/A Adaptor 2 DACType : N/A Adaptor 2 Video Memory Type : N/A Virtual Desktop Resolution : 1920 x 1080 Bits Per Pixel : 32 Video Mode Description : 1920 x 1080 x 4294967296 couleurs {Ref:1} =================================================================================================================== Network Adaptor Information =================================================================================================================== Adaptor 1 Name : Intel(R) 82574L Gigabit Network Connection Connection Status : Connected =================================================================================================================== Processor 1 Information =================================================================================================================== Name : Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz Architecture : 64 L2 Cache Size : L3 Cache Size : 0 Current Clock Speed : 4008 Physical Cores : 2 Logical Cores : 2 Processor Id : 1F8BFBFF000506E3 Virtualization Mode : False Manufacturer : GenuineIntel Description : Intel64 Family 6 Model 94 Stepping 3 =================================================================================================================== DMI/BIOS Information =================================================================================================================== System Manufacturer : VMware, Inc. System Product Name : VMware7,1 BaseBoard Manufacturer : Intel Corporation BaseBoard Product : 440BX Desktop Reference Platform BaseBoard Version : None BIOS Vendor : VMware, Inc. BIOS Release Date : 08/10/2020 BIOS Version : VMW71.00V.16722896.B64.2008100651 Primary BIOS : True SMBIOS Present : True SMBIOS Version : 2.7 SLIC/BIOS Data : INTEL - 6040000 Valid SLIC Name : No Valid SLIC Table Possible Brand Theme : Intel {BaseBoard Manufacturer} =================================================================================================================== Miscellaneous Information =================================================================================================================== Which MRP Version Used : CY22M09D30-R147.BL Wallpaper Style : Fill 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} : Windows Defender Defender Tamper Protection : Disabled Defender Service Status : Auto Windows Firewall Service State : Running {Reg: Auto} Windows Activation Status : VL activation expires 5552 Days / 7995881 minutes Windows Licence Reason : Verify the products use rights, as no SLIC/MSDM is present Windows Product Key Channel : KMS:Client {VOLUME_KMSCLIENT} Device has KMS Enabled : Yes KMS Auto Renewal (hook) : No MS Office {MSI/Traditional} : 2010 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 -------------------------------------------------------------------------------------------------------------------
Vmware looks like i need to tweak the theme routine as that comma again caused it to ignore vmware and used next in line intel. Easy to sort that. It pulled the vram value ok on vmware but on vbox it not accessible.
Fixed VMware theme detection. Added check if a Hypervisor is detected, when present addition GUI and log lines added to mention that some results may not be present etc - keeps things tidy.
Spoiler: Query Tool GUI v0.10.1.15 VM Code: ------------------------------------------------------------------------------------------------------------------- Query Tool GUI v0.10.1.15 ------------------------------------------------------------------------------------------------------------------- Log Date {UTC}: 11/06/2022 -- 13:35 {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. On Hypervisors results may be missing due to unable to detect. GUI Font Used : Lucida Console Size: 11 =================================================================================================================== Operating System Information =================================================================================================================== Installation Type : Client Name : Microsoft Windows 11 Éducation OS/CPU Architecture : CPU and OS is 64 bit Build : 10.0.22621 {UBR:674} {22H2} Language : Français (France) Native Language : français Installed/Available Languages : fr-FR Stock Keeping Unit {SKU} : 121 Experience Pack : 1000.22634.1000.0 Installation Date : 11/6/2022 at 12:17 PM {UTC} MSDM Key Detected : Not Present Dirty Shutdown Count : N/A Build Branch : ni_release Product ID : 00328-10000-00001-AA596 TimeZone {TZUtil} : Romance Standard Time Hours offset from GMT : 1 Daylight Saving In Effect : No Daylight Adjust Clock Mode : Disabled/Unchecked Hypervisor Present : Yes Windows Key 1 Installed : VCFB2 (Last 5 digits shown) Windows DpID4 Installed : VCFB2 (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 : NVMe Total Space : 59.88 GB Free Space : 43.81 GB Partition Type : GPT Firmware Boot Type : UEFI Mode {R:2} Secure Boot Status : Disabled [Ref:1] File System : NTFS Model Name : VMware Virtual NVMe Disk =================================================================================================================== Memory Information =================================================================================================================== Total Physical : 16776176 KB (16 GB) Available Physical : 15236488 KB (14.53 GB) Total Page Size : 19790832 KB (18.87 GB) Available Page Size : 18474872 KB (17.62 GB) Total Virtual Size : 4194176 KB (4 GB) Available Virtual : 4022600 KB (3.84 GB) Memory Type : Synchronous DRAM Memory Error Correction : Non-ECC Memory Slots Fitted : 64 DIMM Information {First Four} : RAM slot #0 16384MB @ MHz =================================================================================================================== Graphics Information =================================================================================================================== Adaptor 1 Name : VMware SVGA 3D Adaptor 1 Physical Memory : 4095 MB (4 GB) {Routine:P1-7} Adaptor 1 DACType : N/A Adaptor 1 Video Memory Type : GDDR (2) Adaptor 2 Name : Not Detected Adaptor 2 Physical Memory : N/A Adaptor 2 DACType : N/A Adaptor 2 Video Memory Type : N/A Virtual Desktop Resolution : 1920 x 1080 Bits Per Pixel : 32 Video Mode Description : 1920 x 1080 x 4294967296 couleurs {Ref:1} =================================================================================================================== Network Adaptor Information =================================================================================================================== Adaptor 1 Name : Intel(R) 82574L Gigabit Network Connection Connection Status : Media Disconnected =================================================================================================================== Processor 1 Information =================================================================================================================== Name : Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz Architecture : 64 L2 Cache Size : L3 Cache Size : 0 Current Clock Speed : 4008 Physical Cores : 2 Logical Cores : 2 Processor Id : 1F8BFBFF000506E3 Virtualization Mode : False Manufacturer : GenuineIntel Description : Intel64 Family 6 Model 94 Stepping 3 =================================================================================================================== DMI/BIOS Information =================================================================================================================== System Manufacturer : VMware, Inc. System Product Name : VMware7,1 BaseBoard Manufacturer : Intel Corporation BaseBoard Product : 440BX Desktop Reference Platform BaseBoard Version : None BIOS Vendor : VMware, Inc. BIOS Release Date : 08/10/2020 BIOS Version : VMW71.00V.16722896.B64.2008100651 Primary BIOS : True SMBIOS Present : True SMBIOS Version : 2.7 SLIC/BIOS Data : INTEL - 6040000 Valid SLIC Name : No Valid SLIC Table Possible Brand Theme : VMWare {System Manufacturer} =================================================================================================================== Miscellaneous Information =================================================================================================================== Which MRP Version Used : CY22M09D30-R147.BL Wallpaper Style : Fill 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} : Windows Defender Defender Tamper Protection : Enabled Defender Service Status : Auto Windows Firewall Service State : Running {Reg: Auto} Windows Activation Status : VL activation expires 5552 Days / 7995760 minutes Windows Licence Reason : Verify the products use rights, as no SLIC/MSDM is present Windows Product Key Channel : KMS:Client {VOLUME_KMSCLIENT} Device has KMS Enabled : Yes KMS Auto Renewal (hook) : No MS Office {MSI/Traditional} : Not Checked as a C2R version detected C2R MS Office : Office 21, VOLUME_KMSCLIENT channel {x64} C2R Excluded Apps : groove,lync,onedrive,teams C2R Last Update Channel : Production 2021 LTSC C2R Office Activation Status : Licensed C2R Partial Product Key : 6F7TH Office Reason Information : Activated but verify the products use rights Office MAK/KMS Information : Will require re-activation in 179 Days / 259198 minutes -------------------------------------------------------------------------------------------------------------------
Integrated RamDac = External Card Internal = iGPU Well it will on next GUI as i had set the RAMDAC variables to N/A by mistake and the new routines i not set them on a result As for languages it should show the language in use on the VM and not the host... I think i tried to get some other language info but it never worked the same as batch way so i had to put that on hold while i sorted other issues out.