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

Changed WMIC to non-deprecated alternatives #255

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

HuFlungDu
Copy link

@HuFlungDu HuFlungDu commented Aug 12, 2024

This is a companion pull request with: Ylianst/MeshCentral#6320

Fixes #254

In this PR, I modified the JS module code containing the wmic changes and the one C file with wmic hardcoded in it. I did not recompile the modules, as I'm not sure of the procedure for doing so, though I did compile them locally for testing, they just didn't come out with all the comments and ifdefs and whatnot.

@si458
Copy link
Collaborator

si458 commented Aug 29, 2024

this is another reason we cant switch yet to using powershell #256
it seems to spawn powershells over and over again!

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

Successfully merging this pull request may close these issues.

Windows 11 24H2 26100 has WMIC disabled by default
2 participants