
I don't know about win8 or win10, but theoretically all you need to do is change the 'registryLocation' value in the code (if at all). KeyOutput = Mid(Chars, Current + 1, 1) & KeyOutput Key(x + KeyOffset) = (Current \ 24) And 255 MsgBox ConvertHumanReadable(WshShell.RegRead(registryLocation)) RegistryLocation = '"HKLM\SOFTWARE\Microsoft\Windows NT\CurrentrentVersion\DigitalProductId"' Set WshShell = CreateObject("WScript.Shell")
Use CTRL+C and CTRL+V to paste it into notepad. Save the code below as eg "getkey.vbs", run it (double-click) and a little pop-up msg tells you your key. You can get it out with a little VB Script though. However, the steps to retrieve product keys for older Windows versions may differ.Win 7 stores the key in the registry ("HKLM\SOFTWARE\Microsoft\Windows NT\CurrentrentVersion\DigitalProductId"), but it's binary so that your average 'human' doesn't interfere with MS's quest for more money. In addition, to deinstall or reinstall another Windows version you might need a Windows 7 product key or Windows 8 product key.
You have a volume licensing contract or MSDN subscription. You’ve got a digital version of the operating system from an authorized dealer. You’ve purchased the disc-based Windows 10 version. In the Filter Products dialog box, you can filter the list by computer name. You can use the Filter function to narrow your search for computers by clicking Filter in the right-side pane to open the Filter Products dialog box. A product key is a 25-character code thats used to activate Windows and helps verify that Windows hasnt been used on more PCs than the Microsoft Software. This key can be used again if OS is reinstalled/formatted only. In the following situations it may be necessary to retrieve the Windows 10 product key: In the left-side pane, select the product that you want to install keys onto. The key will work on an inactivated working Win10 PRO or a clean installation of Windows 10 PRO. If you’ve purchased a digital license, you may be able to view the Windows 10 license and get a product key afterwards. You purchase an operating system via the Microsoft Store. You upgrade Windows 7 or 8 to Windows 10.
You purchased a new PC with a Windows operating system. Even when you’re reinstalling Windows 10, the system detects the license automatically. The operating system can be activated via your Microsoft account. Digital licenses allow for the simple installation of an operating system without requiring a bootable device. Navigate to the path and find the product code value: HKEYLOCALMACHINESOFTWAREMicrosoftWindows NTCurrentVersionSoftwareProtectionPlatform Double click.
With the launch of Windows 10, product keys have become less important because Microsoft launched digital licenses in 2016.