Skip to main content

Updating to KMS from an MAK Installation

This article applies to: Software Licensing


Cornell's site license for Microsoft Windows and Microsoft Office Professional Plus provides unlimited licensing via our Key Management Service (KMS). This page provides instructions for technical support providers (TSPs) to switch a computer from the earlier Multiple Activation Key (MAK) system to the preferred KMS system.

Switching a machine from MAK to KMS requires use of the Windows command line. You will need to issue Visual Basic commands to replace the existing MAK product key with a Generic Volume License Key (GVLK). If your network is not set up for autodiscovery, you will also need to issue additional commands to tell the machine the URL of the KMS server, and to start the automated activation process.

KMS activation can be blocked by a firewall. Please be sure that any firewalls between the client machine and the KMS server are open to incoming and outgoing traffic on TCP port 1688.

This page is intended for technical support providers and network administrators. If you're not one of those, you should talk to your TSP or net admin before proceeding.

Covered Products

Cornell's KMS activation service will automatically activate the following Microsoft products if they had been installed from the Cornell site license version of the installers.  

  • Windows 7 (Enterprise or Professional)
  • Windows 8 (Enterprise or Professional)
  • Windows 10 (Education, Enterprise, Enterprise 2015 LTSB, or Professional)
  • Windows Server (2008, 2008R2, and 2012)
  • Microsoft Office (2016, 2013, and 2010)

Our KMS service will not activate versions of the above software that were installed from OEM or retail versions of the installers.

Switch Activation from MAK to KMS

Updating an installation of Windows of Office entails entering commands at a command prompt. The commands you enter depend on whether your local area network has been configured to allow KMS autodiscovery.  Networks administered by CIT are already configured for KMS. More information about autodiscovery can be found on our main KMS page.

If you aren't sure whether your local area network has already been configured for KMS, you can use the KMS manual configuration instructions.

From a Network with KMS Autodiscovery

Windows and Windows Server (all supported versions)

  1. Open another browser window, and go to our Generic Volume License Key (GVLK) page to find the appropriate GVLK for your version of Windows.
  2. Open an Elevated Command Prompt window. For instructions, please see How To Open an Elevated Command Prompt
  3. In the Command Prompt window, verify that the current directory is C:\Windows\System32. If it is not, type
    CD \Windows\System32
    and press Enter.
  4. Type the following command to set the key.
    cscript slmgr.vbs /ipk GVLK-from-Step-1
    replacing GVLK-from-Step-1 with the actual key you found in step 1,
    then press Enter.
    (Note: There is a space between ipk and the product key. )
  5. Type the following command:
    cscript slmgr.vbs /ato
    and press Enter.
    (There is a space after vbs in the command above.)
  6. Close the command prompt window.

Windows should now be in an activated state on this computer.

Office 2016, 2013, and 2010

  1. Open up an Elevated Command Prompt window. For instructions, please see How To Open an Elevated Command Prompt.
  2. In the elevated Command Prompt window, type a command that corresponds to your version of Office:
    • Office 2016
      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
    • 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 2010
      CD \Program Files\Microsoft Office\Office14
      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\Office14
  3. Press Enter.
  4. Type the following command that corresponds to your version of Office:
    • Office 2016
      cscript ospp.vbs /inpkey:XQNVK-8JYDB-WJ9W3-YJ8YR-WFG99
    • Office 2013
      cscript ospp.vbs /inpkey:YC7DK-G2NP3-2QQC3-J6H88-GVGXT
    • Office 2010
      cscript ospp.vbs /inpkey:VYBBJ-TRJPB-QFQRF-QFT4D-H3GVB
  5. Press Enter.  (There is a colon between inpkey and the product key.)
  6. Type cscript ospp.vbs /act then Press Enter.
  7. Close the command prompt window.

Office should now be in an activated state on this computer.

From a Network Without KMS Autodiscovery (manual configuration)

Windows (all supported versions)

  1. Open up a new browser window and go to our Generic Volume License Key (GVLK) page to find the GVLK that is appropriate to your version of Windows.
  2. Open an Elevated Command Prompt window. For instruction, please see How To Open an Elevated Command Prompt.
  3. In the elevated Command Prompt window, verify that the current directory is C:\Windows\System32. If it is not, type
    CD \Windows\System32
    and press Enter.
  4. Type the following command to set the key:
    cscript slmgr.vbs /ipk GVLK-from-Step-1
    replacing GVLK-from-Step-1 with the actual key you found in step 1,
    then press Enter.
    (There is a space between ipk and the product key.)
  5. Type the following command:
    cscript slmgr.vbs /skms kms01.cit.cornell.edu
    and press Enter.
    (Note: There is a space between skms and the url.
     The url in the command above begins with kay-emm-ess-zero-one.)
  6. Type the following command:
    cscript slmgr.vbs /ato
    and press Enter.
    (There is a space after vbs in the command above.)
  7. Close the elevated Command Prompt window.

Windows should now be in an activated state on this computer.

Office 2016, 2013, and 2010

  1. Open up an Elevated Command Prompt. For instructions, please see How To Open an Elevated Command Prompt.
  1. In the command prompt window, type the following command that corresponds to your version of Office:
    • Office 2016
      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
    • 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 2010
      CD \Program Files\Microsoft Office\Office14
      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\Office14
  2. Press Enter
  3. Type the following command that corresponds to your version of Office:
    • Office 2016
      cscript ospp.vbs /inpkey:XQNVK-8JYDB-WJ9W3-YJ8YR-WFG99
    • Office 2013
      cscript ospp.vbs /inpkey:YC7DK-G2NP3-2QQC3-J6H88-GVGXT
    • Office 2010
      cscript ospp.vbs /inpkey:VYBBJ-TRJPB-QFQRF-QFT4D-H3GVB
  4. Press Enter.
  5. Note: There is a colon between inpkey and the product key.
  6. Type the following command:
  7. cscript ospp.vbs /sethst:kms01.cit.cornell.edu
  8. Press Enter.
  9. Note: There is a colon between sethst and the url.
    Note: The url in the command above begins with "kay-emm-ess-zero-one."
  10. Type the following command:
  11. cscript ospp.vbs /act
  12. Press Enter.
  13. Note: There is a space after vbs in the command above.
  14. Close the command prompt window.

Office should now be in an activated state on this computer.

About this Article

Last updated: 

Friday, January 5, 2018 - 9:41am

Was this page helpful?

Your feedback helps improve the site.

Comments?