Due to the routines ive done sadly win 7 and below cant be checked with the gui version. Once i got most sorted on this gui one i may write one just for the pre 8.0 os's, want to push myself on this one first.
Thanks for the line number, i will have a start point now, im thinking it is in the misc or dmi/bios sections, most likely the misc one.
Odd it only on certain w10 editions Not got any pro installs , will install it on a old laptop and see what is triggering the crash. But i will nail the error one way or another The only things added was the av detection it uses a dll in some api way to detect, also added was the internet check, but as it not in the gui results i can remove that bit easy without upsetting any layout.
Just checking latest QT GUI code for missing variables etc but probably missed one or two as there are lots to look for! Have removed the antivirus check as not reliable and cant do the same way as i can in batch or PS so gave up on that for now. Also removed the internet online check as that not as reliable either plus could flag up a AV false positive. Added updated registry reading for 64 and 32 bit os's to hopefully get correct information. Misc tab has only a MRP Used line for the time being - that took a few head scratching moments to get the data read and was the reason for the new registry reading for 64/32 bit as when compiled it would ignore some info as was looking in wrong place. Will upload 0.9.7 shortly to next post....
Once i can work out which pshell is required for win 7 that will allow the routines to work then i can hopefully unlock the GUI for 7. I may have to adjust routines to skip certain ps routines and use wmic which isn't that accurate for the vram side.
does the below code work on 7 ? save as a .ps1 file - admin not required. Code: $AVList = @(Get-CimInstance -Namespace 'root/SecurityCenter2' -ClassName 'AntivirusProduct') switch ($AVList.Count) #switch (0) #switch (3) { 0 { Write-Host 'No AV product detected.' write-host 'N/A' } 1 { Write-Host 'There is one AV product installed.' Write-Host ($AVList.displayName) } default { Write-Host ('There appears to be {0} AV products installed on this system.' -f $AVList.Count) Write-Host (($AVList.displayName -join ', ')) } } If this works on 7 then it just the graphics/vram ps script that it not like on 7.
hmm secure boot checks was always awkward i am guessing it being fussy... Was a pain in batch script too.
on my laptop i get the av results as: There appears to be 2 AV products installed on this system. 360 Total Security, 360 Total Security picks the name twice - no idea why as it only installed once
Output is: Code: There is one AV product installed. COMODO Antivirus Press Enter to continue...: According to QT, my installed Powershell versions are: Code: Powershell Version{s} : 1.0, 2.0, 3.0, 4.0, 5.0, 5.1
At least that ps script worked. The extended ps script to get the vram/graphics info certainly not work on 7 as 5.x and below not have the required api calls... but i can use wmic which isnt perfect for over 4gb vram but then i am not sure if the flashy ps routine works as no one posted anything about a gfx card with more than 4gb
Powershell and .net versions i am working on in the GUI version but not added it in yet as still working out other bits.
many thanks Carlos at least i know that routine actually works - pity i cant convert from ps to batch or autoit
Trying something in the GUI QT for w7 so it can be used on any OS Vista --> 11 basically skipping the ps script for gfx detection that crashes out, not wrote the wmi version yet so it will just say N/A etc for now in that gfx section. If it works then i will upload the new test one, but as mentioned no gfx card info yet on w7.