本逐步教學課程會引導您使用 Intune 和 Microsoft Configuration Manager 來執行現有裝置的 Windows Autopilot 部署。
本教學課程的目的是逐步指南,以取得使用 Intune 和 Microsoft Configuration Manager 成功部署現有裝置所需的所有設定步驟。 本教學課程也設計為實驗室或測試案例中的逐步解說,但可以擴充以在生產環境中使用。 本教學課程假設您熟悉 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 可以利用 Microsoft Configuration Manager 工作順序,或 Windows 需要的案例:
- 使用全新安裝的 Windows 重新安裝至更新版本的 Windows。
- 使用全新安裝的 Windows 更新至更新版本的 Windows。
Microsoft Configuration Manager 工作順序可以重新安裝裝置映像,並執行 Windows 的全新安裝。 Configuration Manager 工作順序也可以透過 JSON 檔案在裝置上預先安裝 Windows Autopilot 配置檔。 完成 Configuration Manager 工作順序之後,裝置就可以自動執行 Windows Autopilot 設定檔 JSON 檔案中定義的 Windows Autopilot 部署。 當裝置上預先安裝 Windows Autopilot 設定檔 JSON 檔案時,Windows Autopilot 部署可以在裝置上執行,而不需要先執行下列動作:
- 將裝置匯入 Intune 作為 Windows Autopilot 裝置。
- 將 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 部署:
- 步驟 1: 設定 Windows Autopilot 設定檔
- 步驟 2: 安裝必要的模組,以從 Intune 取得 Windows Autopilot 配置檔
- 步驟 3 :建立 Windows Autopilot 設定檔的 JSON 檔案
- 步驟 4:在 Configuration Manager 中建立和散發 JSON 檔案的套件
- 步驟 5:在 Configuration Manager 中建立 Windows Autopilot 工作順序
- 步驟 6:在 Configuration Manager 中建立集合
- 步驟 7:將 Windows Autopilot 工作順序部署至 Configuration Manager 中的集合
- 步驟 8: (可選) 加快部署程序
- 步驟 9: 在裝置上執行 Windows Autopilot 工作順序
- 步驟 10: 註冊 Windows Autopilot 的裝置
重要事項
如果註冊限制設定為封鎖個人裝置註冊,則無法使用現有裝置的 適用現有裝置的 Windows Autopilot。 如需詳細資訊,請參閱 什麼是註冊限制?:封鎖個人 Windows 裝置。
在混合式聯結案例期間,使用 .json 檔案註冊的任何裝置通常會註冊為公司裝置。
逐步解說
相關內容
如需現有裝置 Windows Autopilot 部署的詳細資訊,請參閱下列文章: