Skip to content

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

Sense

RAM Serial Number: How to Find It in Windows

Learn how to find your RAM serial number in Windows using WMIC and PowerShell, what the serial means, and whether anti-cheat systems track RAM modules.

By SensePublished

What Is a RAM Serial Number?

Every stick of RAM (Random Access Memory) installed in your computer carries a serial number assigned by the manufacturer during production. This serial number is a unique string that identifies that specific memory module out of all the modules the manufacturer has ever produced. It is embedded in a small chip on the memory stick called the SPD (Serial Presence Detect) EEPROM, which stores technical information about the module.

The SPD chip holds more than just the serial number. It contains data about the module's capacity, speed, timings, voltage requirements, and manufacturer identity. When your computer boots up, the BIOS reads the SPD data to configure the memory controller correctly. The serial number is part of this data set, though it plays no role in how the memory actually operates.

RAM serial numbers follow different formats depending on the manufacturer. Some use purely numeric strings, others use alphanumeric codes, and the length can vary from 8 to 16 or more characters. Unlike some other hardware identifiers that follow a standardized format, RAM serial numbers do not have a universal structure.

How Windows Reads RAM Serial Numbers

Windows accesses RAM serial numbers through the WMI (Windows Management Instrumentation) framework. WMI queries the SMBIOS (System Management BIOS) tables that the BIOS populates during the boot process. The SMBIOS standard defines a "Memory Device" structure (Type 17) that includes fields for the serial number, manufacturer, part number, and other attributes of each installed memory module.

When you run a command to retrieve the RAM serial number, Windows reads the SMBIOS table rather than communicating directly with the SPD chip on the memory stick. This means the serial number you see in Windows is whatever the BIOS reported to the operating system. In most cases, this matches what is on the SPD chip, but some BIOS implementations may report incomplete or placeholder data.

It is worth noting that not all memory modules have their serial numbers properly exposed through SMBIOS. Some budget modules or OEM memory might report a blank value, a string of zeros, or a generic placeholder. This does not mean the module lacks a serial number; it means the BIOS did not pass that information along to the operating system.

Finding RAM Serial Numbers with WMIC

The quickest way to check your RAM serial numbers in Windows is through the WMIC (Windows Management Instrumentation Command-line) tool. Open a Command Prompt or PowerShell window and run:

wmic memorychip get serialnumber

This command queries the Win32_PhysicalMemory WMI class and outputs the serial number for each installed memory module. If you have two sticks of RAM, you will see two serial numbers listed.

To see more details about each module alongside the serial number, you can expand the query:

wmic memorychip get manufacturer, partnumber, serialnumber, capacity, speed

This displays the manufacturer name, part number, serial number, capacity in bytes, and speed in MHz for each module. The capacity is shown in bytes, so you will need to divide by 1,073,741,824 to convert to gigabytes.

Keep in mind that Microsoft has deprecated WMIC in recent versions of Windows. While it still works in Windows 10 and 11, Microsoft recommends transitioning to PowerShell for WMI queries. WMIC may be removed in a future Windows update.

Finding RAM Serial Numbers with PowerShell

PowerShell provides a more modern and flexible way to query the same information. The equivalent command is:

Get-CimInstance -ClassName Win32_PhysicalMemory | Select-Object Manufacturer, PartNumber, SerialNumber, Capacity, Speed

This outputs a formatted table with the same data as the WMIC command. PowerShell's advantage is that you can easily filter, sort, and format the output. For example, to show capacity in gigabytes:

Get-CimInstance -ClassName Win32_PhysicalMemory | Select-Object Manufacturer, PartNumber, SerialNumber, @{Name='CapacityGB';Expression={$_.Capacity / 1GB}}, Speed

If you only want the serial numbers with no extra information:

(Get-CimInstance -ClassName Win32_PhysicalMemory).SerialNumber

This outputs each serial number on its own line, one per installed module.

What If the Serial Number Shows as Blank or Zero?

It is not uncommon to run the serial number query and see results like 00000000, a series of spaces, or a completely empty field. This happens for several reasons.

Some memory manufacturers, particularly those producing budget or OEM modules, do not program unique serial numbers into the SPD chip. Instead, they use a default value or leave the field empty. The module still works perfectly, but it lacks a distinguishing serial number.

Certain BIOS versions do not fully parse the SPD data or do not populate the SMBIOS Type 17 structure with the serial number field. This is more common on older motherboards or systems with outdated BIOS firmware. Updating the BIOS sometimes resolves this, though it depends on whether the manufacturer added support for reporting the serial number in the update.

Virtual machines typically report placeholder serial numbers for their emulated memory. If you are running Windows inside a VM, you will likely see generic values rather than real hardware serial numbers.

Reading SPD Data Directly

If Windows does not report a serial number for your RAM but you want to confirm whether the module actually has one, you can read the SPD chip directly using third-party tools.

CPU-Z is a popular free utility that reads SPD data from memory modules. Under the SPD tab, it shows detailed information for each memory slot, including the serial number as stored on the SPD chip. This bypasses the SMBIOS layer entirely and reads the data straight from the module.

Thaiphoon Burner is another tool specifically designed for reading and analyzing SPD data. It provides extremely detailed information about memory modules, including the full SPD dump, manufacturer identification, and serial number. It can even identify the specific DRAM chips used on the module.

These tools are useful for verifying whether a blank serial number in Windows is due to the BIOS not reporting it or the module genuinely lacking one.

Do Anti-Cheats Track RAM Serial Numbers?

This is a question that comes up frequently in discussions about hardware bans. The short answer is that RAM serial numbers are not a primary target for most anti-cheat systems, but they are not completely ignored either.

The major anti-cheat platforms like Vanguard, BattlEye, and Easy Anti-Cheat focus their hardware fingerprinting on identifiers that are more reliable and harder to change. Disk serial numbers, motherboard serial numbers, MAC addresses, and the system UUID are the core components of most hardware ban profiles. These identifiers are consistent, widely available, and difficult to spoof without specialized tools.

RAM serial numbers present some challenges for anti-cheat fingerprinting. Not all modules report serial numbers, which means the anti-cheat cannot rely on this data being available. Players frequently upgrade or replace RAM, which would change the serial numbers and potentially trigger false positives. The serial numbers can also be affected by the order in which modules are installed in the DIMM slots.

That said, some anti-cheat systems do read RAM serial numbers as a supplementary data point. They might not use it as a primary ban identifier, but they could include it in a broader hardware profile to increase confidence in a match. If a banned player changes their disk serial and motherboard serial but leaves the same RAM installed, the matching RAM serial numbers could serve as additional evidence.

The trend in anti-cheat development is to collect as many identifiers as possible and use statistical matching rather than exact matches on individual fields. In this context, RAM serial numbers contribute to the overall fingerprint even if they are not decisive on their own.

RAM Serial Numbers and HWID Spoofing

When performing a comprehensive HWID spoof, RAM serial numbers are part of the picture. A thorough spoofer needs to address identifiers at multiple levels: the hardware level (what the BIOS reports), the operating system level (what Windows exposes through WMI), and the application level (what programs can query directly).

For RAM serial numbers, spoofing can occur at the WMI layer by intercepting or modifying the values that Windows reports when applications query Win32_PhysicalMemory. This does not change the actual data on the SPD chip, but it changes what software sees when it asks Windows for the serial number.

More advanced approaches may also address the raw SMBIOS table that the BIOS constructs during boot. This is a deeper level of spoofing that requires modifying data before the operating system even starts reading it.

Sense AC's HWID spoofer addresses RAM serial numbers as part of its comprehensive identifier management. Rather than leaving any potential tracking vector unaddressed, Sense ensures that all identifiers visible to anti-cheat systems present a consistent new hardware profile. This includes the RAM serial numbers alongside the more commonly tracked identifiers like disk serials and MAC addresses.

RAM Serial Numbers vs. Part Numbers

People sometimes confuse the serial number with the part number. They are different things.

The part number identifies the model of the memory module. Every module of the same model shares the same part number. For example, all sticks of a particular Corsair Vengeance kit will have the same part number. The part number tells you the speed, capacity, timings, and other specifications of the module.

The serial number is unique to each individual stick. Two modules from the same kit, sold in the same package, will have the same part number but different serial numbers. The serial number identifies that specific unit from the manufacturing line.

Anti-cheat systems that look at RAM data are interested in the serial number, not the part number. The part number only tells them what kind of RAM you have, which is not useful for distinguishing one computer from another since millions of people might have the same model of RAM.

Physical Location of the Serial Number

If you physically remove a RAM stick from your computer, you can usually find the serial number printed on a label affixed to the module. The label typically includes the manufacturer name, part number, serial number, capacity, speed rating, and various certification marks.

The label format varies by manufacturer. Some print the serial number with a clear "S/N" prefix, while others embed it within a longer string of characters that also encodes the manufacturing date, factory location, and batch number. Kingston, Corsair, G.Skill, Crucial, and Samsung each have their own labeling conventions.

Matching the physical label to the software-reported serial number can confirm that the SPD chip data is accurate and that the BIOS is reporting it correctly to the operating system.

Does Changing RAM Change Your HWID?

Replacing your RAM modules will change the serial numbers reported by Windows, since the new modules will have different serial numbers. However, as discussed, RAM serial numbers are a minor component of most hardware fingerprints.

If you are trying to evade a hardware ban by swapping RAM, you are addressing one of the least important identifiers while leaving the major ones untouched. Your disk serial, motherboard serial, MAC address, and other primary identifiers will remain the same, and the anti-cheat will still match your system to the banned profile.

Swapping RAM might make a marginal difference in a statistical matching system by reducing the overall similarity score between your current hardware profile and the banned one. But on its own, it is far from sufficient.

Dual-Channel, Quad-Channel, and Slot Order

When you install RAM in a multi-channel configuration, the order of the modules matters for performance. The serial numbers are associated with the physical modules, not the slots they occupy. If you move a stick from slot A1 to slot B1, the serial number stays with the stick.

However, the order in which modules are reported by WMI may change depending on the slot configuration. Some systems enumerate modules by physical slot order, while others use the order in which the memory controller initializes them. This can cause the list of serial numbers to appear in a different order if you rearrange your modules, even though the actual values remain the same.

Anti-cheat systems that track RAM serial numbers need to account for this variability. A simple comparison of ordered lists would produce false negatives whenever a player moves their RAM to different slots. Robust implementations compare the sets of serial numbers regardless of order.

Summary

RAM serial numbers are unique identifiers assigned to each memory module during manufacturing and stored on the SPD chip. Windows exposes them through WMI, and you can retrieve them using WMIC or PowerShell commands. Not all modules report serial numbers reliably, and the BIOS may not always pass this data to the operating system. While anti-cheat systems primarily focus on more stable identifiers like disk serials and motherboard serials, RAM serial numbers can serve as supplementary data in hardware fingerprinting. For comprehensive hardware identity management, Sense AC addresses RAM serial numbers alongside all other tracked identifiers to ensure a consistent and complete new hardware profile.