Before being just a command-line tool, WMIC used to provide a complete Graphical User Interface (GUI).
This was because it was being superseded by Windows PowerShell for WMI.
That said, the WMI tool is still usable from the Windows command line.

These can be repaired usingDISMandSFCcommand-line tools.
Let us now discuss how to address the other 2 issues and get the WMIC tool working again.
To do so, go through this:
launch the Services console by typing inservices.mscin the Run Command box.

If not, then continue to perform the solution given below.
Therefore simply entering thewmic.exewill be insufficient as Windows will not understand which EXE file to run.
Therefore, we suggest that you create the variable to save time and effort in the long run.

Once done, clickOK.
Now clickOKon theEnvironmental VariablesandSystem Propertieswindows to close them.
Now kickstart your machine for the changes to take place.

Once it reboots, you should now no longer experience the same error again.
However, after reading this post, you will have understood that thats not the case.
Frequently Asked Questions
What is the location of wmic.exe?
The WMIC.exe file is located atC:\Windows\System32\wbem\WMIC.exe.
Is WMIC deprecated?
Yes, WMIC has been deprecated, butjustthe User Interface.
you’re free to still use WMIC in the Windows command line.
0
Get weekly insights, tips and exclusive content delivered straight to your inbox.
Talk to us straight and get your questions answered right away
source: www.itechtics.com