Contact Us Today!

HP and Dell Product Service Tags via CMD

Often times as technicians we need to know the service tag and product numbers of the systems we support in order to check a warranty status on vendor websites.  In a world of remote support, asking the user for this information is not always the best option.  This information lies in the system BIOS and windows does not make it readily available for us to retrieve.  However, there is a way to get this information with little to no interaction from the end user.

Dell is the easiest of the manufactures.  With just a service tag, you can obtain all the information needed from Dell's website pertaining to the warranty.  HP however, makes the job a bit more complicated.  Servers and workstations have two codes, a "serial number" and a "product number".  The command we use to get the "service tag" for a Dell, will only yield us the "serial number" for HP's.

Here is a trick to get both:

  • Open an elevated command prompt (search for CMD - right click and 'open as administrator')
  • For Dell's 'Service Tag' and HP's "serial number" the following command will work - WMIC BIOS GET SERIALNUMBER
  • In order to get to the meat of HP's numbers, the following command will work - WMIC CSPRODUCT GET NAME, identifyingnumber

That is all you need.  A google search of this topic will have you digging and digging for this command.  Hope this helps!

Beringer Associates, a Microsoft Gold Certified Partner, is always here to provide expert knowledge in topics like these. Please contact us with any questions you may have.


theProfessor

theProfessor

Rob is the CTO of Beringer Technology Group, and focuses his efforts on software development, cloud engineering, team mentoring and strategic technical direction. Rob has worked with Beringer since 2005, and has influenced every department from Development, Security, Implementation, Support and Sales. Rob graduated with his MBA from Rowan University in 2012, earned his Bachelors of Computer Science in 1997, and is current with several Microsoft technical certifications. Rob is very active, and loves to mountain bike, weight train, cook and hike with his dog pack.