Microsoft Volume Activation - Troubleshooting Microsoft Volume Activation for Microsoft Office 2013, 2016, 2019, or LTSC 2021

This document explains how to troubleshoot problems with Microsoft Volume Activation for Microsoft Office 2013, 2016, 2019, or LTSC 2021.

Checking Microsoft Office Activation Status

  1. Launch Microsoft Word.
  2. Click to the File tab. Click "Help" for office 2013 or 2016.  Click "Account" for newer versions.
    • Office is activated

      Product activated

      Office LTSC 2021 Activated 
    • Office is not activated 

Office 2010 Activation Required

Determining Which Activation Method Office is Using - KMS or MAK

  1. Click the start menu and enter cmd /k cscript "%programfiles%\Microsoft Office\Office16\ospp.vbs" /dstatus in the search box.
    • If running 32 bit Office on 64 bit Windows, %programfiles% above should be replaced with %programfiles(x86)%.
    • For Office 2013, use "Office15" instead of "Office16" for the install folder.
    • check activation

  2. A command prompt pop up window will appear and display the activation information for Office.
    • The License Name will contain "KMS_Client edition" when using KMS activation.

      KMS edition

    • The License Name will contain "MAK edition" when using MAK activation.

      MAK edition

Changing the Activation Method for Microsoft Office

Contents:


Converting Microsoft Office 2013, 2016, 2019, or LTSC 2021 from KMS to MAK Activation

    1. If you are affiliated with the University, email help@doit.wisc.edu to request the University's Office 2013, Office 2016, Office 2019, or Office LTSC 2021 MAK activation key, otherwise use the product key which came with your copy of Office.
    2. Launch Microsoft Word
      • Click the File tab.
      • Click Account.
    3. Click Change Product Key under Product Information.

OfficeChangeProductKey.png
    1. Enter the MAK activation key from the help@doit.wisc.edu email in the field provided.

OfficeContinue.PNG
    1. After you enter a good key, you will get the green check mark and the Continue button will change to an Install button

OfficeInstall.PNG
    1. Click Install.
      • An additional alert may appear in the taskbar. If so, click it and select Yes.

OfficePostInstall.PNG
    1. Exit Microsoft Word.
    2. Launch Word.
      • Click the File tab
      • Click Account.
      Under Product Information, Word should report that it is activated.

OfficeActivationConfirmation.PNG
Office should now be activated

Converting Microsoft Office 2013, 2016, 2019, or LTSC 2021 from MAK to KMS Activation

    1. Launch a command window with elevated privileges
      • Type cmd in the Search bar to locate the command window.
      • Right-click on cmd or Command Prompt and click Run as administrator from the context menu
      • Click Yes at the User Account Control prompt to open the command window with elevated privileges.
    2. In the command prompt window, type the following command that corresponds to your version of Office:
      • Office 2013:
        • CD "\Program Files\Microsoft Office\Office15"
        • Note: If this is the 32-bit version of Office installed onto a machine running the 64-bit version of Windows, use the following command instead:
          • CD "\Program Files (x86)\Microsoft Office\Office15"
      • Office 2016, 2019, or LTSC 2021:
        • CD "\Program Files\Microsoft Office\Office16"
        • Note: If this is the 32-bit version of Office installed onto a machine running the 64-bit version of Windows, use the following command instead:
          • CD "\Program Files (x86)\Microsoft Office\Office16"
    3. Press Enter.

OfficeKMS_CD.png

    1. Type the following command that corresponds to your version of Office:
      • Office 2013:
        • cscript ospp.vbs /inpkey:YC7DK-G2NP3-2QQC3-J6H88-GVGXT
      • Office 2016:
        • cscript ospp.vbs /inpkey:XQNVK-8JYDB-WJ9W3-YJ8YR-WFG99
      • Office 2019:
        • cscript ospp.vbs /inpkey:NMMKJ-6RK4F-KMJVX-8D9MJ-6MWKP
      • Office LTSC 2021:
        • cscript ospp.vbs /inpkey:FXYTK-NJJ8C-GB6DW-3DYQT-6F7TH 
    2. Press Enter.

OfficeKMS_Key.png

    1. Type the following command:
      • cscript ospp.vbs /sethst:ms-kms-1.services.wisc.edu
    2. Press Enter.

OfficeKMS_Server.png

    1. Type the following command:
      • cscript ospp.vbs /act
    2. Press Enter.

OfficeKMS_Activationv1.png

  1. Close the command prompt window.
Office should now be activated

Determining Microsoft Office 2013, 2016, 2019, or LTSC 2021 Activation type

  1. Launch a command window with elevated privileges
    • Type cmd in the Search bar to locate the command window.
    • Right-click on cmd or Command Prompt and click Run as administrator from the context menu
    • Click Yes at the User Account Control prompt to open the command window with elevated privileges.
  2. In the command prompt window, type the following command that corresponds to your version of Office:
    • Office 2013:
      • CD "\Program Files\Microsoft Office\Office15"
      • Note: If this is the 32-bit version of Office installed onto a machine running the 64-bit version of Windows, use the following command instead:
        • CD "\Program Files (x86)\Microsoft Office\Office15"
    • Office 2016, 2019, or LTSC 2021:
      • CD "\Program Files\Microsoft Office\Office16"
      • Note: If this is the 32-bit version of Office installed onto a machine running the 64-bit version of Windows, use the following command instead:
        • CD "\Program Files (x86)\Microsoft Office\Office16"
  3. Press Enter.
  4. Type the following command:
    • cscript ospp.vbs /dstatus
  5. Press Enter.
  6. Check your version:
      • If Office is KMS activated, you will see "KMS_Client edition" in the LICENSE NAME field.

    OfficeCMD_KMS.png

      • If Office is MAK activated, you will see "MAK edition" in the LICENSE NAME field.

    OfficeCMD_MAK.png
  7. Close the Command Prompt window

Checking if a DNS Domain is Configured for KMS Auto-Discovery

To check if a DNS domain is configured for KMS auto-discovery, check that a SRV record exists.

nslookup -type=srv _vlmcs._tcp.<dept>.wisc.edu

If a SRV record exists for the domain, the DNS server will detail the SRV record.

C:\>nslookup -type=srv _vlmcs._tcp
Server:  rdns1.doit.wisc.edu
Address:  128.104.254.254

Non-authoritative answer:
_vlmcs._tcp.<dept>.wisc.edu       SRV service location:
          priority       = 0
          weight         = 0
          port           = 1688
          svr hostname   = ms-kms-1.services.wisc.edu

If no SRV record exists for the domain, the DNS server will return an error

C:\>nslookup -type=srv _vlmcs._tcp
Server:  rdns1.doit.wisc.edu
Address:  128.104.254.254

*** rdns1.doit.wisc.edu can't find _vlmcs._tcp.<dept>.wisc.edu: Non-existent domain

Verifying that a Windows Computer can Communicate with the KMS Activation Server

The KMS Activation server is open to all network subnets on campus except for UWNet Wireless, and ResNet.

You can activate remotely on the UW-Madison's KMS server if you connect via WiscVPN. Both the OnCampus and OffCampus VPN profiles will allow you to activate. This works with both 32- and 64-bit versions of Windows 7 (64-bit only works with the AnyConnect client refer to [Link for document 11997 is unavailable at this time] for details).

Verifying that you are on a network that can access the KMS server

  1. Follow the instructions in the knowledge base article Windows (Vista & 7) - Finding the IP Number and MAC Address of a Network Card to look up your IP address.
  2. Check your IP address against the list of campus IP addresses in article Well-known UW-Madison Campus IP address ranges and hosts.
    • If you are connecting from a network that is not allowed to access the KMS server, then follow the instructions above for converting to MAK activation.
    • If you are connecting from a network that is allowed to access the KMS server, then continue on with the troubleshooting instructions below.

KMS activation requires that the machine to be activated has TCP port 1688 open for outbound communication to the activation server.

Verifying that outbound TCP port 1688 is open to the KMS server

  1. Download and install the utility portqry.exe from Microsoft. It is a command line utility from Microsoft that reports the port status of a remote host.
  2. From a command prompt, run the command:
      portqry.exe -n ms-kms-1.services.wisc.edu -p tcp -e 1688

    The command will return "TCP port 1688 (unknown service): LISTENING" if the computer is able to communicate with the KMS server.

    portqry listening

    If the command returns "TCP port 1688 (unknown service): FILTERED" then the computer is unable to communicate with the KMS server. Contact your departmental IT support for assistance.

Manually Specifying the KMS Activation Server

  1. Launch a command window with elevated privileges.
    • Type cmd in the search bar to locate the command window.
    • Right click on cmd and click Run as administrator from the context menu, or select cmd and hit CTRL-SHIFT-ENTER on the keyboard.
    • Click Yes at the User Account Control prompt to open the command window with elevated privileges.

      command prompt

  2. At the command prompt, type cd\Program Files\Microsoft Office\Office14.
    • If running 32 bit Office 2010 on 64 bit Windows, Program Files above should be replaced with Program Files (x86).

      change directories

  3. Run the command cscript ospp.vbs /sethst:ms-kms-1.services.wisc.edu to manually specify the KMS activation server.

    specify KMS server

  4. Run the command cscript ospp.vbs /act to activate Office with the KMS server.

    activate KMS



Keywordskms make install setup problem license microsoft office 2013 2016 2019 2021   Doc ID13977
OwnerTy M.GroupDoIT Departmental Support
Created2010-05-11 19:00:00Updated2023-03-16 16:15:50
SitesDoIT Departmental Support, DoIT Help Desk, DoIT Staff, School of Medicine and Public Health
Feedback  1   0