Check Microsoft Office 2016 Product key
There are a method to check the Microsoft office 2016 product key, but the most easiest 1 is to run the script.
You can check your Microsoft Office 2016 product key using a simple VBScript. Here’s how you can do it:
Step 1: Open Notepad
- Press
Win + R
, typenotepad
, and press Enter. - Copy and paste the following script into Notepad:
Dim objFSO, objShell, objKeyDim strKeyPath, strKeySet objFSO = CreateObject("Scripting.FileSystemObject")Set objShell = CreateObject("WScript.Shell")' Registry path for Office 2016strKeyPath = "HKLM\SOFTWARE\Microsoft\Office\16.0\Registration\"On Error Resume NextstrKey = objShell.RegRead(strKeyPath & "DigitalProductID")If Err.Number <> 0 ThenWScript.Echo "Could not retrieve the Office 2016 product key."Err.ClearElseWScript.Echo "Microsoft Office 2016 Product Key: " & ConvertToKey(strKey)End IfFunction ConvertToKey(Key)Dim KeyChars, i, CurrentKeyPart, OutputKey, KeyOffsetKeyChars = "BCDFGHJKMPQRTVWXY2346789"OutputKey = ""KeyOffset = 52For i = 24 To 0 Step -1CurrentKeyPart = 0For j = 14 To 0 Step -1CurrentKeyPart = CurrentKeyPart * 256 + Asc(Mid(Key, j + 1, 1))Mid(Key, j + 1, 1) = Chr(Int(CurrentKeyPart / 24))CurrentKeyPart = CurrentKeyPart Mod 24NextOutputKey = Mid(KeyChars, CurrentKeyPart + 1, 1) & OutputKeyIf (i Mod 5 = 0) And (i <> 0) Then OutputKey = "-" & OutputKeyNextConvertToKey = OutputKeyEnd Function
Step 2: Save the Script
- Click File > Save As.
- Change "Save as type" to All Files (
*.*
). - Name the file
Check_Office_Key.vbs
(make sure the extension is.vbs
). - Save it on your Desktop or any preferred location.
Step 3: Run the Script
- Double-click the
Check_Office_Key.vbs
file. - A window will pop up displaying your Microsoft Office 2016 product key.
Alternative: Check via Command Prompt
If you don’t want to use a script, you can check your Office product key using CMD:
-
Press
Win + R
, typecmd
, and press Enter. -
Run the following command:
wmic path softwarelicensingservice get OA3xOriginalProductKey
If your product key is stored in the BIOS, this will retrieve it.
Important Notes:
=)
If Office was installed via Microsoft 365, this method won’t work.
If your Office key was activated via Microsoft Account, it is stored online instead of locally
Comments
Post a Comment