-
Notifications
You must be signed in to change notification settings - Fork 38
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
Problem with Helpers.GetMachineCode(v=2) on Windows #69
Comments
It sounds like a likely issue to this could be due to WMI repository being corrupt. Would it be possible to execute the following command on their site:
What does that command return? Thanks! |
Should I run it in Administrator mode? |
I have the similar issue with a customer. As per reading the library, I figure out a case not available to be used. |
@hugocarnide Thank you! Please let me know how it goes. I would like to ask, with regards to https://github.com/Cryptolens/cryptolens-python/blob/master/licensing/methods.py#L1438, is the issue that if current_mid===None (presumably because the machine code was not computed correctly), you would like that to return false if the one of the machines has ( act_machine.Mid) has the value None or empty string? |
Thanks @artemlos for reading my question. The feature could be a failover to have another way to compute the machine code. For this case, I would like to be able to register None as deviceId and having the method comparing that and letting continue. It is an exceptional case until we figure out what is happening. |
A new release is now available which fallbacks on the machineGUID obtained from the registry on Windows. Please note that a user may be able to change this if they have sufficient permissions. @hugocarnide if possible, could you please let me know if it works now for your client? |
@hugocarnide Thank you for the link in your previous message by the way. It was very helpful. |
When we run. We get a machine code of None on Windows.
If we run the associated command that is executed in Powershell:
Powershell > Get-CimInstance -Class Win32_ComputerSystemProduct
Get-CimInstance : Invalid Class
So no output is sent to stdout, and "" goes to None in the callers. Do you know the reason for this and a way to solve? This is rather urgent. It is our first client we would like to get running with our software.
Thanks in advance for your answer.
The text was updated successfully, but these errors were encountered: