Avatar of sgt_zim
sgt_zimFlag for United States of America asked on

windows management instrumentation

I'm trying to figure out why wmic csproduct returns "no instances found" on a win 7 pro 64 bit machine.  I've run across 3 or 4 laptops that do this.  All of our laptops are HP ProBook  4730s, 4530s, or 4540s, and there seems to be no rhyme or reason as to why just a handful won't report on SN, vendor, etc.

WMI is up and running in services, and I've even restarted it on the laptops where I get the "no instances found" message.  It doesn't matter if I run the wmic/gwmi command from CLI or Powershell, I get the same answer.

WMI is responding on most win32 objects, just not the csproduct or bios objects.
Microsoft Legacy OSWindows OSMicrosoft DOS

Avatar of undefined
Last Comment
Ratnesh Mishra

8/22/2022 - Mon

If you run systeminfo on these laptops, do you have vendor/model reflected there?

Are these UEFI based laptops?

I'll have to check sysinfo, but they're all definitely BIOS, not UEFI.
Ratnesh Mishra

WMI classes are redesigned from windows 7 so need to know which command you are running. Other than that try WMICodeCreator http://www.microsoft.com/en-in/download/details.aspx?id=8572  for more help .

There are various loopholes fixed in Windows 7 so may be previous versions information were available but not now. If you are developer than for specific information you may need to sign NDA with microsoft regarding the same.  

Do let me know the process what you want and how you are trying to achieve so that I can help you better .
Your help has saved me hundreds of hours of internet surfing.
Gerwin Jansen

Can you try from an elevated command prompt: wmic csproduct list full
Do you get any output?

If you do: wmic /?
Do you see this in the 'about' info:
CSPRODUCT                - Computer system product information from SMBIOS.

Rusty, it's just a handful of laptops that are showing "no instances found," and it's only when I query wmic bios get serialnumber and wmic csproduct.  Just about everything else that can be queried through WMI is returning good info.

Strange thing is that these are laptops that we bought in batches 20-30 at a time from HP.  It's just one here and there that won't give the info.
Ratnesh Mishra

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question