jianjiacc

Distinguished
Aug 30, 2011
4
0
18,510
By default wmi is installed on windows 2000 server, and the first time you run "wmic" in command line, it should install the wmic by itself. But in my windows2000, although there is "wmi.dll" in C:/ WINNT/system32, when I type "wmi" or "wmic" in command line, it would warn "cannot find the file 'wmi' (or one of its components). Make sure the path and filename are correct and that all required libraries are available)" or "cannot find the file 'wmic' (or one of its components). Make sure the path and filename are correct and that all required libraries are available)".
Does anybody know how to solve this problem?
Thanks in advance.
 

ricno

Distinguished
Apr 5, 2010
582
0
19,010


Are you really sure that the vmic command should be available on Windows 2000? From what I remember wmic was introduced with Windows XP / 2003.
 

jianjiacc

Distinguished
Aug 30, 2011
4
0
18,510

Yes, as many webpages say, "WMI comes installed on all of Microsoft's modern operating systems (Windows 2000, Windows XP, Windows 2003, Windows Vista and Windows 20081). " http://www.poweradmin.com/help/enableWMI.aspx
In addition, I can't find wmi resources available for windows2k. Those downloads are Just for windows95/98.
 

ricno

Distinguished
Apr 5, 2010
582
0
19,010


That was my memory around this and that the introdution of the CLI tool made it much easier to explore/work with WMI in Windows XP and forward.