Legacy dmiedit often fails on UEFI. AMI’s AMIDEWINx64.exe works from Windows 10/11 64-bit with proper drivers.
To follow the solutions below, you will need: dmiedit d8 updating dmi data failed
DMI data resides in non-volatile memory (NVRAM/BIOS). Writing requires root/sudo, and even then, some BIOS lock write access. Legacy dmiedit often fails on UEFI
Look for any "Flash Write Protection" or "BIOS Lock" settings and disable them. 2. Use a Different Environment (UEFI Shell) and even then