Open evilsh3ll opened 6 months ago
Try new function get_windows_product_channel()
in windows_tools.product_key
implemented in https://github.com/netinvent/windows_tools/commit/66a9e7634aab95f839781f70feabd89e8f1a6e40
Thank you, are you planning to update the package in pip too?
Can update the pip package, but check it first. Also I'm not fixed yet if I keep multiple OEM subversions or just return "OEM" which is more easier to parse.
In windows 10 LTSC (Retail) it seems to return only "UNKNOWN"
Can you give me the output of the following command on your system ?
wmic path SoftwareLicensingProduct get /format:list
Also the output of slmgr /dlv
?
wmic path SoftwareLicensingProduct get /format:list
output (removed in 1day): https://bin.disroot.org/?82c3db9bc8c793be#EzZL2jvSDsJNbc67iBg1DYti2QKvWXrxrv6RuKtXJhn4
slmgr /dlv
Really strange, your output should be perfectly parseable. Is your machine activated (the script only returns activated license channel) ? What version of Windows do you run ? Can you retest the python script as admin ?
Have no other idea right now.
Having quiclky re-read your output quickly, can you confirm that your machine isn't activated at all ?
Can you add a method to show the windows license type (OEM,Retail,Volume)?