jmdowling
asked on
WMIC invalid class error
I am trying to use WMIC to obtain a list of all installed software on numerous Windows 2003 Standard Edition Servers and some Windows XP workstations. I am Logged in as administrator from the domain controller, The command I am using is WMIC - which enters me into interactive mode. At the wmic:root\cli> prompt i am typing /node:"server-name" PRODUCT. For some of my servers i get the information i want, for others i get the following error:
Node - server01
ERROR:
Code = 0x80041010
Description = Invalid class
Facility = WMI
My initial though was that i needed to log into server01 and run the wmic command so it goes through the installing phase. I did that but it did not change the outcome I am receiving. I am still receiving the same error. I also receive this error when I log into server01 and run the wmic product command. I am logging in as a domain administrator. I tried both interactive and non-interactive mode but still get the same results.
Any ideas would be helpful...........
thanks,
jmdowling
Node - server01
ERROR:
Code = 0x80041010
Description = Invalid class
Facility = WMI
My initial though was that i needed to log into server01 and run the wmic command so it goes through the installing phase. I did that but it did not change the outcome I am receiving. I am still receiving the same error. I also receive this error when I log into server01 and run the wmic product command. I am logging in as a domain administrator. I tried both interactive and non-interactive mode but still get the same results.
Any ideas would be helpful...........
thanks,
jmdowling
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I started using Hyena since I was unable to resolve my wmic issues. Hyena is working fine and allowing me to access the information I am interested in.
jdowling
jdowling
Okay, a little late, but I found a solution.
For Windows 2003
Install the WMI Windows Installer Provider (Add Remove Programs under Management and Monitoring tools)
See also: http://msdn.microsoft.com/en-us/library/aa392726(VS.85).aspx
For Windows 2003
Install the WMI Windows Installer Provider (Add Remove Programs under Management and Monitoring tools)
See also: http://msdn.microsoft.com/en-us/library/aa392726(VS.85).aspx
ASKER
thanks,
jmdowling