'wmic' is not recognized

Hello All,

While running a task for ILMT, “Run Capacity Scan and Upload Results”, i got in 2 machines the error 255.

I found some PMR docs to insert the WMIC path on the task, but is not working also.

‘wmic’ is not recognized as an internal or external command,
operable program or batch file.
10 was unexpected at this time.

Any ideas?

What happens if you open a command prompt on the computers where this issue is occurring and you type “wmic”? Does it open a wmic command prompt?

–mark

yes, but if put any other parameter, like wmic os…returns error

Well, the issue has something to do with the Windows Management Instrumentation (WMI) command line, and not the “Run Capacity Scan and Upload Results” task, since all that does is make some wmic call.

Not sure if I can be helpful any further, but what error do you see when you issue the “wmic os” command?

–mark

there is something wrong with the WMI, we’ll try to repair the service…