A computer serial number is the unique identifier assigned by the manufacturer to one specific machine, and knowing where to find it saves hours of frustration when you need warranty service, driver downloads, or a repair. Whether you are holding a laptop with a worn-out sticker or staring at a desktop tower with no visible label, this guide walks through every reliable place a serial number hides — on the hardware, inside
the operating system, and even in the firmware. Once you know the tricks, tracking down that string of letters and numbers becomes a two-minute task instead of an afternoon headache.
On the Hardware Itself
The most obvious place to start is the physical machine. Manufacturers print the serial number on a sticker, and its location depends on the form factor.
For laptops, flip the device over and look at the bottom panel. " On many business laptops, the number also sits inside the battery compartment, which means removing the battery on models that allow it. Consider this: you are hunting for a label that usually reads "S/N," "Serial," or "Service Tag. Some ultrabooks tuck the label under the kickstand or beneath a rubber foot And it works..
You'll probably want to bookmark this section.
Desktops and towers typically carry the sticker on the rear panel near the ports, on the side of the case, or on the top surface. All-in-one machines often hide it on the back of the stand or along the lower bezel of the screen.
Easier said than done, but still worth knowing Easy to understand, harder to ignore..
If the sticker has been rubbed away by years of handling, do not give up yet. The number is sometimes etched directly into the chassis, and on certain business lines it can be read from a small QR code that a phone camera can decode.
Most guides skip this. Don't.
Inside the Operating System
When the label is unreadable or missing, the software has your back. Every major platform exposes the serial number through built-in tools.
On Windows, open Command Prompt or PowerShell and run:
wmic bios get serialnumber
On newer systems where wmic has been deprecated, PowerShell offers a modern equivalent:
Get-WmiObject win32_bios | Select-Object SerialNumber
or, on Windows 11:
Get-CimInstance win32_bios | Select-Object SerialNumber
On macOS, click the Apple menu, choose "About This Mac," and the serial number appears right in the overview. For a copyable version, open Terminal and type:
system_profiler SPHardwareDataType | grep Serial
On Linux, the serial number lives in a virtual file exposed by the kernel:
cat /sys/class/dmi/id/product_serial
or, if you prefer a single command that works across most distributions:
sudo dmidecode -s system-serial-number
In the BIOS or UEFI Firmware
The firmware is the most reliable source because it sits below the operating system and cannot be altered by a corrupted drive. Think about it: restart the computer and press the setup key during boot — commonly F2, F10, Del, or Esc, depending on the brand. Once inside the BIOS or UEFI screen, look for a "Main," "Information," or "System" tab. The serial number is listed there alongside the model and service tag. This method is especially valuable when the machine will not boot into its operating system at all.
Quick note before moving on.
Manufacturer Utilities and Your Account
Most vendors ship a support tool that reads the serial number for you and can even open a warranty-check page automatically. Lenovo has Lenovo Vantage, Dell has SupportAssist, HP has HP Support Assistant, and Apple has the built-in System Information app. If the machine is registered to an online account, sign in to the manufacturer's support portal and the device list will display the serial number for each registered product.
A Few Practical Tips
Write the number down and store it somewhere safe once you find it — a note on your phone or a photo of the sticker. Keep the original packaging if you still have it, since the box almost always carries the serial on a barcode label. And remember that the serial number is distinct from the model number and the product key; the serial identifies your individual unit, while the model number describes the whole product line.
Conclusion
A serial number may be printed on a sticker, buried in the operating system, or tucked away in the firmware, but it is never truly lost. Start with the physical label, fall back to a one-line command if the sticker has faded, and turn to the BIOS when the system will not boot. With these methods in your toolkit, you can identify any machine in minutes and move on to whatever warranty claim, driver download, or repair brought you here in the first place.
Quick-Reference Cheat Sheet
| Platform / Scenario | Fastest Method | Fallback Method |
|---|---|---|
| Windows (GUI) | msinfo32 → System Summary |
Settings → System → About |
| Windows (CLI) | wmic bios get serialnumber |
Get-CimInstance win32_bios | Select-Object SerialNumber (PowerShell) |
| macOS (GUI) | Apple Menu → About This Mac | System Information.app (hold Option + Apple Menu) |
| macOS (CLI) | system_profiler SPHardwareDataType | grep Serial |
ioreg -l | grep IOPlatformSerialNumber |
| Linux (CLI) | cat /sys/class/dmi/id/product_serial |
sudo dmidecode -s system-serial-number |
| No OS / Won't Boot | BIOS/UEFI Setup (F2, Del, F10, Esc) | Chassis sticker / Packaging / Invoice |
| Docked / Closed Laptop | Vendor utility (SupportAssist, Vantage, etc.) | Manufacturer support portal (web) |
When All Else Fails
If the sticker is unreadable, the OS is gone, and the BIOS shows "To Be Filled By O.Second, contact the vendor’s support line with the machine’s service tag, express service code, or model number; they can often cross-reference the serial in their backend database using those alternate identifiers. In practice, first, check the original proof of purchase—receipts, order confirmations, or packing slips almost always list the serial number. That's why m. E." (a common sight on replacement motherboards), you still have two avenues. For enterprise fleets, your IT asset management platform (Jamf, Intune, SCCM, Lansweeper) already has the serial recorded from the last inventory scan Practical, not theoretical..
Final Word
The serial number is the single immutable fingerprint of your hardware. Which means whether you are filing an RMA, locking down a device in an MDM, or simply proving ownership, knowing where to look—and in which order—turns a potential headache into a thirty-second task. Bookmark the cheat sheet above, and you’ll never be caught searching the bottom of a laptop in a panic again.
Automating Serial Number Retrieval
In larger environments, manually querying each device becomes impractical. A handful of scripted approaches can pull the identifier en masse and feed it directly into inventory platforms.
-
Windows – PowerShell’s
Get‑CimInstancecan query the BIOS class without needing the OS to be fully booted. A one‑liner such asGet‑CimInstance -ClassName Win32_BIOS | Select‑Object -ExpandProperty SerialNumberworks on machines that are online and reachable via WinRM. For remote scans, wrap the call in a
Invoke‑Commandloop or integrate it with SCCM/Intune collection rules That's the part that actually makes a difference.. -
macOS – The
system_profilercommand can be executed via SSH and its output filtered withawkorgrepto isolate the serial field. Example:system_profiler SPHardwareDataType | awk '/Serial/ {print $4}'This works on both local and network‑accessible Macs, and the same command can be embedded in a launch daemon that continuously reports back to a central server Not complicated — just consistent..
-
Linux –
dmidecodeis the de‑facto tool for reading DMI data. A non‑interactive call:sudo dmidecode -s system-serial-numbercan be placed in a cron job or a systemd timer, pushing the result to a SIEM or asset‑management database via an API endpoint.
-
Vendor‑specific utilities – Dell Command | Update, Lenovo Vantage, HP Support Assistant, and similar programs expose a “serial