I hereby claim:
- I am bs5 on github.
- I am hariel (https://keybase.io/hariel) on keybase.
- I have a public key ASC_XQLe3SX9ka0BAUo6HtSC4AxUDZ2JXKd5TS5se09dfAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
' VBS Script to get the Windows(R) 7 Product Key from a PC's registry. | |
' | |
' Save the VBScript as "getWin7Key.vbs" somewhere on your Windows7 PC. | |
' Now, when you double-click the local script file an alertbox pops up | |
' displaying the product key stored in the machine's Windows registry. | |
Set WshShell = WScript.CreateObject("WScript.Shell") | |
KeyPath = "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\DigitalProductId" | |
MsgBox ExtractKey(WshShell.RegRead(KeyPath)) |