Qunhui NAS uses docker container to build kms activation server to activate Windows system and office (operation steps)

Time:2021-12-31

preface

The windows system that can be activated through KMS is generally called VL version, that is, volume authorized version. We can build our own kms activation server to realize automatic activation every 180 days, so that the system remains activated all the time. This time, I will share with you how to use the docker container suite of Qunhui NAS to build a kms server, and demonstrate how to use our own kms server to activate Windows operating system and Microsoft office.

Operation steps

First go to the suite center to install docker suite

[external chain picture transfer failed. The source station may have anti-theft chain mechanism. It is recommended to save the picture and upload it directly (img-zcvbfkb9-158143112724)( https://tc.zeruns.tech/images/2020/02/08/QQ20200208173542.jpg )]

After installation, open docker and search in the registry: kms, select the first one and click [Download]

[external chain picture transfer failed. The source station may have anti-theft chain mechanism. It is recommended to save the picture and upload it directly (img-zsbp7v1v-158143112726)( https://tc.zeruns.tech/images/2020/02/08/QQ20200208173829.jpg )]

Select a version, I’ll choose 1112 here

[external chain picture transfer failed. The source station may have anti-theft chain mechanism. It is recommended to save the picture and upload it directly (img-qodqflyo-158143112726)( https://tc.zeruns.tech/images/2020/02/08/QQ20200208173932.jpg )]

Wait a moment, and then go to [image] to select the image we just downloaded and click [start]

[external chain picture transfer failed. The source station may have anti-theft chain mechanism. It is recommended to save the picture and upload it directly (img-qew6tavk-158143112726)( https://tc.zeruns.tech/images/2020/02/08/QQ20200208174051.jpg )]

To start creating containers, click [advanced settings] here

[external chain picture transfer failed. The source station may have anti-theft chain mechanism. It is recommended to save the picture and upload it directly (img-id6zvjs4-1581431121727)( https://tc.zeruns.tech/images/2020/02/08/QQ20200208174200.jpg )]

Check [use the same network as docker host] in [network]

[the external chain picture transfer fails. The source station may have an anti-theft chain mechanism. It is recommended to save the picture and upload it directly (img-d27spzwo-1581431121727)( https://tc.zeruns.tech/images/2020/02/08/QQ20200208174300.jpg )]

Finally, click Apply after confirmation, and the container will start automatically after application.

In this way, even if our kms server is built, the default port number of KMS server is 1688, and the IP is the IP of our NAS. If you want to use an external network, you can use intranet penetration or port mapping. Take windows10 professional workstation edition as an example to demonstrate how to use kms to activate the system.

First of all, let’s judge the version of windows. Run the command prompt as an administrator and enter:wmic os get captionSee me, this is windows 10 professional workstation edition

[external chain picture transfer failed. The source station may have anti-theft chain mechanism. It is recommended to save the picture and upload it directly (img-d0fmtfer-158143112728)( https://tc.zeruns.tech/images/2020/02/08/QQ20200208174911.jpg )]

Open: https://technet.microsoft.com/en-us/library/jj612867.aspx Find the key of the corresponding system version. For example, the key of windows10 professional workstation version is nrg8b-vkk3q-cxvcj-9g2xf-6q84j

Open the command prompt as an administrator and type the following commands (modify the following commands according to your own situation. Nas.zeruns.tech is the IP address of your NAS, and nrg8b-vkk3q-cxvcj-9g2xf-6q84j is the key corresponding to the operating system):


slmgr /skms nas.zeruns.tech

slmgr /ipk NRG8B-VKK3Q-CXVCJ-9G2XF-6Q84J

slmgr /ato

Check the activation status of the system

[external chain picture transfer failed. The source station may have anti-theft chain mechanism. It is recommended to save the picture and upload it directly (IMG ozukzp97-158143112729)( https://tc.zeruns.tech/images/2020/02/08/QQ20200208180347.jpg )]

In this way, we have completed the activation of our operating system by using the self built kms server. The next step is to activate Microsoft office. Here, I take Microsoft Office 2019 Vol professional edition as an example to demonstrate the operation.

First, confirm whether our office is in vol version. The method is as follows (please change the following command according to your own situation):

Run the command prompt as an administrator, enter CD C: \ program files \ Microsoft Office \ office16 to switch the directory (here, please change the corresponding path according to your own office version), and then entercscript ospp.vbs /dstatus。 You can see that VL is the Vol version

[external chain picture transfer failed. The source station may have anti-theft chain mechanism. It is recommended to save the picture and upload it directly (img-gdjkdnft-158143112729)( https://tc.zeruns.tech/images/2020/02/08/QQ20200208203139.jpg )]

Then start activation and enter the following command:


cd C:\Program Files\Microsoft Office\Office16

cscript ospp.vbs /sethst:nas.zeruns.tech

cscript ospp.vbs /act

Finally, the word “product activation successful” indicates that the activation is successful.

[the external chain picture transfer fails. The source station may have an anti-theft chain mechanism. It is recommended to save the picture and upload it directly (img-vxbltlkh-158143112729)( https://tc.zeruns.tech/images/2020/02/08/QQ20200208204611.jpg )]
[the external chain picture transfer fails. The source station may have an anti-theft chain mechanism. It is recommended to save the picture and upload it directly (img-y1riqnkc-158143112730)( https://tc.zeruns.tech/images/2020/02/08/QQ20200208204619.jpg )]

Check the activation status of Microsoft office

[external chain picture transfer failed. The source station may have anti-theft chain mechanism. It is recommended to save the picture and upload it directly (img-iprc56fj-158143112730)( https://tc.zeruns.tech/images/2020/02/08/QQ20200208204811.jpg )]

This is the end of this article about Qunhui NAS using docker container to build kms activation server to activate Windows system and office. For more information about Qunhui NAS building kms server to activate Windows, please search previous articles of developeppaer or continue to browse the relevant articles below. I hope you will support developeppaer in the future!