Windows Autopilot 使用者驅動 Microsoft Entra 聯結步驟:
- 步驟 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 部署概觀,請參閱 Intune 和 Configuration Manager 中現有裝置的 Windows Autopilot 部署。
註冊 Windows Autopilot 的裝置
在裝置上執行現有裝置的 適用現有裝置的 Windows Autopilot 工作順序和 Windows Autopilot 部署不會自動註冊 Windows Autopilot 的裝置。 Windows Autopilot 配置檔 JSON 可讓裝置使用 Windows Autopilot 部署,並允許裝置執行該特定 Windows Autopilot 部署,但不會註冊 Windows Autopilot 的裝置。 如果裝置曾經進行重設,當它執行 Windows 安裝程式和 OOBE () 的現成體驗時,即使它先前已執行 Windows Autopilot 部署,它也不會再次執行 Windows Autopilot 部署。
若要確保裝置可以在重設之後執行 Windows Autopilot 部署,裝置必須註冊 Windows Autopilot。 您可以使用下列其中一種方法,將裝置註冊為 Windows Autopilot 裝置:
向 Windows Autopilot 手動註冊裝置:手動註冊裝置包括透過硬體雜湊手動將裝置註冊到 Intune 作為 Windows Autopilot 裝置。 裝置的硬體雜湊可以透過下列其中一種方法收集:
在部署至裝置所屬裝置群組的 Windows Autopilot 配置檔中,請確定 [將所有目標裝置轉換成 Autopilot] 選項設定為 [ 是]。 如需建立和指派 Windows Autopilot 配置檔的詳細資訊,請參閱下列其中一篇文章,以針對每個不同的 Windows Autopilot 案例建立和指派 Windows Autopilot 配置檔:
- 使用者驅動 Microsoft Entra 聯結:建立並指派使用者驅動 Microsoft Entra 聯結 Windows Autopilot 設定檔
- 使用者驅動 Microsoft Entra 混合式聯結:建立並指派使用者驅動 Microsoft Entra 混合式聯結 Windows Autopilot 設定檔
- 預先佈建 Microsoft Entra 聯結:建立並指派預先佈建的 Microsoft Entra 聯結 Windows Autopilot 設定檔
- 預先佈建 Microsoft Entra 混合式聯結:建立並指派預先佈建的 Microsoft Entra 混合式聯結 Windows Autopilot 設定檔
- 自我部署模式:建立並指派自我部署 Windows Autopilot 配置檔
將裝置的硬體雜湊 CSV 檔案匯入 Intune
上一節中關於手動將裝置註冊為 Windows Autopilot 裝置時取得硬體雜湊的數個方法會產生包含裝置硬體雜湊的 CSV 檔案。 此具有硬體雜湊的 CSV 檔案必須匯入 Intune,才能將裝置註冊為 Windows Autopilot 裝置。
建立 CSV 檔案之後,您可以透過下列步驟將其匯入 Intune:
在 主畫面 中,選取左側窗格中的 裝置 。
在 裝置 |概觀 畫面的依 平台底下,選取 Windows。
在 Windows |Windows 裝置畫面的 [裝置上線] 底下,選取 [註冊]。
在 Windows |Windows 註冊畫面,在 Windows Autopilot 底下,選取 [裝置]。
在開啟的 [Windows Autopilot 裝置] 畫面中,選取 [匯入]。
在開啟的 [ 新增 Autopilot 裝置 ] 視窗中:
在 [指定您要匯入的清單路徑] 底下,選取藍色資料夾。
瀏覽至使用上述其中一種方法取得的 CSV 檔案,以取得裝置的硬體雜湊。
選取 CSV 檔案之後,請確認在 [指定您要匯入的清單路徑] 下選取正確的 CSV 檔案,然後選取 [匯入]。 選取 [匯入] 會關閉 [ 新增 Autopilot 裝置 ] 視窗。 匯入可能需要幾分鐘的時間。
匯入完成後,選取 [同步]。
會顯示一則訊息,指出同步處理正在進行中。 同步處理程序可能需要幾分鐘才能完成,視同步處理的裝置數量而定。
注意事項
如果在啟動同步後 10 分鐘內嘗試再次同步,則會顯示錯誤。 同步處理只能每 10 分鐘發生一次。 若要再次嘗試同步處理,請等待至少 10 分鐘,然後再試一次。
選取 [重新整理] 以重新整理檢視。 新匯入的裝置應該會在幾分鐘內顯示。 如果尚未顯示裝置,請等候幾分鐘,然後再次選取 [重新整理 ]。
確保已將網域加入設定檔指派給所有裝置
針對利用 Microsoft Entra 混合式聯結並在現有裝置的 Windows Autopilot 部署工作順序完成後執行的 Windows Autopilot 案例,請確定已將網域加入配置檔指派給 [所有裝置]。 此修改可以透過以下步驟完成:
- 針對 Windows Autopilot 使用者驅動 Microsoft Entra 混合式加入案例,請參閱步驟 8:設定和指派網域加入配置檔。
- 針對預先佈建部署的 Windows Autopilot Microsoft Entra 混合式加入案例,請參閱步驟 8:設定和指派網域加入配置檔。
需要將域加入配置檔分配給 所有設備 ,因為:
如果現有的裝置在 Windows Autopilot 部署執行之前從未加入 Microsoft Entra ID,則 Intune 中沒有裝置的 Microsoft Entra ID 裝置物件。 當裝置加入 Microsoft Entra ID 作為 Windows Autopilot 部署的一部分時,會在 Intune 中建立 Microsoft Entra ID 裝置物件。
如果現有的裝置在 Windows Autopilot 部署執行之前從未註冊為 Windows Autopilot 裝置,則 Intune 中沒有裝置的 Windows Autopilot 裝置物件。 一般而言,裝置必須是 Windows Autopilot 裝置,Windows Autopilot 部署才能在其上執行。 不過,針對現有裝置的 Windows Autopilot 部署案例,不需要將裝置註冊為 Windows Autopilot 裝置,因為它會改為使用 Windows Autopilot 設定檔 JSON 檔案。 在 Windows Autopilot 部署完成之後,裝置會改為透過 [註冊 Windows Autopilot 的裝置 ] 區段中的方法來註冊為 Windows Autopilot 裝置。
在上述兩種案例中,在 Windows Autopilot 部署開始之前,沒有任何裝置可以新增至裝置群組。 由於沒有包含裝置的裝置群組,因此在 Windows Autopilot 部署開始之前,無法將網域加入配置檔指派給裝置群組。 將網域加入配置檔指派給 [所有裝置] 可解決此問題,並確保裝置可以在 Microsoft Entra 裝置或 Windows Autopilot 裝置之前挑選網域加入配置檔。
相關內容
如需註冊 Windows Autopilot 裝置的詳細資訊,請參閱下列文章: