[Bug Report] RAM not detected when initial Windows version was 2004 / 20H1 or newer

Description of Bug

I had a Windows installation that was initially Windows 10 version ~1709. Over the years I updated it through most versions until Windows 11 23H2 a few months ago. OpenRGB worked mostly fine there, all devices were detected. Then I decided to re-install Windows from the ground up (with a fresh Windows 11 23H2 ISO). But later I noticed that my RAM (4x 8GB G.Skill Trident Z RGB DDR4-3200) wasn't detected by OpenRGB any more. I did run it as admin and tried some things like only using a single stick, testing different slots, but nothing worked. Then I tried making a new installation of Windows 10 1909. There the RAM was detected. Even when I updated it to Windows 10 22H2, it continued to work. So I assume it depends on the initial version of Windows of a particular installation. All my testing:

  • win10 1909: works
  • win10 1909 updated to win10 22H2: works (also works if OpenRGB was only ever run AFTER the update)
  • win10 2004 / 20H1: doesn't work
  • win10 21H1: doesn't work
  • win10 22H2: doesn't work
  • win11 23H2: doesn't work

So the problem starts with 20H1.

Attached Log

Log from the fresh win11 23H2 installation, RAM is NOT detected: OpenRGB_20240130_210437.log

Log from the win10 1909 updated to win10 22H2, RAM is detected: OpenRGB_20240130_210040.log

Operating System

OS - Windows

Hardware Configuration

  • ASUS Prime Z370-A
  • 4x 8GB G.Skill Trident Z RGB DDR4-3200