Fixed: Get-keys.bat
:: Retrieve Windows product key from registry (if stored) echo [*] Checking Windows Product Key... wmic path softwarelicensingproduct get OA3xOriginalProductKey 2>nul if errorlevel 1 ( echo [!] Could not retrieve OEM key. Trying alternative method... powershell -command "(Get-WmiObject -query 'select * from SoftwareLicensingService').OA3xOriginalProductKey" )