If these methods don’t solve your problem, you need to contact Microsoft Support or your OEM for Windows activation. KeyOutput = Mid(Chars, Cur + 1, 1) & KeyOutput MsgBox ConvertToKey(WshShell.RegRead('HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\DigitalProductId')) So, just copy and paste the following script in a Notepad window and save it as “productkey.vbs” by choosing the “All Files” option in “Save as type.” Set WshShell = CreateObject('WScript.Shell') This script translates the Registry values into a readable format. Now, using a simple VBScript–some of you might have seen it on Microsoft forums–you can read all the binary gibberish written in Windows Registry. To go ahead with this method, you need to boot into your Windows computer.
Note that this method also works for OEM and Retail licenses. This step will promptly show your Windows key.