One method is to enter 'wmic path SoftwareLicensingService ... and you’ll see your product key on the following line. Using ...