@echo off
powershell -NoProfile -Command "$g=(Get-ItemProperty 'HKLM:\SOFTWARE\Microsoft\Cryptography').MachineGuid; $c=(Get-CimInstance Win32_Processor).ProcessorId; $b=(Get-CimInstance Win32_BaseBoard).SerialNumber; $s=$g+$c+$b; $h=[System.Security.Cryptography.SHA256]::Create().ComputeHash([System.Text.Encoding]::UTF8.GetBytes($s)); $hwid=(-join ($h | ForEach-Object {$_.ToString('x2')})).Substring(0,16); Write-Host ('Your HWID: ' + $hwid)"
pause >nul
