Windows デバイスから診断情報を収集する
[診断情報の収集] リモート アクションを使用すると、ユーザーの作業を中断することなく、Windows デバイスのログを収集してダウンロードできます。 ユーザー以外の場所とファイルの種類にのみアクセスできるため、個人情報は収集されません。
診断コレクションは 28 日間保存され、その後削除されます。 各デバイスには、一度に最大 10 個のコレクションを保存できます。
診断の収集 は、一度に最大 25 台の Windows デバイスから診断ログを収集する バルク デバイス アクションとしても利用できます。
要件
[診断情報の収集] リモート アクションは、次の場合にサポートされます。
- Intune または共同管理デバイス。
- Windows 10 バージョン 1909 以降。
- Windows 11
- Microsoft HoloLens 2 2004 以降。
- グローバル管理者、Intune 管理者、 または、[診断情報の収集] 管理の役割 (リモート タスク 下) および [読み取り] (デバイス コンプライアンス ポリシー 下) のアクセス許可。
- 企業所有のデバイス。
- 診断時にサービスとオンラインで通信できるデバイス。
診断の収集
[診断情報の収集] アクションを使用するには:
- Microsoft エンドポイント マネージャー管理センターにサインインし、 > [デバイス] > [Windows] を選択し、サポートされているデバイスを選択します。
- デバイスの [概要] ページで [...] > [診断情報の収集] > [はい] を選択します。 デバイスの [概要] ページに保留中の通知が表示されます。
- アクションの状態を確認するには、[Device diagnostics monitor](デバイス診断モニター) を選択します。
- 操作が完了したら、その操作の行にある [ダウンロード] を選択し、[はい] を選択します。
- データの zip ファイルがダウンロード トレイに追加され、それをコンピューターに保存できます。
収集されるデータ
個人情報は収集されません。 KB5011543 (Windows 10)、または KB5011563 (Windows 11) がインストール済みである場合、zip ファイルの形式が単純になります。これには、収集されたログが収集されたデータに一致するように名前が付けられ、複数のファイルが収集されたときにフォルダーが作成されるフラット化した構造が含まれます。
以下の一覧は、診断情報の zip と同じ順序です。 各コレクションには、次のデータが含まれています。
レジストリ キー:
- HKLM\SOFTWARE\Microsoft\CloudManagedUpdate
- HKLM\SOFTWARE\Microsoft\IntuneManagementExtension
- HKLM\SOFTWARE\Microsoft\SystemCertificates\AuthRoot
- HKLM\SOFTWARE\Microsoft\Windows Advanced Threat Protection
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\LogonUI
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall
- HKLM\SOFTWARE\Policies
- HKLM\SOFTWARE\Policies\Microsoft\Cryptography\Configuration\SSL
- HKLM\SOFTWARE\Policies\Microsoft\Windows Advanced Threat Protection
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall
- HKLM\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL
コマンド:
- %programfiles%\windows defender\mpcmdrun.exe -GetFiles
- %windir%\system32\certutil.exe -store
- %windir%\system32\certutil.exe -store -user my
- %windir%\system32\Dsregcmd.exe /status
- %windir%\system32\ipconfig.exe /all
- %windir%\system32\mdmdiagnosticstool.exe
- %windir%\system32\msinfo32.exe /report %temp%\MDMDiagnostics\msinfo32.log
- %windir%\system32\netsh.exe advfirewall show allprofiles
- %windir%\system32\netsh.exe advfirewall show global
- %windir%\system32\netsh.exe lan show profiles
- %windir%\system32\netsh.exe winhttp show proxy
- %windir%\system32\netsh.exe wlan show profiles
- %windir%\system32\netsh.exe wlan show wlanreport
- %windir%\system32\ping.exe -n 50 localhost
- %windir%\system32\powercfg.exe /batteryreport /output %temp%\MDMDiagnostics\battery-report.html
- %windir%\system32\powercfg.exe /energy /output %temp%\MDMDiagnostics\energy-report.html
イベント ビューアー:
- アプリケーション
- Microsoft-Windows-AppLocker/EXE and DLL
- Microsoft-Windows-AppLocker/MSI and Script
- Microsoft-Windows-AppLocker/Packaged app-Deployment
- Microsoft-Windows-AppLocker/Packaged app-Execution
- Microsoft-Windows-AppxPackaging/Operational
- Microsoft-Windows-Bitlocker/Bitlocker Management
- Microsoft-Windows-HelloForBusiness/Operational
- Microsoft-Windows-SENSE/Operational
- Microsoft-Windows-SenseIR/Operational
- 高度なセキュリティ/ファイアウォールを備えた Microsoft - Windows - Windows ファイアウォール
- Microsoft-Windows-WinRM/Operational
- Microsoft-Windows-WMI-Activity/Operational
- セットアップ
- System
ファイル:
- %ProgramData%\Microsoft\DiagnosticLogCSP\Collectors*.etl
- %ProgramData%\Microsoft\IntuneManagementExtension\Logs*.*
- %ProgramData%\Microsoft\Windows Defender\Support\MpSupportFiles.cab
- %ProgramData%\Microsoft\Windows\WlanReport\wlan-report-latest.html
- %ProgramData Microsoft Update Health Tools\Logs*.etl
- %temp%\MDMDiagnostics\battery-report.html
- %temp%\MDMDiagnostics\energy-report.html
- %temp%\MDMDiagnostics\mdmlogs-<Date/Time>.cab
- %temp%\MDMDiagnostics\msinfo32.log
- %windir%\ccm\logs*.log
- %windir%\ccmsetup\logs*.log
- %windir%\logs\CBS\cbs.log
- %windir%\logs\measuredboot*.*
- %windir%\Logs\WindowsUpdate*.etl
- %windir%\temp%computername%*.log
- %windir%\temp\officeclicktorun*.log
デバイス診断を無効にする
次の手順に従って、すべてのデバイスの [診断情報の収集] リモート アクションを無効にすることができます。
Microsoft エンドポイント マネージャー管理センターにサインインし、 > [テナント管理] > [デバイス診断] を選択します。
コントロールを [無効] に変更します。
デバイス診断に関する既知の問題
現在、デバイス診断が失敗する原因となる 2 つの主な問題があります。