Skip to content

Instantly share code, notes, and snippets.

@njbair
Last active April 4, 2019 23:29
Show Gist options
  • Save njbair/191fde1e9c904c98ff3f27291b2bc719 to your computer and use it in GitHub Desktop.
Save njbair/191fde1e9c904c98ff3f27291b2bc719 to your computer and use it in GitHub Desktop.
Use these CPUID flags to trick your Windows 7 VirtualBox VM into thinking your AMD Ryzen is an AMD A8-5600K.
#!/bin/sh
vboxmanage modifyvm "Windows 7" --cpuidset 00000000 0000000d 68747541 444d4163 69746e65
vboxmanage modifyvm "Windows 7" --cpuidset 00000001 00610f01 01040800 3e98320b 178bfbff
vboxmanage modifyvm "Windows 7" --cpuidset 00000002 00000000 00000000 00000000 00000000
vboxmanage modifyvm "Windows 7" --cpuidset 00000003 00000000 00000000 00000000 00000000
vboxmanage modifyvm "Windows 7" --cpuidset 00000004 00000000 00000000 00000000 00000000
vboxmanage modifyvm "Windows 7" --cpuidset 00000005 00000040 00000040 00000003 00000000
vboxmanage modifyvm "Windows 7" --cpuidset 00000006 00000000 00000000 00000001 00000000
vboxmanage modifyvm "Windows 7" --cpuidset 00000007 00000000 00000008 00000000 00000000
vboxmanage modifyvm "Windows 7" --cpuidset 00000008 00000000 00000000 00000000 00000000
vboxmanage modifyvm "Windows 7" --cpuidset 00000009 00000000 00000000 00000000 00000000
vboxmanage modifyvm "Windows 7" --cpuidset 0000000a 00000000 00000000 00000000 00000000
vboxmanage modifyvm "Windows 7" --cpuidset 80000000 8000001e 68747541 444d4163 69746e65
vboxmanage modifyvm "Windows 7" --cpuidset 80000001 00610f01 20000000 01ebbfff 2fd3fbff
vboxmanage modifyvm "Windows 7" --cpuidset 80000002 20444d41 352d3841 4b303036 55504120
vboxmanage modifyvm "Windows 7" --cpuidset 80000003 74697720 61522068 6e6f6564 296d7428
vboxmanage modifyvm "Windows 7" --cpuidset 80000004 20444820 70617247 73636968 00202020
vboxmanage modifyvm "Windows 7" --cpuidset 80000005 ff40ff18 ff40ff30 10040140 40020140
vboxmanage modifyvm "Windows 7" --cpuidset 80000006 64006400 64004200 08008140 00000000
vboxmanage modifyvm "Windows 7" --cpuidset 80000007 00000000 00000000 00000000 000007d9
vboxmanage modifyvm "Windows 7" --cpuidset 80000008 00003030 00000000 00004003 00000000
vboxmanage modifyvm "Windows 7" --cpuidset 80000009 00000000 00000000 00000000 00000000
vboxmanage modifyvm "Windows 7" --cpuidset 8000000a 00000001 00010000 00000000 00001cff
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment