Recupero Licenze Windows: differenze tra le versioni
Da Webmobili Wiki.
Creata pagina con "== Primo Metodo == Da promt comandi '''cmd''' <pre> wmic path SoftwareLicensingService get OA3xOriginalProductKey </pre> == Secondo Metodo == Da Powershell <pre> (Get-WmiObject -query 'select * from SoftwareLicensingService').OA3xOriginalProductKey </pre> == Terzo Metodo == Apri il Blocco note e incolla questo codice: <pre> Set WshShell = CreateObject("WScript.Shell") MsgBox WshShell.RegRead("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserD..." |
(Nessuna differenza)
|
Versione attuale delle 09:40, 28 mar 2025
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).