Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] Can you add a method to show the windows license type (OEM,Retail,Volume)? #17

Open
evilsh3ll opened this issue Jan 23, 2024 · 8 comments

Comments

@evilsh3ll
Copy link

Can you add a method to show the windows license type (OEM,Retail,Volume)?

@deajan
Copy link
Contributor

deajan commented Jan 23, 2024

Try new function get_windows_product_channel() in windows_tools.product_key implemented in 66a9e76

@evilsh3ll
Copy link
Author

evilsh3ll commented Jan 23, 2024

Thank you, are you planning to update the package in pip too?

@deajan
Copy link
Contributor

deajan commented Jan 23, 2024

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.

@evilsh3ll
Copy link
Author

In windows 10 LTSC (Retail) it seems to return only "UNKNOWN"
image

@deajan
Copy link
Contributor

deajan commented Jan 23, 2024

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 ?

@evilsh3ll
Copy link
Author

wmic path SoftwareLicensingProduct get /format:list
output (removed in 1day): https://bin.disroot.org/?82c3db9bc8c793be#EzZL2jvSDsJNbc67iBg1DYti2QKvWXrxrv6RuKtXJhn4
slmgr /dlv
image

@deajan
Copy link
Contributor

deajan commented Jan 23, 2024

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.

@deajan
Copy link
Contributor

deajan commented Jan 23, 2024

Having quiclky re-read your output quickly, can you confirm that your machine isn't activated at all ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants