8

Whenever I use the command line below

wmic bios get serialnumber

It outputs the BIOS Serial number with my laptop.

However, I've tried that command line to get BIOS serial number with my company's PC, I didn't work a bit.

Here was the output:

C:\Users\companypc>wmic bios get serialnumber
SerialNumber
System Serial Number

So how can I get the BIOS Serial with that problem...

PMay 1903
  • 183

2 Answers2

6

So how can I get the BIOS Serial with that problem.

You do not. You already provided your own answer, however the hardware you have has no serial number. People either did not set one at manufacture, or they forgot about it.

This is sadly quite common.

Hennes
  • 65,804
  • 7
  • 115
  • 169
1

IF USING POWERSHELL

First line will grab all params in "Win32_BIOS"

$computerBIOS = get-wmiobject Win32_BIOS

Second Line will only allow the serial number to show when eriting it to the console

$SerialNumber = $computerBIOS.SerialNumber

Lastly "Write-Host" will show the serial number straight from the bios

write-host $SerialNumber

This is the way I use when trying to find serial number of a remote computer at my job. Its pretty much the same concept but your just not looking for a remote serial your looking for a local one.