I know there are tools that can convert a ProductID
(AAAAA-BBB-CCCCCCC-DDDDD) back into a Product Key (
xxxxx-xxxxx-xxxxx-xxxxx-xxxxx), does anyone know where I can get the formula
to do this (or is there a built-in function to do this already)? I'd like
to add it to my HTA script and would prefer not to 'trust' an exe I didn't
write myself. I do remember reading articles on generating the ProductID
but not the other way around (years ago).
I'm using WMI and VBS in my HTA.
Currently my script uses WMI to get the following data:
-Disk usage by volume/Partition (Label, Format, Size, Free and used space,
%used)
-installation date
-OS version and SP level (IE "Windows Server 2000 Advanced SP4")
ToDo:
-top ten warnings and errors (App and SYS)
-event log archive and clear
-PC and DHCP lease counts (ADSI?)
Bookmarks