在 Intune 和 設定管理員 中為現有裝置部署 Windows Autopilot 的逐步教學課程

本逐步教學課程將引導您使用 Intune 和 Microsoft Configuration Manager,為現有的裝置執行 Windows Autopilot 部署。

本教學課程的目的是逐步指南,以逐步指南瞭解使用 Intune 和 Microsoft Configuration Manager 為現有裝置成功部署 Windows Autopilot 所需的所有設定步驟。 本教學課程也設計為實驗室或測試案例中的逐步解說,但可以擴充以用於生產環境。 本教學課程假設您熟悉 Microsoft Configuration Manager,且 Microsoft Configuration Manager 已設定並設定為支援作業系統部署。

現有裝置的 Windows Autopilot 部署概觀

Windows Autopilot 的主要使用案例案例是直接從 IT 部門、OEM 或轉銷商提供的新裝置上,自動執行 Windows 設定。 不過,有時候環境中的現有裝置需要重新調整用途、修正或更新至較新版本的 Windows,方法是在裝置上重新安裝 Windows。 重新安裝 Windows 通常是透過裝置的重新映像來執行,這不在 Windows Autopilot 的功能範圍內。 如果 Windows 版本與裝置上目前安裝的版本不同,Windows Autopilot 也無法執行 Windows 的全新安裝。 可能還有其他情況會阻止 Windows Autopilot 在裝置上執行 Windows 的全新安裝。 例如,目前 Windows 安裝的損毀或硬碟失敗。

Windows Autopilot 可以在 Windows 需要的案例中利用 Microsoft Configuration Manager 工作順序:

  • 使用全新安裝的 Windows 重新安裝至較新版本的 Windows。
  • 使用全新安裝的 Windows 更新至更新版本的 Windows。

Microsoft Configuration Manager 工作順序可以重新安裝裝置映像,並執行 Windows 的全新安裝。 設定管理員 工作順序也可以透過 JSON 檔案在裝置上預先安裝 Windows Autopilot 設定檔。 一旦 設定管理員 工作順序完成,裝置就可以自動執行 Windows Autopilot 設定檔 JSON 檔案中定義的 Windows Autopilot 部署。 當 Windows Autopilot 設定檔 JSON 檔案預先安裝在裝置上時,Windows Autopilot 部署可以在裝置上執行,而不需要先執行下列動作:

  • 將裝置作為 Windows Autopilot 裝置匯入 Intune。
  • 將 Windows Autopilot 設定檔指派給裝置。

現有裝置的 Windows Autopilot 部署適用於下列案例:

  • 重新利用還不是 Windows Autopilot 裝置的現有裝置。
  • 將不屬於 Microsoft Entra ID 的內部部署已加入網域的裝置移轉至 Microsoft Entra 加入裝置。
  • 將已加入 Microsoft Entra 混合式聯結的內部部署加入網域裝置轉換為 Microsoft Entra 加入裝置。
  • 在需要修復的裝置上重新安裝 Windows。 例如,Windows 安裝毀損或硬碟已更換的裝置。
  • 將不支援 Microsoft Entra ID (Windows 8.1) 的舊版 Windows 升級至支援 Microsoft Entra ID (Windows 10/Windows 11) 的 Windows 版本。
  • 使用自訂 Windows 映像,而不是 OEM 提供的 Windows 安裝。

現有裝置的 Windows Autopilot 部署可以視為為為 Windows Autopilot 部署準備現有裝置的一種方法。

注意事項

適用於現有裝置的 適用現有裝置的 Windows Autopilot JSON 檔案僅支援使用者驅動的 Microsoft Entra ID 和使用者驅動的混合式 Microsoft Entra Windows Autopilot 設定檔。 JSON 檔案不支援自我部署和預先佈建 Windows Autopilot 設定檔,因為這些案例需要 TPM 證明。 TPM 證明只有在有現有 Windows Autopilot 裝置的情況下才能運作,因為 TPM 證明資訊會儲存在 Windows Autopilot 裝置物件中。

不過,在現有適用現有裝置的 Windows Autopilot 部署期間,如果下列條件成立:

  • 在部署開始前,裝置已是 Windows Autopilot 裝置
  • 裝置已指派 Windows Autopilot 設定檔

則指派的 Windows Autopilot 設定檔優先於工作順序安裝的 JSON 檔案。 在此案例中,如果指派的 Windows Autopilot 設定檔是自我部署或預先佈建的 Windows Autopilot 設定檔,則支援自我部署和預先佈建案例。

工作流程

若要使用 Intune 和 Microsoft Configuration Manager 為現有裝置部署設定並執行 Windows Autopilot 部署,需要執行下列步驟:

重要事項

  • 如果註冊限制設定為封鎖個人裝置註冊,則無法使用現有裝置的 適用現有裝置的 Windows Autopilot。 如需詳細資訊,請參閱註冊 限制是什麼?: 封鎖個人 Windows 裝置

  • 在混合式加入案例期間,使用 .json 檔案註冊的任何裝置通常會註冊為公司裝置。

逐步解說

如需現有裝置的 Windows Autopilot 部署詳細資訊,請參閱下列文章: