License activation for windows server : enterprise cloud knowledge centerenterprise cloud 2

Problem

Given the amount of deployments I bởi vì, it’s surprising that I don’t use KMS more often. Like most technical types, I find a way that works for me, & that’s the way I vì chưng things from then on. However these last few weeks I’ve been putting in a new infrastructure for a local secondary school. Their mạng internet access is through a proxy VPS, that refuses to lớn let Windows activation work. Unfortunately the “Administrators” of this proxy hệ thống were not disposed khổng lồ give me any help, or let me anywhere near it, lớn fix it.

Bạn đang xem: License activation for windows server : enterprise cloud knowledge centerenterprise cloud 2

So after activating a dozen servers over the phone, I decided enough was enough “I’m putting in a KMS Server!”

I’m deploying KMS on Windows Server 2008 R2, và it is for the licensing & activation of Serer 2008 R2 và Windows 7. I will also add in the licensing KMS mechanism for Office 2010 as well.

Note: If you are using Server 2003 it will need SP1 (at least) and this update.

Solution

To be honest it’s more difficult to find out how to deploy a KMS hệ thống, than it actually is lớn bởi vì. I’ve sầu gone inlớn a fair bit of detail below but most of you will simply need lớn follow steps 1-4 (immediately below). In addition, after that I’ve sầu outlined how to lớn deploy KMS from commvà line. Then how khổng lồ chạy thử it, và finally how khổng lồ add Microsoft Office 2010 Licenses to lớn the KMS Server.

Install Microsoft Windows 2008 R2 Key Management Service (EASY)

1. The most difficult part is locating your KMS Key! If you have a Microsoft License agreement, log into lớn the the Microsoft Volume License Service Center, và retrieve the KMS License Key for “Windows Server 2008 Std/Ent KMS B”

Note: To License/Activate Server 2008 R2 AND Windows 7 THIS IS THE ONLY KEY YOU NEED. You do NOT need to lớn add additional keys for Windows 7. (You DO for Office 2010, but I’ll cover that below).

*

2. Armed with your new key, you simply need khổng lồ change the product key on the VPS that will be the KMS server, to lớn the new key. Start > Right Click “Computer” > Properties. (Or Control Panel > System). Select “Change Product Key” > Enter the new KMS Key > Next.

*

3. You will receive a warning that you are using a KMS Key > OK. You may now need lớn activate your copy of Windows with Microsoft, this is done as normal, if you can’t get it to work over the mạng internet you can choose khổng lồ bởi it over the phone.

*

4. In a corporate environment (behind an edge firewall) you may have the local firewall disabled on the hệ thống. If you do NOT then you need khổng lồ allow access through the local firewall for the “Key Management Service”, (this runs over TCP port 1688). To allow the service, Start > Firewall.cpl enter > Allow program or feature through Windows Firewall” > Tiông xã Key Management Service > OK.

Note: Should you wish the change the port the service uses, you can bởi vì so with the following commvà, i.e. khổng lồ change it to TCP Port 1024;


That’s It! That is all you should need to bởi, your KMS Server is up và running.

Install Microsoft Windows 2008 R2 Key Management Service from Comm& Line

You will notice below that I’m running these commands from commvà windows running as administrator (Right cliông chồng “Commvà Prompt” > Run as administrator).

1. Locate your “Windows Server 2008 Std/Ent KMS B” Key > From commvà line issue the following command;


Note: To License/Activate Server 2008 R2 AND Windows 7 THIS IS THE ONLY KEY YOU NEED. You do NOT need to add additional keys for Windows 7. (You DO for Office 2010, but I’ll cover that below).

*

2. Providing the comm& runs without error, we have sầu just changed the hàng hóa key for this Windows VPS to lớn be the KMS key.

*

3. Now we need lớn activate the Windows Server > Run the following command;


Select “Activate Windows online now” > Follow the on screen prompts.

*

4. When complete, it should tell you that it was successfully activated.

*

5. In a corporate environment (behind an edge firewall) you may have sầu the local firewall disabled on the server. If you do NOT then you need khổng lồ allow access through the local firewall for the “Key Management Service”, (this runs over TCP port 1688). To allow the service, Start > Firewall.cpl enter > Allow program or feature through Windows Firewall” > Tick Key Management Service > OK.

Note: Should you wish the change the port the service uses, you can bởi vì so with the following commvà, i.e. khổng lồ change it to TCP Port 1024;


That’s It! That is all you should need to vì chưng, your KMS Server is up and running.

Xem thêm: Hướng Dẫn Format Thẻ Nhớ Bị Write-Protect - Không Format Được

Testing the Key Management Server

Before it will start doing what you want it lớn, you need khổng lồ meet certain thresholds, with Windows 7 clients it WONT work till it has had 25 requests from client machines. If you are making the requests from Windows 2008 Servers then the count is 5. (Note: For Office 2010 the count is 5 NOT 25)

Interestingly: On my thử nghiệm network I activated five Windows 7 machines, then one VPS, & it started working.

Windows 7 và Windows 2008 R2 have KMS Keys BUILT INTO THEM, if you are deploying/imaging machines you should not need lớn enter a key into lớn them (unless you have sầu entered a MAK key on these machines then you will need khổng lồ change it to a client KMS Key). These are publicly available (see here).

1. The service works because it puts an SRV record in your DNS, when clients want to lớn activate, they simply look for this record before they try & activate with Microsoft, if they find the record, they activate from your KMS Server instead. If you look on your tên miền DNS servers, exp& “Forward Lookup Zones” > your domain name > _tcp > You will see an entry for _VLMCS that points to your KMS Server.

*

2. From your client machines you can demo that they can see the SRV record, by running the following command;


Note: If this fails, can your client see the DNS server? And is it in the domain?

*

3. There is no GUI console for KMS lớn see its status, so run the following comm& on the KMS server;


*

4. As I’ve sầu mentioned above, with Windows clients you need 25, and Windows Servers you will need 5 requests before KMS will work, before this you will see;

Windows ActivationA problem occurred when Windows tried lớn activate. Error Code 0xC004F038

*

5. For each of these failures, look-in the KMS Server, & the “Current count” will increment by 1 till it starts khổng lồ work). In a live environment this wont be a problem, (You probably wont be looking at KMS with less than 25 clients!). On a demo network just clone/deploy a load of machines until you hit the threshold.

*

Troubleshooting KMS Clients

To make things simple the command lớn exexinh đẹp on the clients, is the same commvà that you run on the KMS hệ thống to lớn check the status.


*

*

*

For further troubleshooting, see the following liên kết.

How lớn troubleshoot the Key Management Service (KMS)

Managing License States

Adding an Office 2010 KMS Key khổng lồ Your KMS Server.

In addition to lớn servers and clients, KMS can activate and handle Office 2010 licenses as well. You simply need to lớn add in Office tư vấn, and your Office 2010 KMS key. As mentioned above, unlike Windows clients, you only need five sầu requests lớn the KMS VPS before it will start activating Office 2010 normally.

If you want a KMS Server for JUST OFFICE 2010 và not Windows, then simply install và run the Office 2010 Key Management Service Host.

1. First locate your Office 2010 KMS Key! If you have sầu a Microsoft License agreement, log inkhổng lồ the the Microsoft Volume License Service Center, & retrieve sầu the KMS License Key for “Office 2010 Suites and Apps KMS”

*

Note: As with Windows 7, & Server 2008 R2, Office 2010 comes with a KMS key already installed, if you have sầu changed the key to lớn a MAK key you can change it back using the Microsoft public KMS keys (see here).

2. Download & run the “Microsoft Office 2010 KMS Host License Pack“.

*

3. When prompted type/paste in your “Office 2010 Suites & Apps KMS” sản phẩm key > OK.

*

4. It should accept the key.

*

5. Press Enter to close.

*

6. Once you have sầu five Office 2010 installations they should start to lớn activate from your KMS server.

Xem thêm: Cách Tắt Action Center Trong Win 7, Quản Lý Action Center Trong Windows 7

*

Troubleshooting Office 2010 KMS Activation

If you have a client that refuses khổng lồ work you can manually force it to activate against your KMS server;

x64 Bit Clients. (Where kms.domaimãng cầu.com is the FQDN of the KMS server)


cscript “C:Program Files (x86)Microsoft OfficeOffice14OSPP..VBS” /sethst:kms.domaina.comcscript “C:Program Files (x86)Microsoft OfficeOffice14OSPP.VBS” /act
cscript “C:Program FilesMicrosoft OfficeOffice14OSPP..VBS” /sethst:kms.domaina.comcscript “C:Program FilesMicrosoft OfficeOffice14OSPP.VBS” /act

Chuyên mục: Kiến thức Hosting