Sign in with
Sign up | Sign in
Your question
Solved

Cannot find the file wmic

Last response: in Windows 2000/NT
Share
August 31, 2011 2:08:21 AM

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.

More about : find file wmic

August 31, 2011 6:59:33 PM

jianjiacc said:
when I type "wmi" or "wmic" in command line, it would warn "cannot find the file 'wmi' (or one of its components).


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.
m
0
l
September 7, 2011 2:59:58 AM

ricno said:
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.

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.
m
0
l
Related resources

Best solution

September 7, 2011 6:40:23 AM

Wmi exists on 2000, but the command line tool wmic wasn't introduced until XP. Have a look here: http://technet.microsoft.com/en-us/library/bb742610.asp... . If you want to use wmic to manage wmi on a 2000 machine you have to do it remotely frpm an XP (or later) computer.
Share
September 7, 2011 6:50:36 AM

Ijack said:
Wmi exists on 2000, but the command line tool wmic wasn't introduced until XP.


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.
m
0
l
September 13, 2011 7:41:57 AM

Best answer selected by jianjiacc.
m
0
l
September 14, 2011 2:02:37 AM

Thanks to you guys all.
m
0
l
!