Answers for "WMIC is not recognized"

0

WMIC is not recognized

To resolve this issue, do the following:

	1. Open Command Prompt in the machine, where nodeagent has to be started.
	2. Run the following command for adding folder containing wmic to PATH 
environment variable:
	3. SET PATH=C:\Windows\System32\wbem\;%PATH%;
	4. After setting the path variable using the command above, run the 
following command to confirm whether wmic is picked properly:

where wmic
The command above should return the following as output: 
"C:\Windows\System32\wbem\WMIC.exe"
	4. After confirming, navigate to the nodeagent folder, without closing 
the Command Prompt session.
	5. Start the Nodeagent by using nodeagent.bat start command.
Posted by: Guest on August-15-2021

Browse Popular Code Answers by Language