SEARCH

The How-To Geek Forums Have Migrated to Discourse

How-To Geek Forums / Windows XP

(Solved) - WMIC not recognized as an internal or external command

(5 posts)
  • Started 1 year ago by Huisman7
  • Latest reply from Xhi
  • Topic Viewed 5524 times

Huisman7
Posts: 3

I work in IT Support and have used the command WMIC many times to find out information from network computers but today I went to use it and now it's telling me it's not recognized. I tried searching the web but couldn't find anything. Can anyone help?

Posted 1 year ago
Top
 
Huisman7
Posts: 3

Just a quick update. I found the WMIC.exe in C:\windows\system32\wbem and if I point my cmd window to that directory, then it works. How do I fix this?

Posted 1 year ago
Top
 
Huisman7
Posts: 3

Sorry to do this but I fixed it. Once I realized I could run it from the wbem directory, I checked my PATH variable and it didn't exist anymore. Not sure why so I recreated it and made sure it pointed to the wbem directory. Now it's working.

Accepted Answer · Posted 1 year ago
Top
 
mattsk42
Posts: 1

What do you mean by "recreated it" specifically?

Posted 1 year ago
Top
 
Xhi
Posts: 6298
 



Topic Closed

This topic has been closed to new replies.