Share via


準備 Windows Server 2003 電腦以進行移轉

本文說明如何準備執行 Windows Server 2003 的電腦以移轉至 Azure。

注意

Windows Server 2003 延伸支援已於 2015 年 7 月 14 日終止。 Azure 支援小組會繼續協助針對在 Azure 上執行 Windows Server 2003 的問題進行疑難排解。 不過,這項支援僅限於不需要 OS 層級疑難排解或修補程式的問題。 建議將應用程式移轉至執行較新版本 Windows Server 的 Azure 執行個體,以確保您能有效地利用 Azure 雲端的彈性和可靠性。 不過,如果您選擇將 Windows Server 2003 移轉至 Azure,則如果您的 Windows Server 是在 VMware 或 Hyper-V 上執行的 VM,可以使用移轉和現代化工具。

  • 您可以使用無代理程式的移轉程序,將 Hyper-V VMVMware VM 移轉至 Azure。
  • 若要在移轉後連線到 Azure VM,必須在 Azure VM 上安裝 Hyper-V Integration Services。 根據預設,Windows Server 2003 電腦不會安裝此服務。
  • 沒有直接的下載連結可安裝 Hyper-V Integration Services,因此您需要執行下列動作:
    • 若未安裝 Hyper-V VM,您可以使用 Hyper-V 角色,在執行 Windows Server 2012 R2/Windows Server 2012 的電腦上,擷取 Integration Services 的安裝檔案,然後將安裝程式複製到 Windows Server 2003 電腦。 無法在執行 Windows Server 2016 的電腦上使用安裝檔案。
    • 您可以針對 VMware VM 建立啟動工作,當 Azure VM 在移轉後啟動時,該工作即可安裝 Integration Services。

在 Hyper-V VM 上安裝

在移轉之前,請檢查是否已安裝 Hyper-V Integration Services,如果沒有,請視所需進行安裝。

  1. 請遵循這些指示來檢查是否已安裝此服務。
  2. 若未安裝此服務,請使用 Hyper-V 角色,登入執行 Windows Server 2012 R2/Windows Server 2012 的電腦。
  3. 瀏覽至位於 C:\Windows\System32\vmguest.iso 的安裝檔案,然後掛接該檔案。
  4. 將安裝資料夾複製到 Windows Server 2003 電腦,然後安裝 Integration Services。
  5. 安裝之後,您可以在 Integration Services 中保留預設設定。

在 VMware VM 上安裝

  1. 使用 Hyper-V 角色,登入執行 Windows Server 2012 R2/Windows Server 2012 的電腦。
  2. 瀏覽至位於 C:\Windows\System32\vmguest.iso 的安裝檔案,然後掛接該檔案。
  3. 將安裝資料夾複製到 VMware VM。
  4. 從 VM 上的命令列執行 gpedit.msc
  5. 依序開啟 [電腦設定]> [Windows 設定] > [指令碼 (啟動/關閉)]
  6. 在 [啟動]> [新增]> [指令碼名稱] 中,輸入 set.exe 地址。
  7. 移轉至 Azure 之後,指令碼會在第一次啟動 Azure VM 時執行。
  8. 手動重新啟動 Azure VM。 開機診斷中會出現快顯項目,表示需要重新啟動。
  9. 在執行指令碼,且在 Azure VM 上安裝 Hyper-V Integration Services 後,您可以將指令碼從啟動程序中移除。
  10. 安裝之後,您可以在 Integration Services 中保留預設設定。

下一步