Recupero Licenze Windows
Da Webmobili Wiki.
Primo Metodo
[modifica]Da promt comandi cmd
wmic path SoftwareLicensingService get OA3xOriginalProductKey
Secondo Metodo
[modifica]Da Powershell
(Get-WmiObject -query 'select * from SoftwareLicensingService').OA3xOriginalProductKey
Terzo Metodo
[modifica]Apri il Blocco note e incolla questo codice:
Set WshShell = CreateObject("WScript.Shell")
MsgBox WshShell.RegRead("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\*\InstallProperties\ProductID")
Salva il file con estensione .vbs (ad esempio, licenza.vbs).