After running this script as admin with the flags -Enable and -AutoReboot, executing the command "wmic os get caption" results in an "Unspecified error".
⚠Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
Script version was 3.6. I disabled credential guard and the stated command works again.
Maybe that's the reason or one at least, why the output of
wmic /?
display a red "WMIC is outdated" message in commandline window
@beerisgood I completely agree but when you need to use tools (in my case Apache Cordova) that depend on wmic, it still won't help. I'll file an issue at Cordova but stuff shouldn't just break.
@ArthurHNL
The broken script is being passed to independent contributors for investigation. Thank you for the feedback.
@ArthurHNL I see you said script version 3.6 breaks WMIC functionality. The article you mentioned contains script version 3.7. Were you able to reproduce the issue also with 3.7?
LogAndConsole "Readiness Tool Version 3.7 Release. `nTool to check if your device is capable to run Device Guard and Credential Guard.
Also, were you able to file an issue with Cordova? What was their answer about this?
I have not tried reproducing this with the new version of the script and, since my system is stable now, I am not planning on testing it. I already found an issue at cordova: https://github.com/apache/cordova-cli/issues/434 and I filed an issue at the underlying Node.js module used by cordova that depends on wmic: https://github.com/sindresorhus/windows-release/issues/14.
@ArthurHNL thank you for you answer.