Share via


針對 Intune和 Configuration Manager 中現有裝置的 Windows Autopilot 部署逐步教學課程

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

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

現有裝置的 Windows Autopilot 部署概觀

Windows Autopilot 的主要使用案例是在直接從 IT 部門、OEM 或轉銷商傳遞的新裝置上自動設定 Windows。 不過,環境中的現有裝置有時需要重新規劃、修正或更新為較新版本的 Windows,方法是在裝置上重新安裝 Windows。 重新安裝 Windows 通常會透過裝置重新安裝映像來執行,這不在 Windows Autopilot 的功能之外。 如果 Windows 版本與目前安裝在裝置上的 Windows 版本不同,Windows Autopilot 也無法執行 Windows 的全新安裝。 也可能還有其他條件會阻止 Windows Autopilot 在裝置上執行 Windows 的全新安裝。 例如,目前的 Windows 安裝損毀或硬碟故障。

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

  • 使用 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 作為 Autopilot 裝置。
  • 將 Autopilot 配置檔指派給裝置。

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

  • 重新規劃尚未成為 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 部署視為準備現有裝置以進行 Autopilot 部署的方法。

注意事項

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

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

  • 在開始部署之前,裝置已經是 Windows Autopilot 裝置
  • 裝置已指派 Autopilot 配置檔給它

接著,指派的 Autopilot 配置檔優先於工作順序所安裝的 JSON 檔案。 在此案例中,如果指派的 Autopilot 配置檔是自我部署或預先布建的 Autopilot 配置檔,則支援自我部署和預先布建案例。

工作流程

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

重要事項

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

逐步解說

其他相關資訊

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