Retrieve License Key from BIOS
Using Command Prompt
- Open a Command Prompt as an Administrator.
- Type in the following command: wmic path softwarelicensingservice get OA3xOriginalProductKey
- Press Enter.
- The command will output any License Key that is imprinted in the BIOS.
Using a Batch Script
- Open Notepad or some other text editor.
- Copy the following code a paste it into your text editor:
- @echo off
SET FILENAME=OEMKEY-%COMPUTERNAME%.txt
wmic path softwarelicensingservice get OA3xOriginalProductKey > %FILENAME%
- @echo off
- Name the file Get-OEM-License.bat and save the file to the Desktop.
- On the Desktop, hold the Shift-Key and right-click the Get-OEM-License.bat then click Run As Administrator.
- If prompted, enter your administrator credentials.
- The script will create a text file on the desktop containing the license key.
No Comments