Skip to content

!!IMPORTANT!! Discord server termed, join the new one! discord.gg/QNkCQDWtGD

Sense

BIOS Serial Number: PowerShell and WMIC Commands

Find your BIOS serial number using PowerShell and WMIC commands. Learn what the BIOS serial is, how anti-cheats use it, and how it differs from other serials.

By SensePublished

What Is the BIOS Serial Number?

The BIOS serial number is an identifier stored in the SMBIOS (System Management BIOS) tables within your motherboard's firmware. It appears in the Type 0 structure (BIOS Information) and is set by the BIOS vendor — typically AMI, Phoenix, or Insyde — during the firmware build process.

This serial number is distinct from the motherboard serial number and the system serial number, even though all three live in the same SMBIOS data. Here is how they differ:

  • BIOS Serial Number (Type 0): Identifies the firmware build. Often a build identifier or version-specific string rather than a per-unit serial.
  • System Serial Number (Type 1): Set by the system manufacturer (Dell, HP, Lenovo, or the motherboard maker for custom builds). Usually matches the service tag or serial on the physical label.
  • Baseboard Serial Number (Type 2): The motherboard's own serial number, unique per board.

In practice, the "BIOS serial number" that most people search for is actually the System Serial Number — the one that identifies the machine. The BIOS Information serial (Type 0) is rarely a meaningful unique identifier on consumer hardware. Many boards leave it blank, set it to a generic string, or populate it with the BIOS version.

How to Find the BIOS Serial Number

Using WMIC

Open Command Prompt or PowerShell and run:

wmic bios get SerialNumber

Despite the command referencing the "bios" class, this actually returns the System Serial Number from SMBIOS Type 1 — not the Type 0 BIOS Information serial. Microsoft's WMI implementation maps Win32_BIOS.SerialNumber to the system serial, which is the value most people need.

On a Dell system, this returns the Service Tag (e.g., A1B2C3D). On an HP system, it returns the serial printed on the label. On a custom-built PC with an ASUS or Gigabyte board, it typically returns the motherboard's serial or a manufacturer-assigned system serial.

Using PowerShell

The PowerShell equivalent:

Get-CimInstance -ClassName Win32_BIOS | Select-Object SerialNumber, Manufacturer, SMBIOSBIOSVersion

This returns the serial alongside the BIOS manufacturer name and version string, giving you context about what the serial represents.

For a more complete picture of all SMBIOS serial numbers:

# System serial (same as wmic bios get SerialNumber)
(Get-CimInstance Win32_BIOS).SerialNumber

# Motherboard serial
(Get-CimInstance Win32_BaseBoard).SerialNumber

# System UUID
(Get-CimInstance Win32_ComputerSystemProduct).UUID

# System product name
(Get-CimInstance Win32_ComputerSystemProduct).Name

Using Command Prompt (systeminfo)

The systeminfo command displays the BIOS version but not the serial number directly. For serial numbers, WMIC or PowerShell is required.

Using Third-Party Tools

Utilities like CPU-Z, HWiNFO, and Speccy all display SMBIOS information including serial numbers. CPU-Z shows it under the Mainboard tab, while HWiNFO has a dedicated System Summary with all SMBIOS fields.

What Does the BIOS Serial Number Look Like?

The format varies widely by manufacturer:

  • Dell: 7-character alphanumeric Service Tag (e.g., HK3MRT2)
  • HP: 10-character serial (e.g., 5CG0123ABC)
  • Lenovo: Combination of machine type and serial (e.g., PF1234AB)
  • ASUS/Gigabyte/MSI (DIY boards): Varies. May be a board serial like 190702345601234, or may return Default string, To be filled by O.E.M., or simply be blank.

The "To be filled by O.E.M." placeholder is extremely common on consumer motherboards. It means the manufacturer did not program a unique system serial during production. For boards sold to consumers, this is normal — the SMBIOS Type 1 system serial is primarily used by OEMs (Dell, HP, Lenovo) who need to track their complete systems.

BIOS Serial vs. Motherboard Serial

This is one of the most common points of confusion. Let us be precise:

The wmic bios get SerialNumber command returns the system serial (SMBIOS Type 1). The wmic baseboard get SerialNumber command returns the motherboard serial (SMBIOS Type 2).

On an OEM system (Dell, HP, etc.), these are usually different. The system serial is the service tag assigned to the complete computer, while the baseboard serial identifies the specific motherboard PCB.

On a custom-built PC, the system serial often matches the baseboard serial, or one of them is blank. The baseboard serial is more reliably populated because it is programmed during board manufacturing, while the system serial is meant to be set during final system assembly.

For anti-cheat purposes, both are collected. The baseboard serial is generally more useful as a unique identifier because it is more consistently populated across different system types.

How Anti-Cheats Use BIOS and System Serials

Anti-cheat systems read SMBIOS data to build a hardware fingerprint. The serials they collect include:

  1. System Serial Number (what wmic bios get SerialNumber returns)
  2. Baseboard Serial Number
  3. System UUID
  4. BIOS Version and Date

These values are combined with disk serials, MAC addresses, and other identifiers to create a composite HWID. When a player is hardware-banned, the anti-cheat stores this composite and blocks machines that produce a matching fingerprint.

The BIOS-related identifiers are considered high-value because they are firmware-level. Unlike a MAC address or volume serial that can be changed through the operating system, SMBIOS values require firmware tools or interception at the system call level to modify.

However, anti-cheats are aware that many DIY systems report placeholder values like "To be filled by O.E.M." for the system serial. They cannot ban every machine with this placeholder, so they assign less weight to the system serial when it matches a known generic value. The baseboard serial, being more reliably unique, receives higher weight.

Reading SMBIOS Tables Directly

Advanced users or developers may want to read the raw SMBIOS tables without going through WMI:

Using GetSystemFirmwareTable (Windows API)

The Windows API function GetSystemFirmwareTable with the 'RSMB' signature returns the raw SMBIOS table data. Anti-cheats often use this function rather than WMI because it is harder to hook and returns unprocessed firmware data.

DWORD bufferSize = GetSystemFirmwareTable('RSMB', 0, NULL, 0);
BYTE* buffer = (BYTE*)malloc(bufferSize);
GetSystemFirmwareTable('RSMB', 0, buffer, bufferSize);

Parsing the resulting buffer requires walking the SMBIOS structure headers. Each structure has a type, length, and handle, followed by the structure data and then null-terminated strings.

Why This Matters for Spoofing

Because anti-cheats can read SMBIOS data through multiple paths — WMI, direct API calls, or even kernel-mode firmware queries — effective spoofing must cover all of them. A spoofer that only hooks WMI calls will be detected when the anti-cheat reads the firmware table directly.

Sense AC addresses this by intercepting at a level below all these query paths, ensuring that every method of reading SMBIOS data returns consistent spoofed values.

Can You Change the BIOS Serial Number?

There are several approaches, each with trade-offs:

BIOS Modding Tools

Tools like AMIBCP (for AMI BIOS) allow you to open a BIOS image file, edit the SMBIOS strings, and then flash the modified image back to the motherboard. This permanently changes the serial until the next BIOS update overwrites it.

Risks include bricking the motherboard if the flash fails, voiding the warranty, and losing the change on the next BIOS update.

OEM Configuration Tools

Dell provides cctk (Client Configuration Toolkit), HP has BiosConfigUtility, and Lenovo has their own BIOS configuration tools. These can set the system serial, asset tag, and sometimes the UUID on business-class machines. Consumer motherboards do not have equivalent tools.

Registry Modification

Changing cached SMBIOS values in the Windows registry does not affect what GetSystemFirmwareTable returns. Kernel-level anti-cheats read the firmware directly, bypassing the registry cache entirely. Registry edits may fool some user-mode software but will not fool a modern anti-cheat.

HWID Spoofing Software

The most practical approach for most users is a spoofer that intercepts firmware queries at the driver level. When the anti-cheat requests SMBIOS data through any path, the spoofer returns modified values. This avoids the risks of physical BIOS modification and works consistently regardless of the motherboard manufacturer.

Common Issues and Edge Cases

Serial Shows "To be filled by O.E.M."

This is normal for consumer motherboards. The manufacturer left the system serial at its default value. Your baseboard serial (check with wmic baseboard get SerialNumber) is likely populated and unique.

Serial Changes After BIOS Update

Some BIOS updates overwrite the entire SMBIOS table, including serials. This is manufacturer-dependent. Most major OEMs (Dell, HP, Lenovo) preserve serials across updates, but some consumer board manufacturers do not guarantee this.

Different Tools Show Different Serials

This usually means the tools are querying different SMBIOS types. CPU-Z might show the Type 2 baseboard serial while WMIC shows the Type 1 system serial. Both are correct — they are just reading different fields.

Serial Is Blank or Returns an Error

Some ultra-budget or OEM motherboards do not populate certain SMBIOS fields. If both the system serial and baseboard serial are blank, the board manufacturer did not program them. This is unusual but not unheard of.

BIOS Serials in HWID Bans

When a hardware ban is issued, the anti-cheat's fingerprint includes SMBIOS serials. If you receive a ban and want to start fresh, changing just the BIOS serial while leaving everything else untouched will not help — the fingerprint includes dozens of identifiers.

Tools like Sense AC's HWID spoofer handle the complete fingerprint: disk serials, SMBIOS values (system serial, baseboard serial, UUID), MAC addresses, and other identifiers are all presented as a consistent, different identity. This comprehensive approach is necessary because anti-cheats cross-reference multiple identifiers and flag inconsistencies.

Quick Reference

CommandWhat It Returns
wmic bios get SerialNumberSystem serial (Type 1)
wmic baseboard get SerialNumberMotherboard serial (Type 2)
wmic csproduct get UUIDSystem UUID (Type 1)
wmic bios get SMBIOSBIOSVersionBIOS firmware version
wmic bios get ReleaseDateBIOS release date

Summary

The "BIOS serial number" is commonly a misnomer for the system serial number stored in SMBIOS Type 1 tables. You can retrieve it with a simple WMIC or PowerShell command. On OEM systems it returns the service tag; on DIY systems it may be blank or generic. Anti-cheats use it alongside dozens of other identifiers to build a hardware fingerprint, and changing it alone is not sufficient to alter the fingerprint. For a complete hardware identity reset, a comprehensive spoofer that covers all SMBIOS fields and other hardware identifiers is required.