![]() ![]() Once the download begins, immediately pause your download at 1%.Once downloaded launch the Windows 8 installer and enter your product key when prompted to do so.Download both the Windows 8 and Windows 8.1 setup installers from here.Var keypart2 = key.Substring(last + 1, key.Here are the steps that lets you download the Windows 8.1 ISO using a legitimate retail Windows 8 product key: Var isWin8 = (byte)((digitalProductId / 6) & 1) ĭigitalProductId = (byte)((digitalProductId & 0xf7) | (isWin8 & 2) * 4) Ĭonst string digits = "BCDFGHJKMPQRTVWXY2346789" Ĭurrent = digitalProductId + current ĭigitalProductId = (byte)(current/24) Public static string DecodeProductKeyWin8AndUp(byte digitalProductId) / This method applies to DigitalProductId from Windows 8 or newer versions of Windows. Var decodedChars = new char įor (var j = decodeStringLength - 1 j >= 0 j-) Private static string DecodeProductKey(byte digitalProductId)Ĭonst int keyEndIndex = keyStartIndex + 15 ![]() / Decoded Windows Product Key as a string / This method applies to DigitalProductId from Windows 7 or lower versions of Windows. / Decodes Windows Product Key from the DigitalProductId. Then we will need to run it through an algorithm to get the key. winmount=/mntĮcho "hex \\Microsoft\\Windows NT\\CurrentVersion\\DigitalProductId\nq\nq" | chntpw -e $/Windows/System32/config/SOFTWARE ![]() However I have some systems that came with the home addition and you need to get the current key from the registry. Works great if the original key is what is still being used. So I saw the other answers on here and needed to chime in.įound strings /sys/firmware/acpi/tables/MSDM sudo hexdump -s 56 -e '"MSDM key: " /29 "%s\n"' /sys/firmware/acpi/tables/MSDM Running the following command will dump the product key in its standard Microsoft format. $ ls /sys/firmware/acpi/tablesĠ0000000 ha ns oo lo oe at es ap pl le sa uc ef or li fe |Key in area|Ġ0000010 cu si ca nb ro ha ms am cu si ca nb ro ha ms am |In key area|Ġ0000020 it sj us ho wz ir ol lz it sj us ho wz ir ol lz |Area in key|Ġ0000000 ha ns oo lo oe at es ap pl le sa uc ef or li fe |It is 5 x 5|Ġ0000010 cu si ca nb ro ha ms am cu si ca nb ro ha ms am |Key in area|Ġ0000020 it sj us ho wz ir ol lz it sj us ho wz ir ol lz |In key area|Ġ0000050 ha ns oo lo ow az he re |Area in key| Windows will have their key in the usual format HAN50-0L00M-4D31T-CR4ZY. ![]() You can all so use this code that works as well if the ones above don't work for you or you just want to see the hex output with your key. Even so, if your VM/new computer is ever allowed to connect to the network, it will automatically register the key making your actual installation unusable. The only way you could use the key is if you had never booted into Win8 to begin with or weren't connected to a network when you did. Since Win8 OEM keys are designed to be tied to that specific computer, you'll hit a brick wall if you ask Microsoft to unregister the key so you can use it in a VM, let alone another computer. It should be noted, however, that I used this method to try to install Win8 in a VM using my own product key, but it automatically deactivated saying that the product key was in use. The -b flag causes acpidump to write to a file under all circumstances, so an alternative method is to use the command sudo tail -c+57 /sys/firmware/acpi/tables/MSDMĪ legitimate Windows 8 installer should automatically detect the key in the ACPI and continue installing with the built-in key. New versions of acpidump shipped with Ubuntu work differently than described above. Finally, add an echo at the end to make it terminal-friendly =DĪcpidump -t MSDM will work as well, but the key is broken over multiple lines, making it hard to copy. Since we only need the last part of the table, pipe the output into dd, but but skip the unnecessary junk. Another way that doesn't require looking through a ton of output is: sudo acpidump -b -t MSDM | dd bs=1 skip=56 2>/dev/null echoĪcpidump dumps the table (default in hexdump format), but the -b options tells it to output the raw data. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |