To install the Volume Activation service for Windows and office

Source: Internet
Author: User

1 KMS Introduction


KMS (key Management service, Windows Key Management Services) This feature is a new product activation mechanism launched by Microsoft from Windows Vista and is suitable for volume licensing. KMS requires a KMS server in the local area network, and the role of the KMS server is to provide a random activation ID (different from the product activation key) for all computers in the LAN for the operating system cycle (typically 180 days), and then the KMS service inside the computer will automatically activate the system. Implement the normal system software service and operation. Therefore, the computer must maintain a regular connection with the KMS server so that the automatic check of the KMS activation Service implements the automatic renewal of the activation, which limits the activation scope within the company, avoids unauthorized authorization to the outside computer, and when the illegal activator leaves the company domain, Because the client KMS service cannot connect to a KMS activation server that is located within the domain, let it provide a new serial number that will revert to the trial version status after more than 180 days due to the expiration of the activation ID, while the legitimate grantee is able to obtain the ID update periodically and maintain the correct activation status.

2 Installing Windows keys in Windows Server


In this article, you install the KMS key for Windows Server R2 on a computer in Windows Server R2 Datacenter, and then you install the KMS key for Office 2013.

(1) Prepare a Windows Server R2 computer, which can be a physical machine or a virtual machine, but when ready, the machine will be pinned as a KMS Server. The current lab environment is a virtual machine with 2GB memory and 2 CPUs installed, as shown in Windows Server R2 Datacenter Edition, 2-1. Note the computer name (the current name is Kms-server), which is required when configuring KMS Server.

650) this.width=650; "src=" Http://s3.51cto.com/oss/201710/27/8c6b75487651d3b5e5ac66ad5f3e23fd.png "/>

Figure 2-1 System Status

(2) Set a fixed IP address for the current computer.

(3) Open Server Manager, and in the dashboard, click Add Roles and features, as shown in 2-2.

650) this.width=650; "src=" Http://s3.51cto.com/oss/201710/27/8aff3ef93c36b672f2bd54c1887dafff.png "/>

Figure 2-2 Adding roles and features

(4) in the Select Server Roles dialog box, click to select Volume Activation services, as shown in 2-3.

650) this.width=650; "src=" Http://s3.51cto.com/oss/201710/27/c5d1fe3cabe8b9977d5be7404c814561.png "/>

Figure 2-3 Installing the Volume Activation Service

(5) When the installation is complete, click on the "Volume Activation Tool" link, as shown in 2-4.

650) this.width=650; "src=" Http://s3.51cto.com/oss/201710/27/ab47b25f5fb2f439edbbaadc63cf0bd0.png "/>

Figure 2-4 Installation Complete

(6) Enter the Volume Activation tool program, in select Volume Activation method, in the Key Management Service (KMS) text box, enter the computer name of the KMS server you want to manage (in figure 2-1 you can see that the current computer name is Kms-server), and 2-5 is shown.

650) this.width=650; "src=" Http://s3.51cto.com/oss/201710/27/ed5b52de3e9abfcd42d2b77209a81271.png "/>

Figure 2-5 Selecting a Volume activation method

(7) In the Manage KMS Hosts dialog box, in install KMS host key, enter the KMS key for Windows Server R2, as shown in 2-6.

650) this.width=650; "src=" Http://s3.51cto.com/oss/201710/27/627a3d12330d25df1d371c44214f63dc.png "/>

Figure 2-6 Managing a KMS host

(8) in the "Product Key installation succeeded" dialog box, select "Activate Product", 2-7 as shown.

650) this.width=650; "src=" Http://s3.51cto.com/oss/201710/27/372bdbfd5034dfceeb46886b906fe7b7.png "/>

Figure 2-7 Activating the product

(9) In the Activate Product dialog box, in the Select Product drop-down list, select the KMS host key that you want to activate (if multiple host keys are installed, you can select from the drop-down list, currently only the Windows Server R2 key), and then select the activation method. If the current host can connect to the Internet, select Activate Online, or if this is an intranet server that cannot connect to the Internet, select activate by phone, and then in select Location, select China, 2-8. This example is activated by telephone.

650) this.width=650; "src=" Http://s3.51cto.com/oss/201710/27/103f349524dfbf02ae03a3b7bddca2ba.png "/>

Figure 2-8 Activating the product

(10) In activate by phone, use your phone or landline, dial 8008301832, or dial 4008301832 with a landline, then follow the prompts to enter the installation ID in step 2, and in step 3, enter the confirmation ID provided by the telephone system, then click Submit button activation, shown in 2-9.

650) this.width=650; "title=" 1111.png "src=" https://s5.51cto.com/oss/201710/27/ 399eaed9999004309be66efbd13ce6e5.png-wh_500x0-wm_3-wmp_4-s_920095581.png "alt=" 399eaed9999004309be66efbd13ce6e5.png-wh_ "/>

Figure 2-9 Activation by telephone

(11) In the "Activate your own Success" dialog box, click the "Next" button, as shown in 2-10. However, in the KMS TCP listening port display as 0, we should change it to the default port of 1688.

650) this.width=650; "src=" Http://s3.51cto.com/oss/201710/27/6c80870ad1ca71d8d7f889e020e41874.png "/>

Figure 2-10 Activating your own success

(12) In the Configure Key Management Service Options dialog box, change the KMS TCP listening port to 1688, and then click the Submit button, as shown in 2-11.

650) this.width=650; "src=" Http://s3.51cto.com/oss/201710/27/d26df4a0f5b772ab283ba8da41234a63.png "/>

Figure 2-11 Modifying the KMS TCP listening port

(13) In the Configure Success dialog box, click the Close button to complete the configuration of the KMS. As shown in 2-12.

650) this.width=650; "src=" Http://s3.51cto.com/oss/201710/27/8c1b2b1e4bdff0bea46baf7f19d862ad.png "/>

Figure 2-12 Configuration Success

With the above configuration, the KMS server for this Windows Server R2 Datacenter Edition has been configured to activate Windows Server R2 Datacenter Edition, Standard Edition, and Windows Server R2, Windows Professional and Enterprise editions of Server 2008, Windows 7, 8, 8.1.

If you want to continue to install additional keys on the current KMS server, such as Office 2010, 2013, 2016, and so on, continue to the next steps.


3 Installing the Office key


A Windows KMS Server can install several different keys, such as after you install the product key for Windows Server R2 Datacenter Edition in the previous section, you can also install Windows Server R2, Office 2016, Different product keys, such as Office 2013, Office 2010, and so on. This section describes adding a KMS key for Office 2013 as an example.

(1) In Server Manager, click on the "VA service" on the left, right clicking on the name of the server, select "Volume Activation Tool" in the popup shortcut menu, and 2-13, enter the KMS server management interface.

650) this.width=650; "title=" 213.png "src=" https://s1.51cto.com/oss/201710/27/ Dc6e3803eb7e33d9d58ffa390e31e2c8.png-wh_500x0-wm_3-wmp_4-s_3320448597.png "alt=" Dc6e3803eb7e33d9d58ffa390e31e2c8.png-wh_ "/>

Figure 2-13 Volume Activation tool

(2) In the Volume Activation tool program, in select Volume Activation method, in the Key Management Service (KMS) text box, enter the computer name of the KMS server that you want to manage, as shown in 2-14.

650) this.width=650; "title=" 214.png "src=" https://s1.51cto.com/oss/201710/27/ 6cc2be0d2b6cfebc8cba0b45309e9577.png "alt=" 6cc2be0d2b6cfebc8cba0b45309e9577.png "/>

Figure 2-14 Choosing a Key Management Service

(3) In the Manage KMS Hosts dialog box, in install KMS host key, enter the new KMS key that you want to add, and enter the KMS key for Office 2013, as shown in 2-15.

650) this.width=650; "src=" Http://s3.51cto.com/oss/201710/27/f3947bd97d2f2e8f01b88264488f4dd2.png "/>

Figure 2-15 Installing the Office key

(4) in the "Product Key installation succeeded" dialog box, select "Activate Product", 2-16 as shown.

650) this.width=650; "src=" Http://s3.51cto.com/oss/201710/27/a965754dffcdd8e72ae9f1f5b24d747b.png "/>

Figure 2-16 Activating the product

(5) In the Activate Product dialog box, in the Select Product drop-down list, select the KMS host key that you want to activate, select Office Now (Office 2013), select Online activation, and 2-17.

650) this.width=650; "src=" Http://s3.51cto.com/oss/201710/27/913bd115dda20acdfe988c18550c9244.png "/>

Figure 2-17 Activating the product

(6) in the "Activate your own Success" dialog, click the "Close" button, as shown in 2-18.

650) this.width=650; "src=" Http://s3.51cto.com/oss/201710/27/f896acca0fbea4454a4d48f3dac4531c.png "/>

Figure 2-18 Activating your own success


4 DNS Server Configuration


To use Key Management Service (KMS) to activate Windows with Office, the KMS host must be detectable. A KMS host can automatically publish its presence by creating a service (SRV) resource record (RR) on the DNS server.

When a KMS client queries the KMS information for the first time to DNS, it randomly selects a KMS host from the list of SRV RRs returned by DNS. The address of the DNS server that contains the SRV RR can be listed as a suffix entry on the KMS client. This allows the SRV RR for KMS to be advertised on a single DNS server, allowing KMS clients with other primary DNS servers to locate the SRV RR.

It is also simple to configure the SRV records for a KMS host in DNS, with the following sequence and steps in mind:

(1) Create an A record in the DNS server to point to the IP address of the KMS host, For example, in this example, the IP address of the KMS server is 172.18.96.1, you can create a record named server in DNS with the IP address shown in 172.18.96.1,2-19. (description, the current example domain name is heinfo.edu.cn).

650) this.width=650; "src=" Http://s3.51cto.com/oss/201710/27/36ce5a7ea081e2bf9761d564725b22cd.png "/>

Figure 2-19 Creating a record

(2) Right-click the Active Directory domain name and select "Other new records" in the Popup shortcut menu, 2-20.

650) this.width=650; "src=" Http://s3.51cto.com/oss/201710/27/409a088f8f33ba5b65763007f0034200.png "/>

Figure 2-20 Other new records

(3) In the Resource Record Type dialog box, select service location (SRV), and then click the Create Record button, as shown in 2-21.

650) this.width=650; "src=" Http://s3.51cto.com/oss/201710/27/6be205727b5caac0f13a50e2aa14e444.png "/>

Figure 2-21 Creating a record

(4) in the New Resource Record dialog box, enter _VLMCS in the Service text box, enter _tcp (note the underscore and uppercase letters), enter 1688 in the Port number text box, and in the host for this service Enter the A record server.heinfo.edu.cn created in Figure 2-19 and click the OK button to complete the creation, as shown in 2-22.

650) this.width=650; "src=" Http://s3.51cto.com/oss/201710/27/dcdce6c8d9ca2eba599b8e3cbee4e02e.png "/>

Figure 2-22 Creation Complete


5 KMS Client Usage considerations


For Windows and office systems, if you are using KMS server activation, the following conditions must be met:

(1) Version requirements: All Windows Server 2008 and its later operating systems, Professional Edition and Enterprise Edition Windows clients (Windows 7, 8, 8.1, 10), and the education edition of Windows 10. Version of Office 2010, Office 2013, Office 2016 Open License. Retail versions of Office cannot use KMS activation.

(2) KMS client count: For KMS clients, this count can be "volume activated" only if the KMS client "accumulates" count reaches a certain number, which is 5 for Windows Server and Office, for Windows 7, Windows 8, Windows 10, and so on) is 25.

(3) For Windows operating systems, a KMS client key installation is required to use KMS server activation.

(4) For Office, there is a "media" requirement. Office includes: "Retail edition" and "Big client Edition", only "big client" office can use KMS server activation, and no product key is required during installation.

During Windows Setup, when you enter the serial number, you can enter the key for the corresponding version of the KMS client, so that after Windows is installed, if DHCP and DNS (the IP address of the KMS specified in DNS) are configured, the Windows client Automatically activate Windows after you obtain the IP address and DNS address.

If you do not enter a serial number during installation of Windows, or if you are using a different serial number to complete the installation, you can write a "batch script" to complete the replacement of the serial number in the script, specify the KMS server address, and then complete the activation. The following are the batches that are activated for Windows Server R2 Datacenter Edition with Office 2013, respectively. If you want to activate another Windows system, replace the corresponding Windows product serial number behind-IPK, and if you want to activate another version of Office, you will need to enter the installation path for the corresponding Office version in the batch process that activates Office 2013. Where the path to Office 2016 (the previous one is unchanged) is Office16,office 2010 is Office14. Also, replace the KMS-SERVER-IP in the batch file with the IP address of the KMS server in your network.


echo activates Windows Server R2 Datacenter Edition

%systemdrive%

%SYSTEMROOT%\SYSTEM32\CSCRIPT.EXE%SYSTEMROOT%\SYSTEM32\SLMGR.VBS-IPK W3ggn-ft8w3-y4m27-j84cp-q3vj9

CD%systemroot%\system32\

Cscript.exe Slmgr.vbs-kms-server-ip

Cscript.exe Slmgr.vbs-ato

Cscript.exe Slmgr.vbs–dli



ECHO Activates the Office Edition vol batch

%systemdrive%

CD%programfiles (x86)%\microsoft Office\office15

CD%ProgramFiles%\Microsoft OFFICE\OFFICE15

cscript Ospp.vbs/sethst:kms-server-ip

cscript ospp.vbs/setprt:1688

cscript ospp.vbs/act

"description" ( 1 ) KMS client key, see:

https://technet.microsoft.com/en-us/library/jj612867 (v=ws.11). aspx

( 2 ) Understand Windows of the operating system KMS with the MAK secret key

http://wangchunhai.blog.51cto.com/225186/723876/

( 3 This article is published in "Network Operation and Management" . Year No. Ten period, with a slight limitation at the time of publication.


This article from "Wang Chunhai blog" blog, declined reprint!

To install the Volume Activation service for Windows and office

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.