Skip to content

Instantly share code, notes, and snippets.

@si458
Forked from willglynn/doc.md
Created September 22, 2024 16:46
Show Gist options
  • Save si458/8b2a539216b6361025b43650b54921b5 to your computer and use it in GitHub Desktop.
Save si458/8b2a539216b6361025b43650b54921b5 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