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

WMIC used to generate machine code is deprecated #50

Closed
pmnforce opened this issue Apr 4, 2022 · 3 comments
Closed

WMIC used to generate machine code is deprecated #50

pmnforce opened this issue Apr 4, 2022 · 3 comments

Comments

@pmnforce
Copy link

pmnforce commented Apr 4, 2022

Hi

I'd just like to make you aware of the fact that WMIC (used for generating machine code on Windows) is being deprecated (https://docs.microsoft.com/en-us/windows/deployment/planning/windows-10-deprecated-features). Would be nice to adapt to another approach before the tool is completely removed from Windows :).

Best regards
Peter

@artemlos
Copy link
Contributor

artemlos commented Apr 4, 2022

Hi Peter,

Thanks for letting us know :)

I think we might be able to retrieve the UUID using PS instead, which was tested in the NodeJs client, i.e., as follows:

cmd /c powershell.exe -Command "(Get-CimInstance -Class Win32_ComputerSystemProduct).UUID"

We will review the link more thoroughly and release an update soon.

Thanks again!

@pmnforce

@pmnforce
Copy link
Author

pmnforce commented Apr 8, 2022 via email

@artemlos
Copy link
Contributor

@pmnforce We have now updated the UUID source so that it does not rely on WMIC, available in the latest release (https://github.com/Cryptolens/cryptolens-python/releases/tag/v_34)

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