Skip to content
Peripherals / RAM / SPD
Evidence grades
C Confirmed first hand
confirmed first hand by a named user with hardware and procedure details.
A Verified against a cited source
verified against a cited specification, vendor document, Microsoft document, or repository source.
CC Multiple community reports
supported by multiple independent community reports.
S Single claim or unverified procedure
a single claim or a procedure that has not been independently verified.

RAM Identifier Privacy Guide ​

NOTE

TL;DR: RAM modules store a serial number in SPD non-volatile memory. Modules that ship with null serials need no write; otherwise an external programmer can edit the SPD identity fields. Who reads it: firmware builds an SMBIOS Type 17 structure from SPD; Windows exposes it through Win32_PhysicalMemory. Fingerprinting stacks read that view. Status: field layouts, CRC coverage, and protection model verified against JEDEC, DMTF, and vendor sources A. The write and recovery procedures have not been tested by this project. SRisk: a bad SPD write can prevent a module from completing memory initialization.

CAUTION

A bad SPD write can prevent a module from completing memory initialization. Wrong organization, timing, voltage, or support-device data can also cause instability. Do not write to your only working module. Keep a verified full binary backup and a compatible external programmer before changing anything.

Evidence grades appear inline. See How to read these guides.

RAM modules store configuration and manufacturing data in Serial Presence Detect (SPD) non-volatile memory. System firmware presents memory information through SMBIOS Memory Device structures, Type 17. On Windows, Win32_PhysicalMemory maps fields such as SerialNumber and PartNumber from SMBIOS. It is an SMBIOS view, not proof that an application read the SPD device directly. A

Table of contents ​

Scope and data path ​

JEDEC defines SPD contents so firmware can identify a module and initialize the memory channel. DMTF defines the SMBIOS Type 17 fields that firmware exposes to management software. Microsoft maps Win32_PhysicalMemory.SerialNumber and PartNumber from those Type 17 fields. The standards do not require firmware to expose every SPD byte or to preserve its raw formatting. A

The observable path on this project is:

  1. The module stores SPD configuration and manufacturing data.
  2. Firmware builds an SMBIOS Type 17 structure for each memory device.
  3. Windows exposes those SMBIOS values through Win32_PhysicalMemory.
  4. HWIDChecker displays DeviceLocator, Manufacturer, PartNumber, Capacity, and SerialNumber from that WMI class. A
Observation pathRAM identity data path
  1. Module SPD

    Configuration and manufacturing data.

  2. Firmware: Type 17

    Firmware builds the SMBIOS memory-device record.

  3. Windows: WMI

    Win32_PhysicalMemory exposes the SMBIOS values.

  4. HWIDChecker

    Locator, manufacturer, part, capacity and serial.

PowerShell and HWIDChecker share this observation layer. Agreement is not an independent raw-SPD comparison. Firmware need not expose every SPD byte or preserve its raw formatting. The external-programmer write and raw-readback workflow remains untested [S].

PowerShell and HWIDChecker therefore show the same observation layer. Agreement between them is useful, but it is not an independent raw-SPD comparison.

The project README RAM section lists Corsair, GeIL, and Trident Z G.Skill DDR4/DDR5 families as candidates that may report null serials. Treat the list as a starting point, not a guarantee for every model, production date, or PCB revision. Verify the exact modules before purchase or use.

Identity fields ​

DDR4 and DDR5 define a manufacturing-information area. The main identity-related fields are below. A

FieldMeaningPrivacy relevance
Module manufacturer IDJEDEC JEP106 code for the module assemblerIdentifies a vendor, not one module
Manufacturing locationVendor-defined site codeCan narrow a production source
Manufacturing dateBCD year and weekCan narrow a production batch
Module serial numberManufacturer-assigned four-byte valueIntended to identify one module
Module part numberManufacturer-assigned ASCII product textIdentifies the model or family
Module revisionVendor-defined assembly revisionNarrows the module variant
DRAM manufacturer IDJEP106 code for the DRAM devicesDifferent from the module assembler
DRAM steppingVendor-defined DRAM revisionNarrows the DRAM revision

Changing manufacturing fields does not change the physical DRAM devices, capacity, rank layout, bus width, timings, label, or barcode. It also does not change motherboard, CPU, storage, TPM, network, or USB identifiers. On DDR5 it does not change the identity or configuration of a separate PMIC, register clock driver, temperature sensor, or RGB controller. A

NOTE

A changed SPD serial is one changed data point. It does not erase old inventory records or make a computer anonymous.

DDR4 and DDR5 layout ​

DDR4 manufacturing area ​

JEDEC Annex L defines a 512-byte DDR4 SPD address space. Manufacturing information occupies bytes 320 through 383, which are the upper half of 128-byte protection block 2. A

DDR4 bytesContents
320-321Module manufacturer ID
322Manufacturing location
323-324Manufacturing year and week
325-328Module serial number
329-348Module part number, 20 ASCII bytes
349Module revision code
350-351DRAM manufacturer ID
352DRAM stepping
353-381Module-manufacturer-specific data
382-383Reserved, coded as 00h

DDR4 base-configuration CRC bytes are 126-127 and cover bytes 0-125. Module-specific CRC bytes are 254-255 and cover bytes 128-253. Neither CRC covers the manufacturing area at bytes 320-383. A serial-only change at bytes 325-328 must not change either CRC field. A

DDR5 manufacturing area ​

DDR5 SPD5118 hubs provide 1024 bytes of non-volatile memory as sixteen 64-byte protection blocks. The manufacturing area is bytes 512 through 639, which are protection blocks 8 and 9. The serial and part number are both in block 8. A

DDR5 bytesContents
512-513Module manufacturer ID
514Manufacturing location
515-516Manufacturing year and week
517-520Module serial number
521-550Module part number, 30 ASCII bytes
551Module revision code
552-553DRAM manufacturer ID
554DRAM stepping
555-639Module-manufacturer-specific data
640-1023End-user-programmable area

DDR5 stores a CRC for bytes 0-509 in bytes 510-511. The manufacturing area begins at byte 512, so a serial-only change at bytes 517-520 does not require a CRC update. A tool that changes bytes 510-511 during a serial-only edit is not making the narrow change described by this guide. A

Support devices on DDR5 ​

An SPD5118 is a hub with SPD non-volatile memory and an optional temperature sensor. The hub also separates the host sideband bus from the local bus used by other module devices. A PMIC is a separate component that performs local voltage regulation and power sequencing. Some modules add a separate RGB controller. A

CAUTION

Do not change PMIC registers, voltage settings, power sequences, timing fields, or overclocking profiles for identifier work. None is required for a serial-only edit.

Write protection ​

DDR4 EE1004 protection ​

Common DDR4 SPD devices implement the JEDEC EE1004 interface. The Microchip AT34C04 contains four independently settable reversible software write-protection regions of 128 bytes each. A

  • The serial is in block 2, bytes 256-383. Inspect block 2 protection before doing anything else.
  • JEDEC Annex L requires compliant suppliers to protect blocks 0 and 1. It requires block 2 protection when the extended-function area is used. It requires block 3 to remain unprotected. Block 2 is therefore not guaranteed to have the same protection state on every module. A
  • On AT34C04, setting or clearing reversible software write protection requires the documented command while the A0 pin is driven at the specified high voltage, VHV. A
  • A clear command removes reversible protection from all four blocks at once. It cannot clear only block 2. Record every block's original state so it can be restored. A
  • The AT34C04 does not implement legacy Permanent Software Write Protection. Do not send a PSWP command intended for another EEPROM generation or part. A

DDR5 SPD5118 protection ​

SPD5118 hubs map protection for NVM blocks 0-7 in mode register MR12 and blocks 8-15 in MR13. Bit 0 of MR13 controls block 8, which contains serial bytes 517-520. A

In normal run-time mode, the hub allows a protection bit to be set to 1 but does not allow it to be cleared. The Renesas datasheet defines a separate offline-tester mode, selected by the documented HSA pin connection, in which protection bits may be cleared. Do not improvise that wiring. Use a programmer that explicitly implements SPD5118 offline-tester mode and reports the protection map. A

Platform write disable ​

A writable SPD device can still be read-only from the operating system. Intel documents an SPDWD bit that blocks writes to the SPD SMBus address range until the next platform reset. The cited Core Ultra register uses on-wire addresses A0h through AEh, equivalent to 7-bit addresses 0x50 through 0x57. BIOS is expected to set the lock. This is one documented Intel example, not a claim about every platform. A

A successful read therefore proves only read access. It does not prove that the chipset, firmware, protection state, and device will accept a write.

Lowest-risk options ​

The lowest-risk choice is a module that already reports an empty or non-unique serial in the observation layer you care about. Verify it with the read-only checks below. No SPD write is then needed.

One nuance: JEDEC requires a unique manufacturer-assigned module serial, so an all-zero value is a real-world exception (seen on some Corsair and SK hynix-family modules, possibly a firmware substitution), not the compliant norm. A null serial is common enough to be unremarkable in an inventory, but do not describe it as the standard. A for the JEDEC rule, C for the observed exceptions

Replacing a module is safer than rewriting it. An external write is justified only when you can identify the exact SPD device, save a complete dump, verify support, and recover the module without booting it.

WARNING

The external source reports that G.Skill modules with a TA prefix above the barcode were incompatible with one seller-specific programmer. This is a single unverified compatibility claim S. It does not establish compatibility with other programmers or other revisions.

Requirements ​

Before any write, have all of the following:

  • A second known-good bootable RAM module
  • A programmer that explicitly supports the module's DDR generation and exact SPD device
  • The programmer vendor's current wiring, voltage, connector, and protection documentation
  • Two matching full reads of the untouched SPD
  • A binary backup stored on two separate devices
  • A way to restore the backup without booting the edited module
  • An ESD-safe work area
  • Time to stop and recover if the first readback differs

Kingston instructs users to disconnect power, prevent electrostatic discharge, handle a DIMM by its PCB corners, and avoid pressing on the integrated circuits. A

Do not continue if:

  • The programmer documentation does not name the DDR generation and SPD hub or EEPROM.
  • The software cannot save a complete 512-byte DDR4 or 1024-byte DDR5 raw image.
  • Two reads of the untouched module differ.
  • The tool reports an unknown device, incomplete dump, or bad existing CRC before editing.
  • The target is your only working module or cannot be recovered externally.
  • Access requires undocumented heat-spreader removal.

Tools ​

ToolPurposeLimits
HWIDChecker.exe in the repository rootShows the Windows SMBIOS view used by this projectIt queries Win32_PhysicalMemory; it is not a raw SPD reader
PowerShell Get-CimInstanceReads Win32_PhysicalMemory directlyShows the same Windows/SMBIOS layer
WMIC memorychipLegacy WMI command-line viewRemoved from Windows 11 version 24H2 and later
Module-compatible external SPD programmerReads, protects, writes, and verifies the SPD deviceMust support the exact generation, device, connector, and protection mode
Century Micro SPD PROGRAMMER 2Official example with read, write, verify, SWP, CWP, RPS, and binary backupDDR4 only; the vendor does not guarantee third-party modules

WARNING

Seller-bundled editors and drivers are proprietary and unverified S. Use only the programmer vendor's authenticated distribution. Do not use mirrors, archives, cracks, or repacks.

Read-only baseline ​

1. Record the Windows view A ​

Open PowerShell and run:

powershell
Get-CimInstance Win32_PhysicalMemory |
    Select-Object DeviceLocator, Manufacturer, PartNumber, SerialNumber, Capacity |
    Format-Table -AutoSize

Save the result locally. Do not publish it. For structured output:

powershell
Get-CimInstance Win32_PhysicalMemory |
    Select-Object DeviceLocator, Manufacturer, PartNumber, SerialNumber, Capacity |
    ConvertTo-Json -Depth 2

2. Check with HWIDChecker A ​

  1. Run HWIDChecker.exe from the repository root.
  2. Approve the Windows elevation prompt.
  3. Open the RAM MODULES section.
  4. Record the device locator, manufacturer, part number, capacity, and serial for each module.

The app requests administrator elevation and queries Win32_PhysicalMemory. Agreement with PowerShell confirms the same Windows/SMBIOS view.

3. Optional WMIC fallback A ​

On an older Windows installation that still includes WMIC:

bat
wmic memorychip get DeviceLocator,Manufacturer,PartNumber,SerialNumber,Capacity

Microsoft removed WMIC as a Feature on Demand from Windows 11 version 24H2 and later. Use PowerShell on current systems.

4. Map rows to physical modules S ​

WARNING

This slot-mapping procedure has not been physically tested by this project. Power down and disconnect power before moving modules.

If slot labels are unclear, record the rows, shut down, remove one module, and compare the rows after the next boot. Repeat only as needed. Never remove or insert a desktop DIMM while power is connected.

External-programmer procedure ​

Status: untested by this project. S This procedure combines primary device documentation with an untested external workflow. Stop if the programmer's official instructions differ.

1. Isolate one module ​

Shut down, disconnect external power, discharge residual power as the system manual directs, and use ESD protection. Remove only the target module. Keep a known-good module untouched.

2. Confirm exact support ​

Before connecting the module, confirm:

  • DDR4 or DDR5
  • DIMM or SO-DIMM connector and orientation
  • Exact SPD EEPROM or hub model
  • Required supply and I/O voltages
  • Full-dump size: 512 bytes for DDR4 or 1024 bytes for DDR5
  • Supported read, verify, and write-protection operations
  • DDR5 offline-tester support if block 8 is protected

Use the supplied socket or documented adapter. If the programmer uses USB, use a data-capable cable. Do not connect the module if the manual is ambiguous.

3. Read twice and back up ​

  1. Read the complete SPD address space.
  2. Save it as module-a-original-read-1.bin.
  3. Disconnect and reconnect the module as the programmer requires.
  4. Read it again as module-a-original-read-2.bin.
  5. Compare both files and their hashes.
powershell
Get-FileHash .\module-a-original-read-1.bin -Algorithm SHA256
Get-FileHash .\module-a-original-read-2.bin -Algorithm SHA256

The lengths and hashes must match. Keep one copy offline. If they differ, stop.

4. Decode the untouched image ​

Confirm that the decoded generation, capacity, organization, manufacturer, part number, and serial are plausible for the physical module. Verify the existing CRC fields before editing. A decoder that identifies the wrong generation or omits blocks is not safe to use.

5. Record protection before clearing it ​

For DDR4, read the protection status for all four 128-byte blocks. Only block 2 contains the serial. If block 2 is already writable, do not clear all protection. If the exact device requires VHV to clear protection, use only a programmer that documents that operation.

For DDR5, record MR12 and MR13. Only MR13 bit 0 controls block 8. If it is set, use documented offline-tester mode. Do not change unrelated protection bits.

6. Change only the serial ​

Preserve all other fields, including:

  • Capacity and organization
  • Timings and voltages
  • Module and DRAM manufacturer IDs
  • Manufacturing date, part number, and revision
  • DDR4 extended-function data
  • DDR5 PMIC, hub, and temperature-sensor data
  • Overclocking profiles

The serial format is manufacturer-defined. For a four-byte hexadecimal display, fabricated examples are 7C31A942 and 7C31A943. Use a different value for each physical module. These examples are invented and are not copied from a device.

Do not impersonate another product. If the editor cannot isolate bytes 325-328 on DDR4 or 517-520 on DDR5, stop.

7. Keep CRC bytes unchanged ​

A serial-only edit is outside the defined CRC coverage on both generations:

  • DDR4: do not change bytes 126-127 or 254-255.
  • DDR5: do not change bytes 510-511.

If the tool insists on recalculating those fields after only a serial edit, stop and inspect its diff before writing.

8. Write once and read back ​

Write the edited image once. Immediately read the full device into a new file. Use the programmer's verify function and compare the original, intended image, and readback.

For the narrow procedure in this guide, the only content differences should be:

  • DDR4 bytes 325-328, or
  • DDR5 bytes 517-520.

Any other changed byte means the write was broader than intended. Restore the original image before installing the module.

9. Restore the original protection state ​

Restore each reversible protection bit to its recorded state. Read the protection map again. Do not introduce a new permanent lock or protect an area that was originally writable.

10. Boot with a recovery path ​

Install the edited module only after a full readback matches the intended image. Keep the programmer and original backup available. Use default firmware memory settings for the first boot.

If the system does not complete POST, power it off. Do not keep retrying with aggressive memory settings.

Verify the result ​

After a successful boot:

  1. Run the PowerShell baseline command again. A
  2. Run HWIDChecker and inspect RAM MODULES. A
  3. Confirm that the intended row has the new serial. A
  4. Confirm that manufacturer, part number, capacity, and locator are unchanged. A
  5. Compare the external programmer's full readback with the intended image. S

WARNING

The raw readback comparison in step 5 is part of the untested hardware procedure S. It is the only check here that verifies the SPD device rather than SMBIOS.

If the external readback is correct but Windows still shows the old value, do not rewrite the module repeatedly. Firmware controls the Type 17 string presented to Windows and may cache, normalize, omit, or replace the raw SPD value. A

Recovery ​

WARNING

This recovery procedure is S and untested. It requires a programmer that can access the target module without booting it.

If the module prevents POST or reports corrupted data:

  1. Power off and remove the edited module.
  2. Boot with a known-good module if the system supports that configuration.
  3. Connect the failed module to the external programmer.
  4. Read and save the failed state for diagnosis.
  5. Write the untouched original full binary image.
  6. Verify the entire device against that backup.
  7. Restore only the original reversible protection state.
  8. Test the restored module at default firmware memory settings.

If the programmer cannot identify the SPD device, clear the required reversible protection, or verify the restored image, stop. Use the module vendor's support or a qualified memory-repair service. Do not copy an SPD image from a merely similar module. Capacity, ranks, PCB layout, DRAM parts, revision, and support-device configuration can differ.

Troubleshooting ​

SymptomSupported explanationSafe response
PowerShell and HWIDChecker show the same valueBoth read Win32_PhysicalMemoryTreat them as one SMBIOS observation layer. A
SPD reads but will not write in-systemDevice protection or a platform write-disable can block writesRead protection status and use the exact device and platform documentation. A
DDR4 block 2 is protectedEE1004 reversible protection covers bytes 256-383Use only the documented clear operation and record all four block states first. A
DDR5 MR13 bit 0 is setProtection block 8 contains bytes 512-575Use a programmer with documented SPD5118 offline-tester support. A
A serial-only edit changes a CRCThe editor is making a broader change than requiredCancel the write and inspect the binary diff. A
Windows stays unchanged after a verified raw writeFirmware controls SMBIOS Type 17 outputKeep the verified dump and stop repeated writes. A
Two untouched reads differConnection, voltage, or compatibility may be wrongStop before writing. S
RGB behavior changesNon-SPD state may have been changedPower off and restore the original image. S
The system no longer reaches POSTConfiguration or support-device data may be damagedRemove the module and follow Recovery. S

WARNING

The S troubleshooting responses above are untested stop-and-recover guidance. They do not prove that a damaged module is recoverable.

Sources ​

Sources (12)