Microsoft Office Activation: Difference between revisions

From UMIACS
Jump to navigation Jump to search
No edit summary
No edit summary
Line 13: Line 13:


====Command Line Activation Method====
====Command Line Activation Method====
'''Please note that your time must be correct for this to work, make sure you are in the East Coast timezone and your time is set via the internet, try running "w32tm /resync" on the command line'''
'''Please note that your time must be correct for this to work, make sure you are in the East Coast timezone and your time is set via the internet, try running "w32tm /resync" on the command line.'''


#Open the Command Prompt as Administrator by opening the start menu and navigating to "All Programs->Accessories", right clicking on Command Prompt and clicking "Run as administrator"
#Open the Command Prompt as Administrator by opening the start menu and navigating to "All Programs->Accessories", right clicking on Command Prompt and clicking "Run as administrator".
#:[[Image:Activate_Office_Screen_1.jpg]]
#:[[Image:Activate_Office_Screen_1.jpg]]
#Run the following command to determine the architecture of your machine. This will help you determine which commands you need to run as you continue:
#Run the following command to determine the architecture of your operating system. This will help you determine which commands you need to run as you continue:
#:<pre>wmic os get osarchitecture</pre>
#:<pre>wmic os get osarchitecture</pre>
#:[[Image:Windows_Get_Architecture.jpg]]
#:[[Image:Windows_Get_Architecture.jpg]]
Line 31: Line 31:
#**32-bit: <code>"C:\Program Files (x86)\Microsoft Office\Office16\OSPP.VBS"</code>
#**32-bit: <code>"C:\Program Files (x86)\Microsoft Office\Office16\OSPP.VBS"</code>
#Run one of the following two commands to set the correct KMS server:
#Run one of the following two commands to set the correct KMS server:
#:If 64-bit Architecture:
#:64-bit Office:
#:<pre>cscript "C:\Program Files\Microsoft Office\Office14\OSPP.VBS" /sethst:kms.umd.edu</pre>
#:32-bit Office:
#:<pre>cscript "C:\Program Files (x86)\Microsoft Office\Office14\OSPP.VBS" /sethst:kms.umd.edu</pre>
#:<pre>cscript "C:\Program Files (x86)\Microsoft Office\Office14\OSPP.VBS" /sethst:kms.umd.edu</pre>
#:If 32-bit Architecture:
#:<pre>cscript "C:\Program Files\Microsoft Office\Office14\OSPP.VBS" /sethst:kms.umd.edu</pre>
#:[[Image:Activate_Office_Screen_2.jpg]]
#:[[Image:Activate_Office_Screen_2.jpg]]
#Run one the following two commands to force an activation against the KMS server
#Run one the following two commands to force an activation against the KMS server.
#:If 64-bit Architecture:
#:64-bit Office:
#:<pre>cscript "C:\Program Files\Microsoft Office\Office14\OSPP.VBS" /act</pre>
#:32-bit Office:
#:<pre>cscript "C:\Program Files (x86)\Microsoft Office\Office14\OSPP.VBS" /act</pre>
#:<pre>cscript "C:\Program Files (x86)\Microsoft Office\Office14\OSPP.VBS" /act</pre>
#:If 32-bit Architecture:
#:<pre>cscript "C:\Program Files\Microsoft Office\Office14\OSPP.VBS" /act</pre>
#:[[Image:Activate_Office_Screen_3.jpg]]
#:[[Image:Activate_Office_Screen_3.jpg]]
#You can use one of the following two commands to check the license status, this example shows 3 licenses because Visio and Project Pro are installed along side of the standard Office installation.
#You can use one of the following two commands to check the license status, this example shows 3 licenses because Visio and Project Pro are installed along side of the standard Office installation.
#:If 64-bit Architecture:
#:64-bit Office:
#:<pre>cscript "C:\Program Files\Microsoft Office\Office14\OSPP.VBS" /dstatus</pre>
#:32-bit Office:
#:<pre>cscript "C:\Program Files (x86)\Microsoft Office\Office14\OSPP.VBS" /dstatus</pre>
#:<pre>cscript "C:\Program Files (x86)\Microsoft Office\Office14\OSPP.VBS" /dstatus</pre>
#:If 32-bit Architecture:
#:<pre>cscript "C:\Program Files\Microsoft Office\Office14\OSPP.VBS" /dstatus</pre>
#:[[Image:Activate_Office_Screen_4.jpg]]
#:[[Image:Activate_Office_Screen_4.jpg]]

Revision as of 16:49, 23 October 2018

This article is about how to manually force Microsoft Office to activate and obtain a license from the university KMS server.

When do I need to do this?

Most users will not need to do this in order to use Microsoft Office. The only time this will need to be done is if Office is installed on a host that goes an extended length of time (180 days or more) without connecting to the campus network (either physically or through a VPN) and needs to be activated in a hurry.

How to Activate Office

In order to activate Office you need to connect to the UMD campus network. You can do this either by physically connecting your machine to the network while on campus, or by using the UMD VPN or UMIACS VPN.

Once you are on the campus network follow these instructions:

Simple Activation Method

Open any Office product (Word, PowerPoint, etc.). This should automatically activate Office. If it fails to activate, follow the instructions below:

Command Line Activation Method

Please note that your time must be correct for this to work, make sure you are in the East Coast timezone and your time is set via the internet, try running "w32tm /resync" on the command line.

  1. Open the Command Prompt as Administrator by opening the start menu and navigating to "All Programs->Accessories", right clicking on Command Prompt and clicking "Run as administrator".
    File:Activate Office Screen 1.jpg
  2. Run the following command to determine the architecture of your operating system. This will help you determine which commands you need to run as you continue:
    wmic os get osarchitecture
    File:Windows Get Architecture.jpg
  3. The path entered for the rest of the commands will differ slightly depending on what version and bitness of Office you are using. The below instructions assume Office 2010 32-bit on Windows 64-bit. See here for how to check Office version and bitness.
    • Office 2010
      • 64-bit: "C:\Program Files\Microsoft Office\Office14\OSPP.VBS"
      • 32-bit: "C:\Program Files (x86)\Microsoft Office\Office14\OSPP.VBS"
    • Office 2013
      • 64-bit: "C:\Program Files\Microsoft Office\Office15\OSPP.VBS"
      • 32-bit: "C:\Program Files (x86)\Microsoft Office\Office15\OSPP.VBS"
    • Office 2016
      • 64-bit: "C:\Program Files\Microsoft Office\Office16\OSPP.VBS"
      • 32-bit: "C:\Program Files (x86)\Microsoft Office\Office16\OSPP.VBS"
  4. Run one of the following two commands to set the correct KMS server:
    64-bit Office:
    cscript "C:\Program Files\Microsoft Office\Office14\OSPP.VBS" /sethst:kms.umd.edu
    32-bit Office:
    cscript "C:\Program Files (x86)\Microsoft Office\Office14\OSPP.VBS" /sethst:kms.umd.edu
    File:Activate Office Screen 2.jpg
  5. Run one the following two commands to force an activation against the KMS server.
    64-bit Office:
    cscript "C:\Program Files\Microsoft Office\Office14\OSPP.VBS" /act
    32-bit Office:
    cscript "C:\Program Files (x86)\Microsoft Office\Office14\OSPP.VBS" /act
    File:Activate Office Screen 3.jpg
  6. You can use one of the following two commands to check the license status, this example shows 3 licenses because Visio and Project Pro are installed along side of the standard Office installation.
    64-bit Office:
    cscript "C:\Program Files\Microsoft Office\Office14\OSPP.VBS" /dstatus
    32-bit Office:
    cscript "C:\Program Files (x86)\Microsoft Office\Office14\OSPP.VBS" /dstatus
    File:Activate Office Screen 4.jpg