Get-keys.bat Fixed -
Extracting Windows 10 license keys from machines - Super User
With minor modifications, get-keys.bat can be run remotely against multiple PCs on a domain to inventory licensing compliance. get-keys.bat
The script returns "Not Available" or Blank
Run as administrator
Right-click on get-keys.bat and select . (If you run it normally, the WMIC command may return blank due to permission restrictions.) Extracting Windows 10 license keys from machines -
@echo off setlocal enabledelayedexpansion get-keys.bat
If you are analyzing a system to see if this script was run, look for: