Open Windows PowerShell, type Get-CimInstance Win32_BIOS | Select-Object SerialNumber and press Enter: the value under SerialNumber is the serial number your PC maker stored in the firmware. On many PCs you can also see it without typing anything in Settings > System > About.
These steps cover Windows 11 Home and Pro on laptops, desktops, all-in-ones and Surface devices. A short Windows 10 note follows near the end, and there are separate routes for a PC that will not start.
Serial Number, Product Key or Model Number?
Support forms, warranty checks and insurance claims ask for different identifiers, and several of them look alike. Before you start, make sure the serial number is the thing you need.
| Identifier | What it identifies | Where it usually comes from |
|---|---|---|
| Serial number | This one physical computer | The maker’s label, the box and the firmware (what the commands below read) |
| Service Tag (Dell) | This one Dell computer; Dell treats it as the serial number | Dell label, firmware, Dell support tools |
| Model or product number | The product line and configuration, shared by many identical PCs | Label, box, Settings > System > About |
| Windows product key | A 25-character code for a Windows license | Activation records, email receipt, firmware on many prebuilt PCs |
| Device ID and Product ID on the About page | Values Windows uses for this installation | Settings > System > About |
The serial number belongs to the hardware and stays the same if you reinstall Windows. The product key belongs to the Windows license. If a technician asked for the key instead, the separate guide on finding your Windows product key covers that job.
Check the About Page in Settings
This is the quickest route when your PC maker passes the serial number to Windows. It does not on every PC, so if you do not see it after step 4, go straight to the PowerShell method in the next section.
- Press Windows + I to open Settings.
- Select System in the left pane.
- Scroll to the bottom of the System page and select About.
- Look for an entry labeled Serial number. Microsoft’s instructions for Surface devices place it under Windows specifications; on other brands the position can differ.

If the About page shows a Device ID and a Product ID but no serial number, those two values are not substitutes: they describe your Windows installation, not the hardware, so do not give them to a support agent who asks for the serial number. The About page is also where Windows lists your processor, RAM and Windows edition; for those, see the guide to checking PC specs in Windows 11.
Find the Serial Number With PowerShell
PowerShell reads the serial number straight from the firmware information Windows collects at startup, so it works on PCs where Settings shows nothing. The command uses the Win32_BIOS class, which Microsoft describes on its Win32_BIOS reference page as representing the computer’s BIOS attributes, including a SerialNumber property.
- Select Start (or the search box on the taskbar) and type PowerShell.
- Select Windows PowerShell in the results. A blue or black window opens with a prompt that ends in
>. -
Type the following command, or copy and paste it, and press Enter:
Get-CimInstance Win32_BIOS | Select-Object SerialNumber -
Read the line under the SerialNumber heading and dashes. That string of letters and numbers is your serial number.

If you only want the value with no heading, which is easier to copy, use (Get-CimInstance Win32_BIOS).SerialNumber instead. If you copy the number by hand, compare it with the label when you can, since characters such as 0 and O or 1 and I are easy to confuse.
Dell gives a slightly different command on its page about finding a Service Tag with Windows PowerShell: GWMI -Class Win32_Bios | select SerialNumber. It reads the same Win32_BIOS value through the older Get-WmiObject cmdlet, so on a Dell PC either command returns the Service Tag.
Using Command Prompt instead
If you prefer Command Prompt or are following older instructions that open it, you can still run the PowerShell version from there. Type this line and press Enter:
powershell -command "(Get-CimInstance Win32_BIOS).SerialNumber"
The serial number appears on the next line.
Why “wmic bios get serialnumber” No Longer Works
Many older guides tell you to type wmic bios get serialnumber. That relies on WMIC (Windows Management Instrumentation Command-line), a tool Microsoft has been phasing out for years. According to Microsoft’s page on WMIC removal from Windows:
- WMIC was deprecated in Windows 10, version 21H2.
- Windows 11, version 22H2 still had it as a Feature on Demand, installed and turned on by default.
- Windows 11, versions 23H2 and 24H2 turned it off by default.
- Upgrading to Windows 11, version 25H2 removes it if it was installed.
- The August 2026 preview update for Windows 11, versions 24H2 and 25H2, removed it, and it is no longer offered as a Feature on Demand.
Microsoft’s advice is to use PowerShell for these tasks, which is exactly what the commands above do. Only the wmic.exe command-line tool is gone; the WMI service that PowerShell reads from is still part of Windows, so the serial number is still there to be read. On an up-to-date Windows 11 PC the old command fails because the tool itself is missing, not because your serial number is.
When Windows Shows a Placeholder or a Blank
Sometimes the command runs but the value is clearly not a real serial number. Common examples are To Be Filled By O.E.M., Default string, System Serial Number, a row of zeros, or nothing at all.

This means the company that built the PC never wrote a serial number into the firmware. It is common on desktops assembled by a local shop or by the owner, where the motherboard maker leaves the field for the system builder to fill in. Running the command again, or as an administrator, will not change the answer, because Windows can only report what the firmware holds.
What to do instead:
- Check the physical label on the case or underside (see the next section).
- Check the box and paperwork. The barcode sticker on the original box usually includes the serial number, and the invoice, warranty card or order confirmation email often repeats it.
- For a self-built PC, there is no single system serial number. Warranty claims go to each part’s maker, so use the serial number printed on the motherboard, graphics card or drive in question, or on that part’s box.
- For a PC from a local builder, ask the shop what number they recorded for the warranty.
Find It Without Windows: Label, Box or Firmware
If the PC will not start, has been wiped, or you are checking a computer you do not have the password for, the serial number is still available from the hardware itself.
The label on the device
| Device type | Where to look |
|---|---|
| Most laptops | Sticker or printed text on the bottom panel; on older laptops with a removable battery, sometimes inside the battery bay |
| Desktop towers | Sticker on the back, side or top of the case |
| Surface Pro and Surface Go | Under the kickstand, near its base |
| Surface Laptop models | Under the keyboard, near the hinge |
| Surface Studio | Bottom of the base (lay the screen face down) |
Labels often show several codes. Look for a line marked S/N, SN, Serial No., or on Dell PCs Service Tag. Microsoft notes that on Surface labels with several groups of characters, the serial number is usually the last group. A phone camera with the flashlight on makes small or worn print easier to read.
The firmware setup screen
The BIOS or UEFI setup screen usually shows the serial number on its main page or on a page called system or PC information. On Surface devices, Microsoft lists it in Surface UEFI under PC information. You can open firmware settings from Windows through Settings > System > Recovery > Advanced startup, or with your maker’s startup key when Windows will not load; the guide to opening BIOS in Windows 11 lists the keys for the major brands. Look only, then exit without saving. If the firmware shows a placeholder, the commands above will too, because they read the same value.
The maker’s support app
Most big brands preinstall a support or system app, and it usually shows the serial number on its device information page. On Surface, open Start, search for Surface, open the Surface app, expand Device information and read the value next to Serial number, as described in Microsoft’s Surface serial number instructions. For other brands, check the support section of the maker’s own website for the name of its app.
Which Method to Use
| Your situation | Best method |
|---|---|
| Windows works and you want the number quickly | Settings > System > About, then PowerShell if it is not listed |
| Old guide’s wmic command fails | PowerShell command above |
| Result is “To Be Filled By O.E.M.” or blank | Label, box or invoice |
| PC will not start | Label, then firmware setup screen |
| Self-built desktop | Serial numbers of the individual parts |
Getting the Serial Number of Another PC on Your Network
In offices, an administrator can read the same value from another Windows computer. Microsoft’s Get-CimInstance reference documents a -ComputerName parameter, so a command such as Get-CimInstance Win32_BIOS -ComputerName PC-NAME | Select-Object SerialNumber queries a remote PC. It needs an administrator account on the other computer and remote management allowed on it, so it is mainly a tool for managed work networks. At home, it is simpler to run the command on each PC.
Keep the Number Somewhere Safe
Write the serial number down along with the model, the purchase date and where you bought the PC. A note in your password manager or a photo of the label stored in your cloud photos works well, because you will need the number most when the laptop is lost, stolen or will not turn on. A police report and an insurance claim for a stolen laptop will both ask for it.
Treat the number as semi-private. It is not a password, but it is tied to your warranty and support records, so share it with the maker, your insurer or a repair shop rather than posting it in public forums or photos.
Windows 10
Windows 10 reached end of support on October 14, 2025. The PowerShell command above works the same way on Windows 10, and the label, box and firmware routes do not depend on Windows at all. Microsoft’s removal notice says WMIC was removed only from supported versions of Windows 11, so the old wmic command may still run on a Windows 10 PC, but the PowerShell command is the one to rely on. If you are unsure which version you have, here is how to check which Windows version you are using.
Serial Number Questions
Do I need to run PowerShell as an administrator?
The steps above open PowerShell normally, and the Dell instructions linked above do the same. Running it as an administrator does not reveal a different serial number; if a normal window shows a placeholder, an administrator window will show the same placeholder.
Why does Settings show a serial number on my laptop but not my desktop?
Whether the About page lists it depends on the maker filling in that information in the firmware. Brand-name laptops usually do. Custom-built desktops often do not, and then PowerShell returns a placeholder too, so the label or the part boxes are the only sources.
Is the serial number the same as the Windows product key?
No. The serial number identifies the computer itself and stays the same when you reinstall or upgrade Windows. The product key is a 25-character code that activates a Windows license, and it lives in your activation records rather than on the hardware label.
My Dell asks for a Service Tag. Is that different?
Dell calls its serial number the Service Tag. The PowerShell command above returns it, and Dell’s own PowerShell instructions read the same Win32_BIOS value.
How do I find the serial number of a lost or stolen laptop?
You cannot run a command on a computer you no longer have, so look at the records instead: the original box, the invoice or order confirmation email, and the warranty registration with the maker. Microsoft’s page on managing devices in your Microsoft account notes that registering a device there asks for its serial number, which is one more reason to write the number down while you still have the PC.