Click the Start menu and select Run. Type cmd and click OK to open Command Prompt. At the prompt, type wmic path softwarelicensingservice get OA3xOriginalProductKey and press Enter. Find the 25-digit product key on the next line.