• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2259
  • Last Modified:

Can you get an HP Product number using DOS?


Is there a way to get the PRODUCT NUMBER of an HP Server/Desktop by using DOS?

I have trawled several threads and the primary DOS commands listed only seem to bring up the serial number and model. I struggle with WMIC commands as I have limited scripting knowledge, not least how one would run this.

I know HP Part Surfer will provide PRODUCT NUMBER from serial number, but it would be nice to cut this loop out.

I am 99% sure a techy at an old workplace worked this out, but can't for the life of me remember how.
2 Solutions
wmic ComputerSystem
You get a lot of nonsense but 3/4 of the way down you will see "Product ID: xxxxxx-xxx".

To get the serial number and HP Model in DOS, use the command: wmic csproduct
the serial number will appear before the model.
Use from the command prompt : wmic csproduct get/value
Same as above, just a bit neater.

If you are wanting to find these out for multiple machines on a network, spiceworks can help.  It's free and scans the network.  It can also provide you with the warranty info etc as well as loads of other features! www.spiceworks.com

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get 10% Off Your First Squarespace Website

Ready to showcase your work, publish content or promote your business online? With Squarespace’s award-winning templates and 24/7 customer service, getting started is simple. Head to Squarespace.com and use offer code ‘EXPERTS’ to get 10% off your first purchase.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now