Find the serial number on a Windows PC

Your PC’s serial number is stored in the BIOS, and Windows can read it from there. This works the same on HP, Lenovo, Dell and most other brands. The old wmic command has been removed from Windows.

This is where the serial number is

Device turns on
Open PowerShell and type: Get-CimInstance Win32_BIOS | Select-Object SerialNumber
Device won't turn on
On the sticker on the device, on laptops usually on the bottom. It is also in the BIOS, which you open at startup.

Step by step

  1. Open the Start menu and type “PowerShell”.

  2. Open Windows PowerShell.

  3. Type: Get-CimInstance Win32_BIOS | Select-Object SerialNumber

  4. Press Enter and read the number under SerialNumber.

Why PowerShell?

Windows reads the serial number from the BIOS through the Win32_BIOS class. Microsoft recommends PowerShell for this. The command works on Windows 10 and 11.

What about wmic bios get serialnumber?

The old wmic command has been deprecated for years. In Windows 11 23H2 and 24H2 it was disabled by default, and Microsoft has since removed it from current Windows 11 versions. On Windows 10 it often still works.

Other ways

Depending on the device, Windows 11 also shows the serial number under Settings → System → About, in the Windows specifications. Manufacturers have their own tools:

  • HP: fn + esc (laptop) or ctrl + alt + s (desktop)
  • Lenovo: Lenovo Vantage
  • Dell: SupportAssist

Not there?

  • If Windows does not start: open the BIOS at startup (HP esc → f10, Lenovo F1 or F2, Dell F2).
  • Look for the sticker on the case.
  • Check your invoice or receipt.

Frequently asked questions

How do I find the serial number of this PC?

In PowerShell with Get-CimInstance Win32_BIOS | Select-Object SerialNumber. The number appears under SerialNumber.

Why does wmic bios get serialnumber no longer work?

Microsoft has removed wmic from current Windows 11 versions. Use the PowerShell command instead.

Sources: Microsoft (WMIC), Microsoft (Win32_BIOS)

Related terms

Other brands