Have added in some error checking which 'hopefully' will work, only added it in this specific function for now but can be added into other wmi/COM areas to prevent a crash. Will upload this GUI QT rc2 for beta testers.
I not have a Vista 64bit or server 2008 64bit to test so the above 'fix' is a trial and error - or attempt to avoid the error
Interesting.... the os sku in that old qt uses wmic or vbscript wmi to obtain the name(caption) , version and sku. In the gui qt it uses wmi method which should be similar to the batch or vbscript methods. Yet it fails.
Does the uploaded gui qt rc3 fail still on s2008 64bit ? Im wondering because i have used 64 redirection which might be why the crash in rc2.
As for 1.03 RC2... Would it be possible to get the raw WMIC commands, for running them manually and checking the results? Edit: No RC3?
Rc3 is uploaded unless the host has deleted it. Not at pc so cant check. I will post the wmi(c) bits tomorrow morning.
In the morning i will check why rc3 not uploaded. Plus will sort the way the old qt detected the data and post its method. Gui qt calls that osinfo function first before anything else via wmi so the gui qt could fail on other functions on server 2k8 64bit. I know i added error checks to continue instead of crash in rc2. I even added a check for a non existant object which returned 'unable to read data for xxxx' in my test it didnt crash out. There again it may of been renamed rc3 and i forgot to upload it.
@Carlos Detweiller Code: WMIC /locale:ms_409 OS get OperatingSystemSKU /VALUE WMIC /locale:ms_409 os get caption /value Those are from the old QT for os name(capton) and SKU im sure it is the SKU one that was acting up... Most of the queries are in VBScript but use same names... The old QT code is a right miss mash of things, that one reason why the GUI one was invented to sort of standardize the methods of queries, (not quite as easy as i thought!). If you wish i can send you the old QT code to look through but it can be confusing how it all actually works
uploaded a revised GUI QT 1.03-rc3 for beta testers It was in the queue i must of closed the uploader before it had fully completed. Changed the routine which failed on S2k8 64bit - if this still fails then i am at a loss how to fix it or at least catch the error and continue.
Code: C:\Users\User\Downloads>WMIC /locale:ms_409 OS get OperatingSystemSKU /VALUE OperatingSystemSKU=7 C:\Users\User\Downloads>WMIC /locale:ms_409 os get caption /value Caption=Microsoftr Windows Serverr 2008 Standard C:\Users\User\Downloads>pause Press any key to continue . . .
Hmm well it not the sku one as i thought... That part is now on the memory which i am guessing will be more difficult to fix.
I dont think i can fix that memory error so i will just have the function skipped and the memory Type (which is what is causing the error) will not be shown for any OS below win10. Have tweaked it so that server 2008/R2 will skip that memory type function. But as those older OS's are getting more awkward to find work-arounds i may have to start kipping more areas, but at least that majority of the other QT bits are useful, plus the older QT still works.
GUI QT v1.03-RC3.1 uploaded for beta testers It should hopefully skip that Memory Type function and put a note in the output log/screen that it was unable to be identified. This skip function is just for Server 2k8 & server 2k8r2 until i can find another working method.
But, why did it work on Server 2008 SP2 32bit? Only the 64bit version errors. Currently installing another Server 2008 SP2 VM for testing...