Skip to content

Instantly share code, notes, and snippets.

@antoniocampos
Last active July 18, 2024 10:48
Show Gist options
  • Save antoniocampos/3ff85c35812443eca8d7a63e07511d92 to your computer and use it in GitHub Desktop.
Save antoniocampos/3ff85c35812443eca8d7a63e07511d92 to your computer and use it in GitHub Desktop.
Linux Get Windows Key Saved in UEFI
#!/bin/bash
echo " "
echo "https://gist.github.com/antoniocampos"
echo " "
echo " "
echo "You key bellow: "
echo " "
strings /sys/firmware/acpi/tables/MSDM
echo " "
dmidecode | grep -A8 'System Information' | grep -i UUID | awk '{print $2}'
echo " "
echo " "
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment