Skip to content

Instantly share code, notes, and snippets.

@willglynn
Created November 1, 2023 00:18
Show Gist options
  • Save willglynn/b1204c593e96bdda5086597ee8a6db8d to your computer and use it in GitHub Desktop.
Save willglynn/b1204c593e96bdda5086597ee8a6db8d to your computer and use it in GitHub Desktop.
Change SMBIOS UUID on AMI firmware PCs

PCs have SMBIOS data containing small amount of identifying information. One piece of information in this SMBIOS data is the universally unique identifier. Some PC and motherboard manufacturers fail to set this, often leaving the UUID set to 03000200-0400-0500-0006-000700080009.

If your system uses an AMI firmware (sometimes called AMIBIOS), you may be able to use AMI utilities to reset the UUID. Obtain AMIDEEFIx86.efi and an EFI shell executable, such as from inside m1ujt73usa.zip for the Lenovo ThinkStation P330 Tiny download center.

Once you have those two files, create USB drive with the FAT32 filesystem and the following structure:

\
  \AMIDEEFIx86.efi
  \efi
    \boot
      \bootx64.efi
      \startup.nsh

Replace startup.nsh with the EFI script below:

echo -off
mode 80,25
cls
echo Do you want to randomize the SMBIOS UUID?
pause
AMIDEEFIx64.efi /SU auto
echo Done! Ready to reboot?
pause
reset

Boot from the USB stick and receive a new UUID.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment