﻿# Windows Server 2008 的啟用方式

因為我前幾天才剛安裝好一台 Windows Server 2008，但我今天連進主機時看到一個 Windows 啟用好像有問題的通知，點開之後看到以下畫面，點下[線上深入瞭解](http://support.microsoft.com/default.aspx/kb/929826/en-us)後才發現，原來 Windows Vista Enterprise, Windows Vista Business, 與 Windows Server 2008 這三種版本的 Windows 啟用的方法跟我們習慣的啟用方式不太一樣。

![Windows 啟用 - Windows 無法啟用 :: 金鑰管理服務(KMS)主機不可以位在網域名稱系統(DNS)中，請您的系統管理員確認已在 DNS 中正確發行 KMS。](https://stwillblogassets.blob.core.windows.net/files/images/external/stwillblogassets.blob.core.windows.net/f1989dc8c1df0cc4cff3-image_7.png) 

原來進行 Windows 啟用有兩種方式，第一種是透過 KMS 伺服器自動啟用，第二種是透過一個 Windows Script Host 指令碼(slmgr)手動進行啟用。

因為我是用大量授權的 Windows Server 2008 安裝光碟進行安裝的，所以才會預設必須在網域內先安裝 KMS 系統才能進行啟用。若你要用第一種作法啟用，可以下載 [Volume Activation 2.0 Technical Guidance](https://web.archive.org/web/20100726084249/http://www.microsoft.com/downloads/details.aspx?FamilyId=9893F83E-C8A5-4475-B025-66C6B38B46E3&displaylang=en) 文件回去研究。

而我採用的是第二種作法比較簡單，就是在「命令提示字元」下輸入以下指令：

```
slmgr -ipk xxxxx-xxxxx-xxxxx-xxxxx-xxxxx
```

這裡的 xxxxx-xxxxx-xxxxx-xxxxx-xxxxx 指的就是你的 MAK (Multiple Activation Key) 序號，執行完後會出現以下畫面，就代表金鑰安裝成功：

![Windows Script Host - 成功安裝產品金鑰](https://stwillblogassets.blob.core.windows.net/files/images/external/stwillblogassets.blob.core.windows.net/3939631f19efb9f37122-image_10.png) 

不過，安裝完金鑰不代表啟動成功！如果要啟用的話，還必須下達以下指令才行：

```
slmgr -ato
```

**相關連結**

-   [Error message when you try to activate Windows Vista Enterprise, Windows Vista Business, or Windows Server 2008: "Code 0x8007232b"](http://support.microsoft.com/default.aspx/kb/929826/en-us)
-   [Volume Activation 2.0 Technical Guidance](https://web.archive.org/web/20100726084249/http://www.microsoft.com/downloads/details.aspx?FamilyId=9893F83E-C8A5-4475-B025-66C6B38B46E3&displaylang=en)
