I know it is possible to find the Windows 8 Product ID in the "System" page located in the Control Panel.
But is it possible to get the Windows 8 Product ID using the command prompt?
Here are a few ways suitable for use in batch files:
It is possible by using WMI (Windows Management Interface)or with quering a value from Windows Registry.
PS: Alternatively you could also type "wmic OS" from cmd and search for SerialNumber.
With Windows Registry:
(Internet Explorer have the same ID as Windows 8)
You can use Windows'
It will return a list of info about the system, including that Product ID (about the 9th line down give or take.)
If you want to extract just that line you can use