Key Man Ser
Key Man Ser
Applies to: Volume licensed versions of Office 2019 and Office 2016, including Project and Visio
Activation is the process of validating software with the manufacturer after it has been installed on a specific
computer. Activation confirms that the product is genuine—not a fraudulent copy—and that the product key or
serial number is valid and has not been compromised or revoked. Activation also establishes a link or relationship
between the product key and the particular installation.
NOTE
If you're a user trying to activate a personal copy of Office, see Activate Office instead of reading this article.
Volume activation is the process that Microsoft volume licensing customers use to automate and manage the
activation of Windows operating systems, Microsoft Office, and other Microsoft products across large
organizations.
There are three different methods that you can activate volume licensed versions of Office, including Project and
Visio:
Key Management Service (KMS ): Office is activated by contacting a KMS host computer on your
network.
Multiple Activation Key (MAK): Office is activated online by Microsoft-hosted activation servers or by
telephone.
Active Directory-based: Office on a domain-joined computer is activated through Active Directory.
Which activation method you choose depends on the size, network infrastructure, connectivity, and security
requirements of your environment. You can choose to use different activation methods for different versions of
Office and for different computers, for example desktops and laptops. Because these three activation methods are
also used to activate volume licensed versions of Windows, you might be able to use the same method to activate
both Windows and Office. For more information, see Volume Activation for Windows 10 and Volume Activation
Overview.
All volume licensed versions of Office, including Project and Visio, have a preinstalled product key, called a
Generic Volume License Key (GVLK), that can be used for KMS and Active Directory-based activation. You don't
have to enter a product key for each Office installation if you're activating Office by using KMS or Active Directory.
If you're activating Office by using MAK, you must enter a product key for each Office installation, but there are
ways to automate that.
Related topics
Microsoft Office Licensing
minutes to read • Edit Online
Applies to: Volume licensed versions of Office 2019 and Office 2016, including Project and Visio
To activate volume licensed versions of Office, including Project and Visio, you must have a KMS host computer.
You can configure a Windows Server computer to be a KMS host computer by installing the Volume Activation
Services role and then running the Volume Activation Tools wizard.
To enable the KMS host computer to activate Office, you must install the Office Volume License Pack and enter
your KMS key on the KMS host computer. Then, you need to activate the KMS key over the internet or by
telephone.
If you have a KMS host computer configured to activate Windows, you can configure that same KMS host
computer to active Office. You can also configure a KMS host computer to activate multiple versions of Office,
such as Office 2019 and Office 2016. In these cases, the KMS host computer must be running an operating
system that supports KMS for each of the versions of Office that you want to activate. You'll also need to install
the Office Volume License Pack for each version of Office on the KMS host computer and activate a KMS host key
for each version of Office.
Office supports KMS host computers running on the following operating systems, depending on which version of
Office is being activated by KMS:
Office 2019: At least Windows Server 2012 or at least Windows 8.1 (volume editions)
Office 2016: At least Windows Server 2008 R2 or at least Windows 7 Service Pack 1 (volume editions)
You can download the appropriate Office Volume License Pack from the Microsoft Download Center: Office 2019,
Office 2016. To get the KMS key, sign in to the Volume Licensing Service Center (VLSC ) and download the KMS
key for each product and version of Office that you want KMS to activate.
NOTE
If you are setting up KMS on Windows 7 volume license edition or Windows Server 2008 R2, you must first install a patch as
described in Microsoft Knowledge Base article 2757817. This patch allows the KMS host computer to activate Office clients
that run on Windows 8.
Replace ACTIVATIONID with the Activation ID for your version of Office. The Activation ID for Office 2019 is
70512334-47B4-44DB -A233-BE5EA33B914C, and the 2016 Activation ID for Office 2016 is 98EBFE73-2084-
4C97-932C -C0CD1643BEA7.
The result of this command is a 36-digit installation ID. Paste the installation ID number into Notepad, and then
break it up into six groups of six numbers.
2. At the command line, run the following command:
slui.exe 4
This launches the Windows phone activation wizard and it will display a telephone number.
After you have obtained the telephone number, cancel the wizard. You can ignore the activation ID displayed by
the wizard. It is for Windows.
3. Call the telephone number. At each prompt, enter a group of six numbers. This is the installation ID that you
obtained in step 1.
4. When you hear the response, write down the numbers. This is your confirmation ID.
5. At the command line, run the following command:
Replace CONFIRMATIONID with the 48 digit confirmation ID that you received over the telephone.
Replace ACTIVATIONID with the Activation ID for your version of Office. The Activation ID for Office 2019 is
70512334-47B4-44DB -A233-BE5EA33B914C, and the 2016 Activation ID for Office 2016 is 98EBFE73-2084-
4C97-932C -C0CD1643BEA7.
6. You should see a message that the confirmation ID was successfully deposited.
To view information only for Office 2019, specify the Activation ID after the /dlv parameter. For example:
The following is an example of the output. The line that says: "License Status: Licensed" indicates that your KMS
host computer is successfully activated.
Related topics
Overview of volume activation of Office
Activate volume licensed versions of Office by using Active Directory
minutes to read • Edit Online
Applies to: Volume licensed versions of Office 2019 and Office 2016, including Project and Visio
To activate volume licensed versions of Office, including Project and Visio, by using Key Management Service
(KMS ), the KMS host computer for Office must be discoverable. The KMS host computer automatically publishes
its existence by creating service (SRV ) resource records (RRs) on the DNS server. But, only the first KMS host
computer can create an SRV RR. If there is more than one computer running KMS, subsequent KMS host
computers cannot change or update SRV RRs unless the permissions on the DNS server are configured to allow
this.
Changing the permissions on the DNS server requires administrative rights in the domain. You will need to set up
DNS as follows:
Ensure that all computers running KMS are members of the same Active Directory Domain Services (AD DS )
domain.
Create a global security group in AD DS for the computers running KMS.
Add each computer running KMS to the new security group.
Set the permissions on the DNS server to enable updates by members of the newly created security group.
For more information, see Configuring DNS.
Related topics
Configure a KMS host computer to activate volume licensed versions of Office
Activate volume licensed versions of Office by using KMS
minutes to read • Edit Online
Applies to: Volume licensed versions of Office 2019 and Office 2016, including Project and Visio
All volume licensed versions of Office, including Project and Visio, have a Generic Volume License Key (GVLK)
preinstalled. GVLKs support both Key Management Service (KMS ) and Active Directory-based activation. On the
KMS host computer configured to support volume activation of Office, you install and enable only one KMS host
key to activate all volume licensed versions of Office.
If the KMS host computer is available and properly configured, activation of Office occurs transparently to the
user. Office is activated the first time it runs, provided that there have been at least four previous activation
requests to the KMS host computer. This is because the KMS host computer requires at least five requests before
it begins activating clients.
You don't have to do anything else to enable activation of Office by KMS. KMS clients can locate a KMS host
computer automatically by querying DNS for service (SRV ) resource records (RRs) that publish the KMS service.
For more information, see How DNS is used to find a KMS host computer.
If the network environment does not use SRV RRs, you can manually assign a KMS client to use a specific KMS
host computer by configuring the
HKEY_LOCAL_MACHINE\Software\Microsoft\OfficeSoftwareProtectionPlatform registry key on the KMS client.
The KMS host computer name is specified by KeyManagementServiceName (REG_SZ ), and the port is specified
by KeyManagementServicePort (REG_SZ ). The default port is 1688. These registry keys can also be set through
by using ospp.vbs script. For more information about the ospp.vbs script, see Tools to manage volume activation
of Office.
To enable KMS host caching, type the following command, and then press ENTER:
Licensed By default, the KMS client requests activation with the KMS
host computer one time every seven days. (The number of
days is configurable.) This design allows the maximum possible
time for the client to be in the licensed state.
Out-of-tolerance If activation does not occur during the 180-day period, Office
goes into the out-of-tolerance state for 30 days. Users then
see notifications that request activation.
Unlicensed notification If activation does not occur during the out-of-tolerance state,
Office goes into the unlicensed notification state. Users then
see notifications that request activation and a red title bar.
You use the ospp.vbs script with the /dstatusall option to check the license state for all Office clients. Use the
/dstatus option to check the status of the local client. For more information about using the ospp.vbs script, see
Tools to manage volume activation of Office.
Related topics
Overview of volume activation of Office
Configure a KMS host computer to activate volume licensed versions of Office
Configure DNS for activating volume licensed versions of Office by using KMS
Tools to manage volume activation of Office
GVLKs for KMS and Active Directory-based activation of Office 2019 and Office 2016
Volume Activation Management Tool (VAMT) Technical Reference
minutes to read • Edit Online
Applies to: Volume licensed versions of Office 2019 and Office 2016, including Project and Visio
Multiple Activation Key (MAK) activation is used for one-time activation through Microsoft-hosted activation
services, either via the internet or by telephone. MAK activation requires that a MAK is installed on a client
computer and instructs that computer to activate itself against those services.
Each MAK has a predetermined number of allowed activations and is based on your volume licensing agreement.
Each Office activation that uses MAK counts toward the activation limit. After Office is activated, no re-activation is
required unless the hardware changes significantly.
There are two ways to activate computers by using MAK:
MAK independent activation requires that each computer independently connect and be activated with
Microsoft, either over the Internet or by telephone. MAK independent activation is best for computers that
have direct access to the internet.
MAK proxy activation by using VAMT enables one computer with internet access to process activation
requests on behalf of multiple computers. MAK proxy activation is configured by using the Volume
Activation Management Tool (VAMT). MAK proxy activation is appropriate for environments in which
security concerns might restrict direct access to the internet or to development and test labs. For more
information, see Perform Proxy Activation.
NOTE
For more information about the Config.xml file, see Config.xml file reference. (Even though this article is for an earlier
version of Office, the information also applies to Office 2016.)
You can activate Office 2016 automatically when you install by setting the AUTO_ACTIVATE property value to 1 in the
Config.xml file. For more information, see Setting element. (Even though this article is for an earlier version of Office, the
information also applies to Office 2016.)
NOTE
For more information about the Config.xml file, see Config.xml file reference. (Even though this article is for an earlier
version of Office, the information also applies to Office 2016.)
Related topics
Overview of volume activation of Office
Tools to manage volume activation of Office
minutes to read • Edit Online
Applies to: Volume licensed versions of Office 2019 and Office 2016, including Project and Visio
Active Directory-based activation enables an organization to activate volume licensed versions of Office, including
Project and Visio, on computers that are joined to an Active Directory domain. Active Directory-based activation is
implemented as a role service on Windows Server and relies on Active Directory Domain Services to store an
activation object. For more information, see Activate using Active Directory-based activation.
Related topics
Overview of volume activation of Office
GVLKs for KMS and Active Directory-based activation of Office 2019 and Office 2016
minutes to read • Edit Online
Applies to: Volume licensed versions of Office 2019 and Office 2016, including Project and Visio
There is a 25-day grace period from the time of installation of Key Management Service (KMS ) clients before
notifications to activate are displayed to the user. The 25-day grace period gives ample time for a KMS host
computer to be found and activation to succeed. If activation is successful, users don't see notifications to activate.
If you want to deploy a volume licensed version of Office, or Project or Visio, as part of an operating system image,
you must rearm your Office installation before you capture the image. If you do not rearm, users might see
notification dialog boxes at the time that the image is deployed, instead of 25 days after deployment.
Rearming does the following important tasks:
Resets the grace timer to 30 days.
Freezes the grace timer until either an Office application is run, or the ospp.vbs script is run.
Resets the client computer ID (CMID ). This is important because the KMS host computer uses the CMID to
determine the number of unique clients. You can use the ospp.vbs script to check the CMID.
For more information about the ospp.vbs script, see Tools to manage volume activation of Office.
You can rearm five times, unless you activate Office by using a KMS host computer. If you run out of rearms,
activating by using a KMS host computer lets you rearm once.
NOTE
Rearming is also recommended if you're activating a volume licensed version of Office, including Project and Visio, by using
Multiple Activation Key (MAK). If you're activating by using MAK and you don't remotely activate for end-users by using the
Volume Activation Management Tool (VAMT) or ospp.vbs, users see an activation dialog box the first time that an Office
application starts. The activation dialog box is slightly different 25 days after installation. Also, users might immediately see a
red title bar warning them of activation issues if Office wasn't rearmed before the image was captured.
Related topics
Overview of volume activation of Office
Tools to manage volume activation of Office
Volume Activation Management Tool (VAMT) Technical Reference
minutes to read • Edit Online
Applies to: Volume licensed versions of Office 2019 and Office 2016, including Project and Visio
The Office Software Protection Platform script (ospp.vbs), the Software License Manager script (slmgr.vbs), and
the Volume Activation Management Tool (VAMT) can help you configure and test volume licensed versions of
Office, including Project and Visio. Before you read this article, we recommend that you read Overview of volume
activation of Office, Activate volume licensed versions of Office by using MAK, and Activate volume licensed
versions of Office by using Active Directory.
IMPORTANT
Before you run the ospp.vbs, ensure that:
If you want to run the script on a remote computer, the Windows firewall allows Windows Management
Instrumentation (WMI) traffic on the remote computer.
The user account you will use is a member of the Administrators group on the computer on which you run the script.
You run ospp.vbs script from an elevated command prompt.
/unpkey:value Uninstalls an installed product key with the last five digits of
the product key to uninstall (as displayed by the /dstatus
option). Value parameter is required.
/rearm Resets the licensing status for all installed Office product keys.
/rearm:value Resets the licensing status for an Office license with a user-
provided SKUID value. Value parameter is required.
Use this option with the SKUID value specified by using the
/dstatus option if you have run out of rearms and have
activated Office through KMS or Active Directory-based
activation to gain an additional rearm.
The following table describes the ospp.vbs options for configuring the KMS client.
KMS client options for ospp.vbs
/sethst:value Sets a KMS host name with a user-provided host name. Value
parameter is required.
This sets
HKLM\Software\Microsoft\OfficeSoftwareProtectionPla
tform\KeyManagementServiceName (REG_SZ).
KMS CLIENT OPTION DESCRIPTION
This sets
HKLM\Software\Microsoft\OfficeSoftwareProtectionPla
tform\KeyManagementServicePort (REG_SZ).
/remhst Removes KMS host name and sets port to default. The
default port is 1688.
/skms-domain:value (Windows 8 and later versions only) Sets the specific DNS
domain in which all KMS SRV records can be found. This
setting has no effect if the specific single KMS host name is
set by the /sethst option. Value parameter is the Fully
Qualified Domain Name (FQDN) and is required.
/ckms-domain (Windows 8 and later versions only) Clears the specific DNS
domain in which all KMS SRV records can be found. The
specific KMS host is used if it is set by the /sethst option.
Otherwise, auto-discovery of the KMS host is used.
NOTE
Any changes that you make affect only the Office client products. You have to configure the Windows client separately by
using the slmgr.vbs script described in The slmgr.vbs script later in this article.
NOTE
If you change the default port on the KMS host computer, you must run ospp.vbs with the /setprt option. > For
example: cscript ospp.vbs /setprt:1750
2. To trigger activation, type the following command, and then press ENTER:
cscript ospp.vbs /act
3. To check the KMS activation history to see whether the host was successfully contacted, type the following
command, and then press ENTER:
cscript ospp.vbs /dhistorykms
4. Now you want this KMS client to use Domain Name System (DNS ) for auto-discovery of the production
KMS host. To remove the KMS host name, type the following command, and then press ENTER:
cscript ospp.vbs /remhst
OPTION DESCRIPTION
/ ipk [ProductKey] Installs the product key for Windows (default) or other
application identified by the product key.
/ ato [ActivationID] Activates the KMS host for Windows (default), or the
application that is identified when its Activation ID is
provided. The Office 2019 Activation ID is 70512334-47B4-
44DB-A233-BE5EA33B914C, and the Office 2016 Activation
ID is 98EBFE73-2084-4C97-932C-C0CD1643BEA7.
/ atp [ConfirmationID][ActivationID] After the Confirmation ID is received, activates the KMS host
for Windows (default) or the application that is identified
when its Activation ID is provided. The Office 2019 Activation
ID is 70512334-47B4-44DB-A233-BE5EA33B914C, and the
Office 2016 Activation ID is 98EBFE73-2084-4C97-932C-
C0CD1643BEA7.
OPTION DESCRIPTION
/ upk [ActivationID] Uninstalls the product key for Windows (default) or the
application that is identified when its Activation ID is
provided. The Office 2019 Activation ID is 70512334-47B4-
44DB-A233-BE5EA33B914C, and the Office 2016 Activation
ID is 98EBFE73-2084-4C97-932C-C0CD1643BEA7.
/ xpr [ActivationID] Displays the expiration date for the current license state.
/ sprt [PortNumber] Sets the TCP communications port on a KMS host computer.
It replaces PortNumber with the TCP port number to use.
The default setting is 1688.
/ sai [ActivationInterval] Changes how often a KMS client attempts to activate itself
when it cannot find a KMS host computer. It replaces
ActivationInterval with a value expressed in minutes. The
default setting is 120 minutes.
/ sri [RenewalInterval] Changes how often a KMS client attempts to renew its
activation by contacting a KMS host computer. It replaces
RenewalInterval with a value expressed in minutes. The
default setting is 10080 minutes (7 days). This setting
overrides the local KMS client settings.
The following table shows the command options for activating an AD DS forest by using Active Directory-based
activation.
Slmgr.vbs command options — Active Directory-based activation
OPTION DESCRIPTION
NOTE
Office 2019 requires at least VAMT 3.1.
Related topics
Overview of volume activation of Office
Activate volume licensed versions of Office by using MAK
Activate volume licensed versions of Office by using Active Directory
minutes to read • Edit Online
Applies to: Volume licensed versions of Office 2019 and Office 2016, including Project and Visio
Setting up volume activation of Office, including Project and Visio, by using Key Management Service (KMS ) or
Multiple Activation Key (MAK) can be challenging. Use these steps to troubleshoot the most common issues.
NOTE
If you're an Office user troubleshooting a personal copy of Office, see Unlicensed Product and activation errors in Office
instead of reading this article.
Many of the solutions include running the ospp.vbs, which you need to run from an elevated command prompt on
the computer on which Office is installed. The opss.vbs script is located in the Program Files\Microsoft
Office\Office16 folder. If you installed the 32-bit version of Office on a 64-bit operating system, go to the Program
Files (x86)\Microsoft Office\Office16 folder. You can also use the slmgr.vbs script to configure and manage volume
activation. For detailed information about these scripts, see Tools to manage volume activation of Office.