監視連線健康情況Monitor connection health

使用 Configuration Manager 中的 [連線健全狀況] 儀表板,依裝置健全狀況向下切入到各類別。Use the Connection Health dashboard in Configuration Manager to drill down into categories by device health. 在 Configuration Manager 主控台中,前往 [軟體程式庫] 工作區,展開 [電腦分析服務] 節點,然後選取 [連線健全狀況] 儀表板。In the Configuration Manager console, go to the Software Library workspace, expand the Desktop Analytics Servicing node, and select the Connection Health dashboard.

Configuration Manager 連線健全狀況儀表板的螢幕擷取畫面Screenshot of the Configuration Manager Connection Health dashboard

當您第一次設定電腦分析時,這些圖表可能不會顯示完整資料。When you first set up Desktop Analytics, these charts may not show complete data. 使用中裝置可能需要 2 到 3 天才會將診斷資料傳送到電腦分析服務,服務接著會處理資料,然後與 Configuration Manager 站台同步。It can take 2-3 days for active devices to send diagnostic data to the Desktop Analytics service, the service to process the data, and then synchronize with your Configuration Manager site.

連線詳細資料Connection details

這個圖格會顯示下列從 Configuration Manager 至電腦分析連線的基本資訊:This tile displays the following basic information about the connection from Configuration Manager to Desktop Analytics:

  • 租用戶名稱:[Azure 服務] 節點中電腦分析連線的名稱Tenant Name: The name of the Desktop Analytics connection in the Azure Services node

  • 目標集合:您在將 Configuration Manager 連線到電腦分析時指定的相同「目標集合」。Target Collection: The same target collection you specified when connecting Configuration Manager to Desktop Analytics. 此集合包含 Configuration Manager 使用商業識別碼與診斷資料設定來進行設定的所有裝置。This collection includes all devices that Configuration Manager configures with your commercial ID and diagnostic data settings. 這是由 Configuration Manager 連線到電腦分析服務的完整裝置集。It's the full set of devices that Configuration Manager connects to the Desktop Analytics service.

  • 目標裝置:目標集合中的所有裝置,減去下列裝置類型:Devices Targeted: All of the devices in the target collection, minus the following types of devices:

    • 已解除Decommissioned

    • 已淘汰Obsolete

    • 非使用中Inactive

    • 非受控Unmanaged

    • 執行 Windows 10 長期維護通道 (LTSC) 版本的裝置Devices running Long Term Servicing Channel (LTSC) versions of Windows 10

    • 執行 Windows Server 的裝置Devices running Windows Server

      如需這些裝置狀態的詳細資訊,請參閱關於用戶端狀態For more information on these device states, see About client status.

      注意

      Configuration Manager 會將目標集合中所有裝置減去已解除和已淘汰的用戶端後,上傳至電腦分析。Configuration Manager uploads to Desktop Analytics all of the devices in the target collection minus decommissioned and obsolete clients.

  • 符合 DA 資格的裝置數:目標裝置減去不符合電腦分析資格裝置後的數量。Devices eligible for DA: The number of devices targeted minus devices that are ineligible for Desktop Analytics. 例如,目標集合中執行 Windows Server 或 Windows 10 長期維護通道 (LTSC) 的裝置。For example, devices in the target collection that run Windows Server or Windows 10 long-term servicing channel (LTSC).

上次同步詳細資料Last sync details

這個圖格會顯示 Configuration Manager 與電腦分析雲端服務同步的時間,以及其同步的裝置數量。This tile shows when Configuration Manager syncs with the Desktop Analytics cloud service, and how many devices it syncs.

  • 同步裝置數:Configuration Manager 傳送到電腦分析的合格裝置數。Devices synced: The number of eligible devices that Configuration Manager sent to Desktop Analytics. 服務會在目前可見的快照集中包含這些裝置。The service includes these devices in the currently visible snapshot.

  • 上次服務同步:與電腦分析入口網站中的上次更新時間相同。Last service sync: The same as the Last updated time in the Desktop Analytics portal.

  • 下次服務同步:您可以預期電腦分析中出現下一次每日快照集的時間。Next service sync: When you can expect the next daily snapshot in Desktop Analytics.

注意

當您第一次向電腦分析註冊裝置時,資料可能需要數天才會上傳並進行處理。When you first enroll devices into Desktop Analytics, it can take several days for data to upload and process. 在此期間,[上次同步詳細資料] 圖格可能會顯示空白。During this time, the Last sync details tile may appear blank. 此外,這個圖格中的任何值都不會在您要求隨選快照集時自動更新。Additionally, none of the values in this tile automatically update when you request an on-demand snapshot. 如需詳細資訊,請參閱資料延遲For more information, see Data latency.

若您認為某些裝置並未在電腦分析中顯示,請確認電腦分析支援那些裝置。If you think some devices aren't showing in Desktop Analytics, make sure the devices are supported by Desktop Analytics. 如需詳細資訊,請參閱必要條件For more information, see Prerequisites.

連線健全狀況Connection health

連線健全狀況圖表會顯示處於下列健全狀況狀態中的裝置數:The Connection health chart displays the number of devices in the following health states:

  • 已正確註冊:裝置會出現電腦分析中,並附帶完整的清查Properly enrolled: The device appears in Desktop Analytics with a complete inventory
  • 無法註冊:發生執行問題,導致無法註冊裝置Unable to enroll: There's a blocking issue that prevents device enrollment
  • 設定警示:裝置不會出現在電腦分析中,或會在附帶不完整清查的情況下出現。Configuration alert: The device doesn't appear in Desktop Analytics or appears with an incomplete inventory. Configuration Manager 也識別出裝置註冊發生問題。Configuration Manager also identified an issue with device enrollment.
  • 正在等待註冊:Configuration Manager 已設定裝置,但其尚未出現在電腦分析中Awaiting enrollment: Configuration Manager configured the device, but it doesn't yet appear in Desktop Analytics
  • 狀態暫止:Configuration Manager 仍在設定此裝置,或沒有足夠的裝置資料來判斷其狀態Status pending: Configuration Manager is still configuring this device, or doesn't have enough data from the device to determine its state
  • 遺失資料:Configuration Manager 已設定裝置,但電腦分析只有部分資料Missing data: Configuration Manager configured the device, but Desktop Analytics only has partial data

此圖表中的總裝置數應和 [連線詳細資料] 圖格中的 [符合 DA 資格的裝置數] 值相同。The total number of devices in this chart should be the same as the Devices eligible for DA value in the Connection Details tile.

請選取圖表中切片來向下切入該狀態的裝置清單。Select the slice in the chart to drill down to a list of devices with that state. 如需詳細資訊,請參閱裝置清單For more information, see Device list.

選取圖例中的類別名稱來從圖表中移除或新增。Select the category name in the legend to remove or add it from the chart. 這項動作有助於縮放圖表,讓您可以看見較小區段的相對大小。This action helps to zoom the chart so you can see the relative sizes of smaller segments.

已正確註冊Properly enrolled

裝置具有下列屬性:The device has the following attributes:

  • Configuration Manager 用戶端 1902 版或更新版本A Configuration Manager client version 1902 or later
  • 沒有任何設定錯誤There are no configuration errors
  • 電腦分析在過去 28 天內從此裝置接收了完整的診斷資料Desktop Analytics received complete diagnostic data from this device in the past 28 days
  • 電腦分析也具有裝置設定及已安裝應用程式的完整清查Desktop Analytics has a complete inventory of the device's configuration and installed apps

無法註冊Unable to enroll

Configuration Manager 偵測到一或多個執行問題,這些問題導致裝置無法註冊。Configuration Manager detects one or more blocking issues that prevent device enrollment. 如需詳細資訊,請參閱 Configuration Manager 中的電腦分析裝置屬性清單。For more information, see the list of Desktop Analytics device properties in Configuration Manager.

例如,Configuration Manager 用戶端並非至少是版本 1902 (5.0.8790)。For example, the Configuration Manager client isn't at least version 1902 (5.0.8790). 請將用戶端更新到最新版本。Update the client to the latest version. 請考慮為 Configuration Manager 站台啟用自動用戶端升級。Consider enabling automatic client upgrade for the Configuration Manager site. 如需詳細資訊,請參閱升級用戶端For more information, see Upgrade clients.

提示

Windows 7 2020 年 4 月份延伸安全性更新 (ESU) 有一個已知問題,此問題會導致裝置錯誤地回報此錯誤。There's a known issue with the April 2020 extended security update (ESU) for Windows 7 that causes devices to misreport this error. 如需詳細資訊,請參閱版本資訊For more information, see Release notes.

從 2002 版開始,可更輕鬆地識別下列兩個領域中用戶端 Proxy 設定的問題:Starting in version 2002, you can more easily identify client proxy configuration issues in two areas:

  • 端點連線能力檢查:如果用戶端無法連線到必要的端點,即會在儀表板中看到設定警示。Endpoint connectivity checks: If clients can't reach a required endpoint, you see a configuration alert in the dashboard. 向下切入至無法註冊的用戶端,以查看用戶端因 Proxy 設定問題而無法連線的端點。Drill down into clients that are unable to enroll to see the endpoints to which clients can't connect due to proxy configuration issues. 如需詳細資訊,請參閱端點連線能力檢查For more information, see Endpoint connectivity checks.

  • 連線能力狀態:如果用戶端使用 Proxy 伺服器來存取電腦分析,則 Configuration Manager 會顯示來自用戶端的 Proxy 驗證問題。Connectivity status: If your clients use a proxy server to access Desktop Analytics, Configuration Manager displays proxy authentication issues from clients. 向下切入以查看因 Proxy 驗證問題而無法註冊的用戶端。Drill down to see clients that are unable to enroll due to proxy authentication issues. 如需詳細資訊,請參閱連線能力狀態For more information, see Connectivity status.

設定警示Configuration alert

裝置不會出現在電腦分析中,或會在附帶不完整清查的情況下出現。The device doesn't appear in Desktop Analytics or appears with an incomplete inventory. Configuration Manager 也識別出裝置註冊發生問題。Configuration Manager also identified an issue with device enrollment. 如需詳細資訊,請參閱 Configuration Manager 中的電腦分析裝置屬性清單。For more information, see the list of Desktop Analytics device properties in Configuration Manager.

例如,裝置沒有對服務的連線能力。For example, the device doesn't have connectivity to the service. 如需詳細資訊,請參閱 Windows 診斷端點連線能力For more information, see Windows diagnostic endpoint connectivity.

正在等待註冊Awaiting enrollment

電腦分析沒有此裝置的診斷資料。Desktop Analytics doesn't have diagnostic data for this device. 此問題可能是因為您最近將裝置新增到目標集合,而其尚未傳送資料所致。This issue can be because you recently added the device to the target collection and it hasn't yet sent data. 這也可能表示裝置並未正常地與服務通訊,且最新的診斷資料已超過 28 天。It can also mean the device isn't properly communicating with the service, and the latest diagnostic data is more than 28 days old.

請確認裝置可以和服務通訊。Make sure the device can communicate with the service. 如需詳細資訊,請參閱端點For more information, see Endpoints.

狀態暫止Status pending

Configuration Manager 仍在設定此裝置,或沒有足夠的裝置資料來判斷其狀態。Configuration Manager is still configuring this device, or doesn't have enough data from the device to determine its state.

遺失資料Missing data

Configuration Manager 已成功設定裝置,但電腦分析無法建立相容性評定。Configuration Manager successfully configured the device, but Desktop Analytics can't create a compatibility assessment. 其沒有裝置設定 (普查) 或已安裝應用程式 (清查) 的完整資料集。It doesn't have a complete data set for the device's configuration (census) or installed apps (inventory).

此問題通常會在裝置重試時自動修正。This issue is often fixed automatically when the device retries. 若問題持續發生,請確認裝置可以和服務通訊。If it persists, make sure the device can communicate with the service. 如需詳細資訊,請參閱端點For more information, see Endpoints.

裝置清單Device list

若要根據狀態查看裝置的特定清單,請從 [連線健全狀況] 儀表板開始。To see a specific list of devices by status, start with the Connection Health dashboard. 選取 [連線健全狀況] 圖格的其中一個區段,然後向下切入至此狀態的裝置清單。Select one of the segments of the Connection health tile and drill down to a list of devices in this state. 根據預設,此自訂裝置檢視會顯示下列電腦分析欄:This custom device view displays the following Desktop Analytics columns by default:

  • 商業識別碼設定Commercial ID configuration
  • 最低相容性更新Minimum compatibility update
  • Windows 診斷資料加入Windows diagnostic data opt-in
  • Windows 商業資料加入Windows commercial data opt-in
  • Windows 診斷端點連線能力Windows diagnostic endpoint connectivity
  • 連線能力狀態 (從 2002 版開始)Connectivity status (starting in version 2002)
  • 端點連線能力檢查 (從 2002 版開始)Endpoint connectivity checks (starting in version 2002)

這些欄會對應至裝置與電腦分析通訊的關鍵先決條件These columns correspond to the key prerequisites for devices to communicate with Desktop Analytics.

無法註冊裝置清單的螢幕擷取畫面Screenshot of Unable to Enroll device list

選取其中一部裝置以在詳細資料窗格中查看可用屬性的完整清單。Select a device to see the full list of available properties in the detail pane. 您也可以將這些屬性中的任何屬性作為欄新增至裝置清單。You can also add any of these properties as columns to the device list.

裝置屬性Device properties

下列電腦分析裝置屬性可以作為 Configuration Manager 裝置清單中的欄使用:The following Desktop Analytics device properties are available as columns in the Configuration Manager device list:

[連線健全狀況] 儀表板之 [最常出現註冊封鎖程式和設定警示] 圖格會顯示裝置最常報告為問題的屬性。The Most frequent enrollment blockers and configuration alerts tile of the Connection Health dashboard displays the properties that devices most often report as an issue.

端點連線能力檢查Endpoint connectivity checks

從 2002 版開始,Starting in version 2002, 若要偵測 Proxy 驗證問題,用戶端會針對所需的端點執行連線能力檢查。to detect proxy authentication issues, clients perform connectivity checks against required endpoints. 如果用戶端無法連線到所需的端點,則這項屬性會顯示已編號的端點清單,列出因為 Proxy 設定問題導致無法連線的端點。If a client can't reach a required endpoint, this property shows a numbered list of endpoints to which it can't connect due to proxy configuration issues. 請將此清單與必要端點的發佈清單進行比較。Compare this list with the published list of required endpoints.

連線能力狀態Connectivity status

從 2002 版開始,Starting in version 2002, 如果用戶端使用 Proxy 伺服器來存取電腦分析,則這項屬性會顯示 Proxy 驗證問題。if your clients use a proxy server to access Desktop Analytics, this property shows proxy authentication issues. 其中包含下列與 Proxy 驗證相關的詳細資料:It includes the following details related to proxy authentication:

  • 狀態碼Status code
  • 傳回碼Return code

您會在記錄檔中看到下列類似的錯誤:You'll see errors similar to the following in the log file:

Error 407: Can't connect to Microsoft %s. Check your network/proxy settings

其中 %s 是必要端點的 URL。Where %s is the URL of a required endpoint.

您可能也會看到非決定性的錯誤訊息,在裝置發生註冊問題之前不需要特別在意。You may also see non-deterministic error messages that don't need attention until devices have enrollment issues. 例如:For example:

This status is not related to proxy configuration, consider to investigate only if you are experiencing device enrollment or configuration alert issues.

如需設定 Proxy 伺服器以搭配使用電腦分析的詳細資訊,請參閱 Proxy 伺服器驗證For more information on configuring proxy servers for use with Desktop Analytics, see Proxy server authentication.

評鑑程式設定Appraiser configuration

評鑑程式對應至相容性更新的 Windows 元件。Appraiser is the Windows component that corresponds to the compatibility updates. 其會針對與最新版本 Windows 的相容性來評定裝置上應用程式和驅動程式。It assesses the apps and drivers on the device for compatibility with the latest version of Windows.

若此檢查成功,則表示評鑑程式元件已在裝置上正確設定。If this check is successful, then the appraiser component is properly configured on the device.

否則,可能會顯示下列其中一個錯誤:Otherwise, it might display one of the following errors:

  • 無法設定裝置應用程式相容性資料集合 (SetRequestAllAppraiserVersions)。Can't configure device app compatibility data collection (SetRequestAllAppraiserVersions). 請檢查記錄以取得例外狀況詳細資料Check the logs for the exception details

  • 無法設定裝置應用程式相容性資料集合 (SetRequestAllAppraiserVersions)。Can't configure device app compatibility data collection (SetRequestAllAppraiserVersions). 請檢查記錄以取得例外狀況詳細資料Check the logs for the exception details

  • 無法將 RequestAllAppraiserVersions 寫入登錄機碼 HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\AppraiserCan't write the RequestAllAppraiserVersions to registry key HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Appraiser. 請檢查權限Check permissions

請檢查此登錄機碼上的權限。Check the permissions on this registry key. 確認本機系統帳戶可以針對要設定的 Configuration Manager 用戶端存取此機碼。Make sure that the local System account can access this key for the Configuration Manager client to set.

如需詳細資訊,請檢閱用戶端上的 M365AHandler.log。For more information, review M365AHandler.log on the client.

最低相容性更新Minimum compatibility update

裝置上並未安裝相容性更新 (appraiser.dll),或已過期。The compatibility update (appraiser.dll) isn't installed or out of date on the device. 其比電腦分析的最低需求 (10.0.17763) 舊。It's older than the minimum requirement for Desktop Analytics, 10.0.17763.

請安裝最新的相容性更新。Install the latest compatibility update. 如需詳細資訊,請參閱相容性更新For more information, see Compatibility updates.

評鑑程式版本Appraiser version

此屬性會顯示裝置上評鑑程式元件的目前版本。This property displays the current version of the Appraiser component on the device. 該屬性會顯示 %windir%\System32\appraiser.dll 上的檔案版本 (不帶小數點)。It shows the file version on %windir%\System32\appraiser.dll, without the decimal points. 例如,檔案版本 10.0.17763 會顯示為 10017763。For example, file version 10.0.17763 displays as 10017763.

上次成功的評鑑程式完整執行Last successful full run of Appraiser

此屬性會顯示裝置上次成功執行評鑑程式的日期和時間。This property displays the date and time that the device last successfully ran Appraiser.

評鑑程式資料集合Appraiser data collection

此屬性會顯示 Windows 執行評鑑程式元件的最新結果。This property shows the latest result from Windows running the appraiser component.

若沒有成功,其可能會顯示下列其中一個錯誤:If not successful, it might show one of the following errors:

  • 無法收集應用程式相容性資料 (RunAppraiser)。Can't collect app compatibility data (RunAppraiser). 請檢查記錄以取得詳細資料Check the logs for details

  • 應用程式相容性資料收集 (CompatTelRunner.exe) 已結束,錯誤碼為App compatibility data collection (CompatTelRunner.exe) ended with an error code

如需詳細資訊,請檢閱用戶端上的 M365AHandler.log。For more information, review M365AHandler.log on the client.

請檢查下列檔案:%windir%\System32\CompatTelRunner.exeCheck for the following file: %windir%\System32\CompatTelRunner.exe. 若其不存在,請重新安裝必要的相容性更新If it doesn't exist, reinstall the required compatibility updates. 請確認沒有其他系統元件正在移除此檔案,例如群組原則或反惡意程式碼服務。Make sure no other system component is removing this file, such as group policy or an antimalware service.

若用戶端上的 M365AHandler.log 檔案包含下列其中一個錯誤:If the M365AHandler.log file on the client includes one of the following errors:

RunAppraiser failed. CompatTelRunner.exe exited with last error code: 0x800703F1
RunAppraiser failed. CompatTelRunner.exe exited with last error code: 0x80070005
RunAppraiser failed. CompatTelRunner.exe exited with last error code: 0x80080005

為了協助補救這些錯誤,請在受影響的用戶端上,從提升權限的 Windows PowerShell 主控台中執行下列命令:To help remediate these errors, run the following commands from an elevated Windows PowerShell console on the affected client:

# stop associated services
Stop-Service -Name diagtrack #Connected User Experiences and Telemetry
Stop-Service -Name pcasvc #Program Compatibility Assistant Service
Stop-Service -Name dps #Diagnostic Policy Service

# regenerate diagnostic data cache
Remove-Item -Path $Env:WinDir\appcompat\programs\amcache.hve
Remove-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags" -Name AmiHivePermissionsCorrect -Force

# set ASL logging level to output log files in %windir%\temp
New-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags" -Name LogFlags -Value 4 -PropertyType DWord -Force

# restart services
Start-Service -Name diagtrack
Start-Service -Name pcasvc
Start-Service -Name dps

上次成功的普查完整執行Last successful full run of Census

此屬性會顯示裝置上次成功執行普查的日期和時間。This property displays the date and time that the device last successfully ran Census.

普查資料集合Census data collection

普查是 Windows 元件,負責清查裝置。Census is the Windows component that inventories the device. 此清查資料會用來了解裝置及其設定。This inventory data is used to understand the device and its configuration.

此屬性會顯示 Windows 執行普查元件的最新結果。This property shows the latest result from Windows running the census component.

若沒有成功,其可能會顯示下列其中一個錯誤:If not successful, it might show one of the following errors:

  • 無法收集裝置及其設定的相關資料 (RunCensus)。Can't collect data about the device and its configuration (RunCensus). 請檢查記錄以取得例外狀況詳細資料Check the logs for the exception details

  • 找不到裝置和設定資料收集工具 (devicecensus.exe)Device and configuration data collection tool (devicecensus.exe) not found

如需詳細資訊,請檢閱用戶端上的 M365AHandler.log。For more information, review M365AHandler.log on the client.

請檢查下列檔案:%windir%\System32\DeviceCensus.exeCheck for the following file: %windir%\System32\DeviceCensus.exe. 若其不存在,請重新安裝必要的相容性更新If it doesn't exist, reinstall the required compatibility updates. 請確認沒有其他系統元件正在移除此檔案,例如群組原則或反惡意程式碼服務。Make sure no other system component is removing this file, such as group policy or an antimalware service.

Windows 診斷端點連線能力Windows diagnostic endpoint connectivity

若此檢查成功,則裝置便可以連線到已連線使用者體驗與遙測端點 (Vortex)。If this check is successful, then the device can connect to the Connected User Experience and Telemetry endpoint (Vortex).

否則,可能會顯示下列其中一個錯誤:Otherwise, it may show one of the following errors:

  • 無法連線至已連線使用者體驗與遙測端點 (Vortex)。Can't connect to the connected user experience and telemetry endpoint (Vortex). 請檢查網路/Proxy 設定Check your network/proxy settings

  • 無法檢查與已連線使用者體驗與遙測端點的連線能力 (CheckVortexConnectivity)。Can't check connectivity to the connected user experience and telemetry endpoint (CheckVortexConnectivity). 請檢查記錄以取得例外狀況詳細資料Check the logs for the exception details

裝置會根據 OS 版本,使用向下列端點發出的 GET 要求來驗證連線能力:Devices verify connectivity with a GET request to the following endpoint based on OS version:

OS 版本OS version 端點Endpoint
- Windows 10,1809 版或更新版本- Windows 10, version 1809 or later
- Windows 10,包含 2018-09 或更新累積更新的 1803 版- Windows 10, version 1803 with the 2018-09 cumulative update or later
https://v10c.events.data.microsoft.com/health/keepalive
Windows 10,「不」包含 2018-09 或更新累積更新的 1803 版Windows 10, version 1803 without the 2018-09 or later cumulative update https://v10.events.data.microsoft.com/health/keepalive
Windows 10,1709 版或更早版本Windows 10, version 1709 or earlier https://v10.vortex-win.data.microsoft.com/health/keepalive
Windows 7 或 Windows 8.1Windows 7 or Windows 8.1 https://vortex-win.data.microsoft.com/health/keepalive

請確認裝置可以和服務通訊。Make sure the device can communicate with the service. 這項檢查會驗證一部分,但不會驗證所有的必要端點。This check validates some but not all of the required endpoints. 如需詳細資訊,請參閱端點For more information, see Endpoints.

如需詳細資訊,請檢閱用戶端上的 M365AHandler.log。For more information, review M365AHandler.log on the client.

檢查終端使用者診斷資料Check end-user diagnostic data

若此檢查成功,則表示使用者在裝置上選取了較低的 Windows 診斷資料。If this check isn't successful, a user selected a lower Windows diagnostic data on the device. 這也可能是由發生衝突的群組原則物件所造成。It can also be caused by a conflicting group policy object. 如需詳細資訊,請參閱 Windows 設定For more information, see Windows settings.

取決於商務需求,您可以透過群組原則來停用使用者選擇。Depending upon your business requirements, you can disable user choice via group policy. 使用設定來設定遙測加入設定使用者介面Use the setting to Configure telemetry opt-in setting user interface. 如需詳細資訊,請參閱在組織中設定 Windows 診斷資料For more information, see Configure Windows diagnostic data in your organization.

檢查使用者 ProxyCheck user proxy

Windows 7 預設會啟用 DisableEnterpriseAuthProxy 設定。The DisableEnterpriseAuthProxy setting is enabled by default for Windows 7. 針對 Windows 8.1 電腦,Configuration Manager 會將 DisableEnterpriseAuthProxy 設定設為 0 (而非停用)。For Windows 8.1 computers, Configuration Manager sets the DisableEnterpriseAuthProxy setting to 0 (not disabled).

此屬性可能會顯示下列錯誤:This property may display the following errors:

  • 已啟用驗證 Proxy。Authentication proxy is enabled. 請在 HKLM:\Software\Policies\Microsoft\Windows\DataCollection 中將 DisableEnterpriseAuthProxy 設為 0Set DisableEnterpriseAuthProxy to 0 in HKLM:\Software\Policies\Microsoft\Windows\DataCollection

  • 無法檢查驗證 Proxy 狀態。Can't check for the Authentication proxy status. 請檢查記錄以取得例外狀況詳細資料Check the logs for the exception details

如需詳細資訊,請檢閱用戶端上的 M365AHandler.log。For more information, review M365AHandler.log on the client.

請檢查此登錄機碼上的權限。Check the permissions on this registry key. 確認本機系統帳戶可以針對要設定的 Configuration Manager 用戶端存取此機碼。Make sure that the local System account can access this key for the Configuration Manager client to set. 這也可能是由發生衝突的群組原則物件所造成。It can also be caused by a conflicting group policy object. 如需詳細資訊,請參閱 Windows 設定For more information, see Windows settings.

商業識別碼設定Commercial ID configuration

Microsoft 會使用唯一的商業識別碼,將裝置的資訊對應到電腦分析工作區。Microsoft uses a unique commercial ID to map information from devices to your Desktop Analytics workspace. 當將 Configuration Manager 與電腦分析整合時,其會自動向服務查詢此識別碼。When you integrate Configuration Manager with Desktop Analytics, it automatically queries the service for this ID. Configuration Manager 應會自動將此識別碼套用到您瞄準電腦分析設定的目標用戶端。Configuration Manager should automatically apply this ID to clients to which you target Desktop Analytics settings.

若此檢查成功,則表示已成功使用商業識別碼正確設定裝置。If this check is successful, then the device is properly configured with a commercial ID.

否則,可能會顯示下列其中一個錯誤:Otherwise, it may show one of the following errors:

  • 無法將 CommercialId 寫入登錄機碼 HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\DataCollectionCan't write the CommercialId to registry key HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\DataCollection. 請檢查權限Check permissions

  • 無法更新登錄機碼 HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\DataCollection 中的 CommercialId。Can't update the CommercialId in registry key HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\DataCollection. 請檢查記錄以取得例外狀況詳細資料Check the logs for the exception details

  • 請在 HKLM:\SOFTWARE\Policies\Microsoft\Windows\DataCollection 提供正確的 CommercialId 值Provide the correct CommercialId value at HKLM:\SOFTWARE\Policies\Microsoft\Windows\DataCollection

如需詳細資訊,請檢閱用戶端上的 M365AHandler.log。For more information, review M365AHandler.log on the client.

請檢查此登錄機碼上的權限。Check the permissions on this registry key. 確認本機系統帳戶可以針對要設定的 Configuration Manager 用戶端存取此機碼。Make sure that the local System account can access this key for the Configuration Manager client to set. 這也可能是由發生衝突的群組原則物件所造成。It can also be caused by a conflicting group policy object. 如需詳細資訊,請參閱 Windows 設定For more information, see Windows settings.

裝置有不同的識別碼。There's a different ID for the device. 群組原則會使用此登錄機碼。This registry key is used by group policy. 其會優先於 Configuration Manager 提供的識別碼。It takes precedence over the ID provided by Configuration Manager.

若要在電腦分析入口網站中檢視商業識別碼,請使用下列程序:To view the commercial ID in the Desktop Analytics portal, use the following procedure:

  1. 前往電腦分析入口網站,然後在全域設定群組中選取 [已連線的服務]。Go to the Desktop Analytics portal, and select Connected services in the Global Settings group.

  2. 在 [已連線的服務] 窗格中,根據預設會選取 [已註冊的裝置] 窗格。In the Connected services pane, the Enroll devices pane is selected by default. 在 [註冊裝置] 窗格中,[資訊] 區段會顯示商業識別碼金鑰。In the Enroll devices pane, the Information section displays your Commercial ID key.

電腦分析入口網站中商業識別碼的螢幕擷取畫面

重要

請只在無法使用目前的金鑰時,才取得新的識別碼金鑰Only Get new ID key when you can't use the current one. 若重新產生商業識別碼,請使用新的識別碼重新註冊裝置。這項流程可能會導致在轉換期間遺失診斷資料。If you regenerate the commercial ID, re-enroll your devices with the new Id. This process might result in loss of diagnostic data during the transition.

Windows 商業資料加入Windows commercial data opt-in

此屬性僅適用於執行 Windows 7 或 Windows 8.1 的裝置。This property is specific to devices running Windows 7 or Windows 8.1. 其會執行與 Windows 診斷資料加入相似的測試 (CommercialDataOptIn 值除外)。It runs similar tests as Windows diagnostic data opt-in, except for the CommercialDataOptIn value.

檢查診斷資料中的裝置名稱Check device name in diagnostic data

若此檢查成功,則表示裝置已正確設定為共用裝置名稱。If this check is successful, then the device is properly configured to share the device name.

否則,可能會顯示下列其中一個錯誤:Otherwise, it may show one of the following errors:

  • 無法檢查要作為 Windows 診斷資料一部分傳送至 Microsoft 的裝置名稱。Can't check for the device name to be sent to Microsoft as part of the Windows diagnostic data. 請檢查記錄以取得例外狀況詳細資料Check the logs for the exception details

  • 無法將 AllowDeviceNameInTelemetry 寫入登錄機碼 HKLM:\SOFTWARE\Policies\Microsoft\Windows\DataCollectionCan't write AllowDeviceNameInTelemetry to registry key HKLM:\SOFTWARE\Policies\Microsoft\Windows\DataCollection. 請檢查權限Check permissions

如需詳細資訊,請檢閱用戶端上的 M365AHandler.log。For more information, review M365AHandler.log on the client.

請檢查此登錄機碼上的權限。Check the permissions on this registry key. 確認本機系統帳戶可以針對要設定的 Configuration Manager 用戶端存取此機碼。Make sure that the local System account can access this key for the Configuration Manager client to set. 這也可能是由發生衝突的群組原則物件所造成。It can also be caused by a conflicting group policy object. 如需詳細資訊,請參閱 Windows 設定For more information, see Windows settings.

請確認另一項原則機制 (例如群組原則) 並未停用此設定。Make sure that another policy mechanism, such as group policy, isn't disabling this setting.

DiagTrack 服務設定DiagTrack service configuration

若此檢查成功,則表示 DiagTrack 元件已在裝置上正確設定。If this check is successful, then the DiagTrack component is properly configured on the device. 電腦分析的最低版本需求是 10010586 (10.0.10586)。The minimum version required by Desktop Analytics is 10010586 (10.0.10586).

否則,可能會顯示下列其中一個錯誤:Otherwise, it might display one of the following errors:

  • 已連線使用者體驗與遙測 (diagtrack.dll) 元件已過期。Connected User Experience and Telemetry (diagtrack.dll) component is outdated. 請檢查需求Check requirements

    提示

    Windows 7 2020 年 4 月份延伸安全性更新 (ESU) 有一個已知問題,此問題會導致裝置錯誤地回報此錯誤。There's a known issue with the April 2020 extended security update (ESU) for Windows 7 that causes devices to misreport this error. 如需詳細資訊,請參閱版本資訊For more information, see Release notes.

  • 找不到已連線使用者體驗與遙測 (diagtrack.dll) 元件。Can't find the Connected User Experience and telemetry (diagtrack.dll) component. 請檢查需求Check requirements

  • 啟用並啟動已連線的使用者體驗與遙測服務來將資料傳送給 MicrosoftEnable and start the Connected User Experiences and Telemetry service to send data to Microsoft

安裝最新的更新。Install the latest updates. 如需詳細資訊,請參閱裝置更新For more information, see Device updates.

請確認裝置上的已連線使用者體驗與遙測服務正在執行。Make sure that the Connected User Experiences and Telemetry service on the device is running.

DiagTrack 版本DiagTrack version

此屬性會顯示裝置上已連線使用者體驗與遙測元件的目前版本。This property displays the current version of the Connected User Experience and Telemetry component on the device. 該屬性會顯示 %windir%\System32\diagtrack.dll 上的檔案版本 (不帶小數點)。It shows the file version on %windir%\System32\diagtrack.dll, without the decimal points. 例如,檔案版本 10.0.10586 會顯示為 10010586。For example, file version 10.0.10586 displays as 10010586.

SQM 識別碼擷取SQM ID retrieval

此屬性主要適用於 Windows 7 裝置。This property is primarily for Windows 7 devices. 其也可以由更新的 OS 版本作為裝置後援識別碼使用。It may be used by later OS versions as a fallback identifier for the device.

若並未成功,其可能會顯示下列錯誤:If not successful, it may display the following error:

  • 無法擷取舊版裝置遙測識別碼 (SQM 識別碼)Can't retrieve the legacy device telemetry identifier (SQM ID)

如需詳細資訊,請檢閱用戶端上的 M365AHandler.log。For more information, review M365AHandler.log on the client.

請確認您環境中沒有重複的識別碼。Make sure you don't have duplicate IDs in your environment. 例如,使用尚未一般化的 OS 映像部署裝置。For example, if devices were deployed with an OS image that wasn't generalized.

唯一裝置識別碼擷取Unique device identifier retrieval

電腦分析會使用 Microsoft 帳戶服務,以取得更可靠的裝置身分識別。Desktop Analytics uses the Microsoft Account service for a more reliable device identity.

請確認 Microsoft 帳戶登入小幫手服務並未停用。Make sure the Microsoft Account Sign-In Assistant service isn't disabled. 啟動類型應為手動 (觸發程序啟動)The startup type should be Manual (Trigger Start).

若要停用終端使用者 Microsoft 帳戶存取,請使用原則設定,而非封鎖此端點。To disable end-user Microsoft account access, use policy settings instead of blocking this endpoint. 如需詳細資訊,請參閱企業中的 Microsoft 帳戶For more information, see The Microsoft account in the enterprise.

Windows 診斷資料加入Windows diagnostic data opt-in

此屬性會檢查 Windows 已正確設為允許診斷資料。This property checks that Windows is properly configured to allow diagnostic data. 其會檢查下列登錄機碼中的 AllowTelemetry 值:It checks the AllowTelemetry value in the following registry keys:

  • HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\DataCollection
  • HKLM:\SOFTWARE\Policies\Microsoft\Windows\DataCollection

請檢查這些登錄機碼上的權限。Check the permissions on these registry keys. 確認本機系統帳戶可以針對要設定的 Configuration Manager 用戶端存取這些機碼。Make sure that the local System account can access these keys for the Configuration Manager client to set. 這也可能是由發生衝突的群組原則物件所造成。It can also be caused by a conflicting group policy object. 如需詳細資訊,請參閱 Windows 設定For more information, see Windows settings.

如需詳細資訊,請檢閱用戶端上的 M365AHandler.log。For more information, review M365AHandler.log on the client.

請參閱See also

針對電腦分析進行疑難排解 (部分機器翻譯)Troubleshoot Desktop Analytics