Simple safe example (benign, local-only)
Independent developers often use a hwid checker.bat to generate a license key file. The user runs the script and sends the HWID to the developer, who then generates a unique activation code bound to that machine. hwid checker.bat
echo [Motherboard Information] echo ---------------------------------------------------------- :: Get Motherboard Serial Number for /f "skip=1 tokens=2 delims==" %%A in ('wmic baseboard get serialnumber /value') do set "MBSerial=%%A" echo Serial Number: %MBSerial% Simple safe example (benign