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
Avatar of arnold
Flag of United States of America image

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

Are these UEFI based laptops?
Avatar of sgt_zim
Flag of United States of America image


I'll have to check sysinfo, but they're all definitely BIOS, not UEFI.
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 .
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.
Avatar of sgt_zim
Flag of United States of America image


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.
Avatar of Ratnesh Mishra
Ratnesh Mishra
Flag of India image

Blurred text
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Windows OS
Windows OS

This topic area includes legacy versions of Windows prior to Windows 2000: Windows 3/3.1, Windows 95 and Windows 98, plus any other Windows-related versions including Windows Mobile.

Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews


IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo