Click Command Prompt (Admin)

At the command prompt, type wmic path SoftwareLicensingService get OA3xOriginalProductKey