Intune Public Preview - Windows 10 Device diagnostics

Published Mar 04 2021 08:10 AM 18.8K Views

By Jon Lynn – Sr. Service Engineer | Microsoft Endpoint Manager – Intune

 

In our 2102 (February) Microsoft Intune service release we are enabling a public preview of the Windows 10 Device diagnostics feature. We’ve listened to your feedback and understand that troubleshooting, especially with the emphasis on remote work, can be particularly challenging. This first release of device diagnostics utilizes the Windows DiagnosticLog CSP, allowing Intune to collect a set of files, registry, event viewers and commands to be gathered on a Windows 10 or a Microsoft HoloLens 2 device. The diagnostic process is quite easy, fast, and reliable, generally taking about 5 minutes from start to finish.

 

Let’s take a look at the requirements to use device diagnostics:

 

Client requirements

  • Desktop: Windows 10 1909 / 19H2 or later (build number 10.0.18363+) – Home, Pro, Enterprise and Education versions supported.
  • HoloLens 2: Windows 10 2004 / 20H1 or later (build number 10.0.19041+).
  • Device must be online, be available via the internet and Windows Push Notification Service (WNS) must have access to the machine.

 

Intune requirements

  • To initiate a device diagnostics, you must be assigned to a Global Admin role, Intune Admin role, School Administrator, Help Desk Operator, or have the Collect diagnostics permission assigned to a custom role.
  • The device you’d like to collect diagnostics from must be designated as Corporate-Owned.

 

Once the client and Intune requirements are met, simply navigate in the Microsoft Endpoint Manager admin center to the Devices > All Devices blade and search for the device you want to collect diagnostics on.

 

All devices blade in the MEM admin centerAll devices blade in the MEM admin center

Double click on the device and choose the device action “Collect diagnostics”.

 

Single device view in the MEM admin centerSingle device view in the MEM admin center

The status and results of the Collect diagnostics task can be found under Device diagnostics (Preview). Once opened, the monitor displays who ran the Collect diagnostics task, status, when it was started, when diagnostics were uploaded, and a download button when complete (if successful).

There are three status messages for a diagnostic task, let us review each:

  1. Completed: Diagnostics were successful and are available for download.
  2. Pending diagnostics Upload: The device is running the diagnostics and will finish shortly, or the device is offline/unreachable and has not received the request. The diagnostics task is good for 12 hours, so if the machine comes online and/or checks into the Intune service, the diagnostic action will be kicked off.
  3. Failed: The device ran diagnostics but failed to complete the task or failed to upload. To troubleshoot this issue, please review the MDMDiagnostics registry key at HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MdmDiagnostics and the sub keys inside. If collecting diagnostics fails, we recommend you run the device action again. If it continues to fail, please open a case with Intune support from the Endpoint Manager admin center.

 

Here’s what a pending and completed diagnostic collection status looks like:

 

Device diagnostics (Preview) exampleDevice diagnostics (Preview) example

 

Device diagnostics (Preview) download exampleDevice diagnostics (Preview) download example

Now that the diagnostic has completed, click download, save to your machine, and extract the zip file. You will know notice the zip file has many folders. This can be confusing and unfortunately, it’s not something we can change because that is how the DiagnosticLog CSP handles the files. However, we are working on an update to flatten the folders and simplify the process after diagnostics are gathered. To help simplify the diagnostics during the preview, please see the PowerShell script provided later in the blog.

 

Each file, command, registry, or event viewers is stored in an individual folder to be compressed into a zip file, see the image below for a sample of the zip and contents.

 

Fig 1. Example of the samples of the zip and contentsFig 1. Example of the samples of the zip and contents

 

Fig 2. Example of the samples of the zip and contentsFig 2. Example of the samples of the zip and contents

 

Fig 3. Example of the samples of the zip and contentsFig 3. Example of the samples of the zip and contents

Now that we have reviewed how to collect diagnostics, let’s review what we are collecting from machines. Currently we collect useful registry keys, command outputs, MDM diagnostic logs and other critical Microsoft data like Microsoft Defender ATP logs.

 

Also, it is important to note, there are restrictions on what and where we can gather data using the DiagnosticLog CSP. We cannot collect information from user data folders, nor non-diagnostic file types, like photo or document file types. I highly encourage you to review the DiagnosticLog CSP documentation here for all the details. Microsoft doesn't have access to these logs. The logs are encrypted at rest after uploading them.

 

Here is the standard diagnostics template Intune is collecting and what it’s useful for:

Windows 10 Desktop OS:

  1. HKLM\Software\Microsoft\IntuneManagementExtension
    • This registry key contains specific information about the Intune Management Extension.
  2. HKLM\SOFTWARE\Microsoft\SystemCertificates\AuthRoot
    • This registry key contains info about certificates installed on your machine.
  3. HKLM\SOFTWARE\Microsoft\Windows Advanced Threat Protection
    • This registry key contains detailed info on your Microsoft Defender ATP configuration.
  4. HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\LogonUI
    • This registry key contains the last logged on user.
  5. HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings
    • This registry key contains info on your Internet configuration.
  6. HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall
    • This registry key contains the 32-bit applications that are installed on the machine.
  7. HKLM\Software\Policies
    • This registry key contains information on the policies configured on the machine.
  8. HKLM\SOFTWARE\Policies\Microsoft\Cryptography\Configuration\SSL
    • This registry key contains more information on certificates.
  9. HKLM\SOFTWARE\Policies\Microsoft\Windows Advanced Threat Protection
    • This registry key contains policy information related to Microsoft Defender ATP.
  10. HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall
    • This registry key contains the 64-bit applications that are installed on the machine.
  11. HKLM\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL
    • This registry key contains information on the TLS configuration on the machine.

 

Commands:

  1. %programfiles%\windows defender\mpcmdrun.exe -GetFiles
    • The command captures support data for troubleshooting ATP issues.
  2. %windir%\system32\certutil.exe -store
    • This command outputs the certificates installed on the machine’s store.
  3. %windir%\system32\certutil.exe -store -user my
    • This command outputs the certificates installed on the machine’s user store.
  4. %windir%\system32\Dsregcmd.exe /status
    • This command outputs Azure AD information for the machine.
  5. %windir%\system32\ipconfig.exe /all
    • This command outputs the IP address information for the machine.
  6. %windir%\system32\mdmdiagnosticstool.exe -area Autopilot;deviceprovisioning;deviceenrollment;tpm;HololensFallbackDeviceOwner -cab %temp%\MDMDiagnostics\mdmlogs-<Date/Time>.cab
    • This command captures MDM diagnostics for the machine.
  7. %windir%\system32\msinfo32.exe /report %temp%\MDMDiagnostics\msinfo32.log
    • This command outputs the hardware, software and driver details for the machine.
  8. %windir%\system32\netsh.exe advfirewall show allprofiles
    • This command outputs the firewall configuration for all profiles.
  9. %windir%\system32\netsh.exe advfirewall show global
    • This command outputs the global firewall configuration.
  10. %windir%\system32\netsh.exe lan show profiles
    • This command outputs the configuration of the LAN Adapter(s).
  11. %windir%\system32\netsh.exe winhttp show proxy
    • This command outputs network proxy configuration.
  12. %windir%\system32\netsh.exe wlan show profiles
    • This command outputs the proxy configuration of the Wireless LAN Adapters(s).
  13. %windir%\system32\netsh.exe wlan show wlanreport
    • This command outputs the status of the Wireless LAN.
  14. %windir%\system32\ping.exe -n 50 localhost
    • This command runs a test of the local network host.
  15. %windir%\system32\powercfg.exe /batteryreport /output %temp%\MDMDiagnostics\battery-report.html
    • This command generates a detailed report about day-to-day battery usage.
  16. %windir%\system32\powercfg.exe /energy /output %temp%\MDMDiagnostics\energy-report.html
    • This command generates a Battery Report, useful for troubleshooting laptop battery/power issues.

 

Event Viewers: We are capturing the common event viewers for troubleshooting issues, including Application, System and Setup. In addition, we are capturing the AppLocker event viewers to assist in debugging AppLocker issues and the SENSE event viewers to help debugging issues with anti-virus/malware.

 

  1. Application
  2. Microsoft-Windows-AppLocker/EXE and DLL
  3. Microsoft-Windows-AppLocker/MSI and Script
  4. Microsoft-Windows-AppLocker/Packaged app-Deployment
  5. Microsoft-Windows-AppLocker/Packaged app-Execution
  6. Microsoft-Windows-Bitlocker/Bitlocker Management
  7. Microsoft-Windows-SENSE/Operational
  8. Microsoft-Windows-SenseIR/Operational
  9. Setup
  10. System

 

Files: These commands collect the files generated during the log collection and files on the machine used for debugging issues. We are capturing all the data mentioned earlier along with Configuration Manager setup and client logs, CBS logs for issues and measured boot ETL’s to assist in machine security issues.

 

  1. %ProgramData%\Microsoft\DiagnosticLogCSP\Collectors\*.etl
  2. %ProgramData%\Microsoft\IntuneManagementExtension\Logs\*.*
  3. %ProgramData%\Microsoft\Windows Defender\Support\MpSupportFiles.cab
  4. %ProgramData%\Microsoft\Windows\WlanReport\wlan-report-latest.html
  5. %temp%\MDMDiagnostics\battery-report.html
  6. %temp%\MDMDiagnostics\energy-report.html
  7. %temp%\MDMDiagnostics\mdmlogs-<Date/Time>.cab
  8. %temp%\MDMDiagnostics\msinfo32.log
  9. %windir%\ccm\logs\*.log
  10. %windir%\ccmsetup\logs\*.log
  11. %windir%\logs\CBS\cbs.log
  12. %windir%\logs\measuredboot\*.*
  13. %windir%\Logs\WindowsUpdate\*.etl

 

HoloLens 2:

 

Commands:

  1. %windir%\system32\mdmdiagnosticstool.exe -area Autopilot;deviceprovisioning;deviceenrollment;tpm;HololensFallbackDeviceOwner -zip %programdata%\MDMDiagnostics\mdmlogs-DATE/TIME.zip

 

Folders/Files:

  1. %programdata%\MDMDiagnostics\mdmlogs-<Date/Time>.zip

  2. %ProgramData%\Microsoft\DiagnosticLogCSP\Collectors\*.etl

  3. %windir%\logs\measuredboot\*.*

 

For the public preview we have created a PowerShell script that will take the downloaded zip file and convert it into a simplified folder file with updated file names to describe each one and removing all the folders.

 

To use the PowerShell script, simply open a PowerShell prompt, and use the name of the download file as the input for the script.

 

Example: Devicediagnostics.ps1 Download.zip

 

Device diagnostics PowerShell Script:

 

param($DiagnosticArchiveZipPath) 
 
#region Formatting Choices 
$flatFileNameTemplate = '({0:D2}) {1} {2}' 
$maxLengthForInputTextPassedToOutput = 80 
#endregion 
 
#region Create Output Folders and Expand Zip 
$diagnosticArchiveTempUnzippedPath = $DiagnosticArchiveZipPath + "_expanded" 
if(-not (Test-Path $diagnosticArchiveTempUnzippedPath)){mkdir $diagnosticArchiveTempUnzippedPath} 
$reformattedArchivePath = $DiagnosticArchiveZipPath + "_formatted" 
if(-not (Test-Path $reformattedArchivePath)){mkdir $reformattedArchivePath} 
Expand-Archive -Path $DiagnosticArchiveZipPath -DestinationPath $diagnosticArchiveTempUnzippedPath 
#endregion 
 
#region Discover and Move/rename Files 
$resultElements = ([xml](Get-Content -Path (Join-Path -Path $diagnosticArchiveTempUnzippedPath -ChildPath "results.xml"))).Collection.ChildNodes | Foreach-Object{ $_ } 
$n = 1 
 
# only process supported directives 
$supportedDirectives = @('Command', 'Events', 'FoldersFiles', 'RegistryKey') 
foreach( $element in $resultElements) { 
  # only process supported directives, skip unsupported ones 
  if(!$supportedDirectives.Contains($element.Name)) { continue } 
 
  $directiveNumber = $n 
  $n++ 
  $directiveType = $element.Name 
  $directiveStatus = [int]$element.Attributes.ItemOf('HRESULT').psbase.Value 
  $directiveUserInputRaw = $element.InnerText 
 
  # trim the path to only include the actual command - not the full path 
  if ($element.Name -eq 'Command') { 
    $lastIndexOfSlash = $directiveUserInputRaw.LastIndexOf('\'); 
    $directiveUserInputRaw = $directiveUserInputRaw.substring($lastIndexOfSlash+1); 
  } 
 
  $directiveUserInputFileNameCompatible = $directiveUserInputRaw -replace '[\\|/\[\]<>\:"\?\*%\.\s]','_' 
  $directiveUserInputTrimmed = $directiveUserInputFileNameCompatible.substring(0, [System.Math]::Min($maxLengthForInputTextPassedToOutput, $directiveUserInputFileNameCompatible.Length)) 
  $directiveSummaryString = $flatFileNameTemplate -f $directiveNumber,$directiveType,$directiveUserInputTrimmed 
  $directiveOutputFolder = Join-Path -Path $diagnosticArchiveTempUnzippedPath -ChildPath $directiveNumber 
  $directiveOutputFiles = Get-ChildItem -Path $directiveOutputFolder -File 
  foreach( $file in $directiveOutputFiles) { 
    $leafSummaryString = $directiveSummaryString,$file.Name -join ' ' 
    Copy-Item $file.FullName -Destination (Join-Path -Path $reformattedArchivePath -ChildPath $leafSummaryString) 
  } 
} 
#endregion  
Remove-Item -Path $diagnosticArchiveTempUnzippedPath -Force -Recurse

 

 

Standard Zip versus PowerShell converted folder:

 

Comparison of Standard Zip vs. PowerShell converted folderComparison of Standard Zip vs. PowerShell converted folder

Lastly, if your organization does not want to utilize device diagnostics and wants to prevent IT admins from collecting diagnostics, the feature can be completely disabled in the Tenant Administration workload in the Microsoft Endpoint Manager admin center. Navigate to Tenant Admin > Device diagnostics (Preview) and disable the feature. Only a global administrator or Intune administrator can make this change.

 

Screenshot of the Device diagnostics (Preview) feature in the MEM admin centerScreenshot of the Device diagnostics (Preview) feature in the MEM admin center

Frequently asked questions and known issues (FAQ):

  • Unzipping diagnostics with 7Zip returns empty folders – This is a known issue with compressed files created by Windows and 7Zip. We recommend using a different tool to unzip the files.
  • If uploading diagnostics to Intune takes more than 30 seconds, the diagnostic collection task will fail – This is a known issue with the DiagnosticLog CSP that has been fixed in KB4601315 and KB4601319, which were released on February 2th, 2021 via Windows Update. Please ensure your machines have been updated.
  • Device diagnostics has been pending for a while, what should I do?  Best practice is to ensure the device can communicate with the service. Forcing a device check-in will ensure the device is able to reach the Intune service.  If the device can reach the service, retry the diagnosticsaction.
  • How long are the diagnostics available?  Diagnostics are available for download for 28 days and then automatically deleted per data retention requirements.
  • How many diagnostics can I run on a device?  Each device may have up to 10 diagnostics. After 10, the oldest set of diagnostics is removed and replaced.
  • What’s the maximum size of diagnostics I can collect? – 250mb of compressed files currently.
  • Is this feature going to cost me anything? – No, the feature is included with your M365, Intune, EMS, or otherwise qualifying subscription.

 

We are excited to ship this feature and look forward to your feedback and comments. Let us know if you have any additional questions by replying to this post or reaching out to @IntuneSuppTeam on Twitter.

6 Comments
Occasional Contributor

@Intune Support Team Nice work, really useful feature!

Any plans to make this extensible and allow for a way to have a custom collection ruleset (within the confines of what the CSP allows obviously) that could be invoked either locally or through the Graph? The main point would be to use all the existing plumbing and have the collected files automatically uploaded into the same place in Intune that this new feature uses.

 

Hi @Jan Gutjahr, thanks for the feedback! Right now it's not available execute device diagnostics via Graph, but we'll look at that functionality in the future!

Senior Member

+1 what @Jan Gutjahr mentioned; a simple example would be CCM logs, which may be in a custom location and thus not currently collected. Otherwise, love this feature!

Senior Member

17. %windir%\system32\mdmdiagnosticstool.exe -area Autopilot;deviceprovisioning;deviceenrollment;tpm;HololensFallbackDeviceOwner -cab %temp%\MDMDiagnostics\mdmlogs-<Date/Time>.cab

So it just generates .cab in %temp% (c:\windows\temp) and doesn't upload it to MEM? 

Occasional Contributor

I've noticed that since we activated this in our tenant that the diagnostics data settings are managed and cannot be changed by the user:

bthomas_0-1619005224532.png

Is this expected behavior because this has impact in devices that want to register for Windows Insider builds?

Frequent Visitor

Are there any plans to create a tool to read the output?  

%3CLINGO-SUB%20id%3D%22lingo-sub-2179712%22%20slang%3D%22en-US%22%3EIntune%20Public%20Preview%20-%20Windows%2010%20Device%20diagnostics%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2179712%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSTRONG%3EBy%20Jon%20Lynn%20%E2%80%93%20Sr.%20Service%20Engineer%20%7C%20Microsoft%20Endpoint%20Manager%20%E2%80%93%20Intune%20%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIn%20our%202102%20(February)%20Microsoft%20Intune%20service%20release%20we%20are%20enabling%20a%20public%20preview%20of%20the%20Windows%2010%20Device%20diagnostics%20feature.%20We%E2%80%99ve%20listened%20to%20your%20feedback%20and%20understand%20that%20troubleshooting%2C%20especially%20with%20the%20emphasis%20on%20remote%20work%2C%20can%20be%20particularly%20challenging.%20This%20first%20release%20of%20device%20diagnostics%20utilizes%20the%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fwindows%2Fclient-management%2Fmdm%2Fdiagnosticlog-csp%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EWindows%20DiagnosticLog%20CSP%3C%2FA%3E%2C%20allowing%20Intune%20to%20collect%20a%20set%20of%20files%2C%20registry%2C%20event%20viewers%20and%20commands%20to%20be%20gathered%20on%20a%20Windows%2010%20or%20a%20Microsoft%20HoloLens%202%20device.%20The%20diagnostic%20process%20is%20quite%20easy%2C%20fast%2C%20and%20reliable%2C%20generally%20taking%20about%205%20minutes%20from%20start%20to%20finish.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ELet%E2%80%99s%20take%20a%20look%20at%20the%20requirements%20to%20use%20device%20diagnostics%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3EClient%20requirements%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EDesktop%3A%20Windows%2010%201909%20%2F%2019H2%20or%20later%20(build%20number%2010.0.18363%2B)%20%E2%80%93%20Home%2C%20Pro%2C%20Enterprise%20and%20Education%20versions%20supported.%3C%2FLI%3E%0A%3CLI%3EHoloLens%202%3A%20Windows%2010%202004%20%2F%2020H1%20or%20later%20(build%20number%2010.0.19041%2B).%3C%2FLI%3E%0A%3CLI%3EDevice%20must%20be%20online%2C%20be%20available%20via%20the%20internet%20and%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fwindows%2Fuwp%2Fdesign%2Fshell%2Ftiles-and-notifications%2Fwindows-push-notification-services--wns--overview%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EWindows%20Push%20Notification%20Service%3C%2FA%3E%20(WNS)%20must%20have%20access%20to%20the%20machine.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%3CSPAN%20class%3D%22TextRun%20SCXW106250971%20BCX8%22%20data-contrast%3D%22auto%22%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW106250971%20BCX8%22%3EIntune%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW106250971%20BCX8%22%3Er%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW106250971%20BCX8%22%3Eequirements%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CSPAN%20class%3D%22TextRun%20SCXW106250971%20BCX8%22%20data-contrast%3D%22auto%22%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW106250971%20BCX8%22%3ETo%20initiate%20a%20device%20diagnostics%2C%20you%20must%20be%20assigned%20to%20a%20Global%20Admin%20role%2C%20Intune%20Admin%20role%2C%20School%20Administrator%2C%20Help%20Desk%20Operator%2C%20or%20have%20the%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fmem%2Fintune%2Ffundamentals%2Frole-based-access-control%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3ECollect%20diagnostics%3C%2FA%3E%20permission%20assigned%20to%20a%20custom%20role.%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%3E%3CSPAN%20class%3D%22TextRun%20SCXW106250971%20BCX8%22%20data-contrast%3D%22auto%22%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW106250971%20BCX8%22%3EThe%20device%20you%E2%80%99d%20like%20to%20collect%20diagnostics%20from%20must%20be%20designated%20as%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fmem%2Fintune%2Fenrollment%2Fcorporate-identifiers-add%23change-device-ownership%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3ECorporate-Owned%3C%2FA%3E.%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22TextRun%20SCXW106250971%20BCX8%22%20data-contrast%3D%22auto%22%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW106250971%20BCX8%22%3EOnce%20the%20client%20and%20Intune%20requirements%20are%20met%2C%20simply%20navigate%20in%20the%20Microsoft%20Endpoint%20Manager%20admin%20center%20to%20the%20%3CSTRONG%3EDevices%3C%2FSTRONG%3E%20%26gt%3B%20%3CSTRONG%3EAll%20Devices%3C%2FSTRONG%3E%20blade%20and%20search%20for%20the%20device%20you%20want%20to%20collect%20diagnostics%20on.%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22DeviceDiagnosticBlog.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F260911iF7707C5E65530875%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22DeviceDiagnosticBlog.png%22%20alt%3D%22All%20devices%20blade%20in%20the%20MEM%20admin%20center%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EAll%20devices%20blade%20in%20the%20MEM%20admin%20center%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22TextRun%20SCXW106250971%20BCX8%22%20data-contrast%3D%22auto%22%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW106250971%20BCX8%22%3EDouble%20click%20on%20the%20device%20and%20choose%20the%20device%20action%20%E2%80%9CCollect%20diagnostics%E2%80%9D.%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22DeviceDiagnosticBlog2.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F260939i485E473BC2E5F53B%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22DeviceDiagnosticBlog2.png%22%20alt%3D%22Single%20device%20view%20in%20the%20MEM%20admin%20center%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3ESingle%20device%20view%20in%20the%20MEM%20admin%20center%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EThe%20status%20and%20results%20of%20the%20Collect%20diagnostics%20task%20can%20be%20found%20under%20Device%20diagnostics%20(Preview).%20Once%20opened%2C%20the%20monitor%20displays%20who%20ran%20the%20Collect%20diagnostics%20task%2C%20status%2C%20when%20it%20was%20started%2C%20when%20diagnostics%20were%20uploaded%2C%20and%20a%20download%20button%20when%20complete%20(if%20successful).%3C%2FP%3E%0A%3CP%3EThere%20are%20three%20status%20messages%20for%20a%20diagnostic%20task%2C%20let%20us%20review%20each%3A%3C%2FP%3E%0A%3COL%3E%0A%3CLI%3E%3CSTRONG%3ECompleted%3A%3C%2FSTRONG%3E%20Diagnostics%20were%20successful%20and%20are%20available%20for%20download.%3C%2FLI%3E%0A%3CLI%3E%3CSTRONG%3EPending%20diagnostics%20Upload%3A%3C%2FSTRONG%3E%20The%20device%20is%20running%20the%20diagnostics%20and%20will%20finish%20shortly%2C%20or%20the%20device%20is%20offline%2Funreachable%20and%20has%20not%20received%20the%20request.%20The%20diagnostics%20task%20is%20good%20for%2012%20hours%2C%20so%20if%20the%20machine%20comes%20online%20and%2For%20checks%20into%20the%20Intune%20service%2C%20the%20diagnostic%20action%20will%20be%20kicked%20off.%3C%2FLI%3E%0A%3CLI%3E%3CSTRONG%3EFailed%3A%3C%2FSTRONG%3E%20The%20device%20ran%20diagnostics%20but%20failed%20to%20complete%20the%20task%20or%20failed%20to%20upload.%20To%20troubleshoot%20this%20issue%2C%20please%20review%20the%20MDMDiagnostics%20registry%20key%20at%20HKEY_LOCAL_MACHINE%5CSOFTWARE%5CMicrosoft%5CMdmDiagnostics%20and%20the%20sub%20keys%20inside.%20If%20collecting%20diagnostics%20fails%2C%20we%20recommend%20you%20run%20the%20device%20action%20again.%20If%20it%20continues%20to%20fail%2C%20please%20open%20a%20case%20with%20Intune%20support%20from%20the%20Endpoint%20Manager%20admin%20center.%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22TextRun%20SCXW460466%20BCX8%22%20data-contrast%3D%22auto%22%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW460466%20BCX8%22%3EHere%E2%80%99s%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW460466%20BCX8%22%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Ewhat%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW460466%20BCX8%22%3Ea%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW460466%20BCX8%22%3Epending%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW460466%20BCX8%22%3Eand%20completed%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW460466%20BCX8%22%3Ediagnostic%20collection%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW460466%20BCX8%22%3Estatus%20look%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW460466%20BCX8%22%3Es%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW460466%20BCX8%22%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Elike%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW460466%20BCX8%22%3E%3A%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22DeviceDiagnosticBlog3.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F260940i35A2D286D7B318D6%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22DeviceDiagnosticBlog3.png%22%20alt%3D%22Device%20diagnostics%20(Preview)%20example%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EDevice%20diagnostics%20(Preview)%20example%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22DeviceDiagnosticBlog4.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F260941i1E72DD7087920AAC%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22DeviceDiagnosticBlog4.png%22%20alt%3D%22Device%20diagnostics%20(Preview)%20download%20example%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EDevice%20diagnostics%20(Preview)%20download%20example%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22TextRun%20SCXW460466%20BCX8%22%20data-contrast%3D%22auto%22%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW460466%20BCX8%22%3ENow%20that%20the%20diagnostic%20has%20completed%2C%20click%20download%2C%20save%20to%20your%20machine%2C%20and%20extract%20the%20zip%20file.%20You%20will%20know%20notice%20the%20zip%20file%20has%20many%20folders.%20This%20can%20be%20confusing%20and%20unfortunately%2C%20it%E2%80%99s%20not%20something%20we%20can%20change%20because%20that%20is%20how%20the%20DiagnosticLog%20CSP%20handles%20the%20files.%20However%2C%20we%20are%20working%20on%20an%20update%20to%20flatten%20the%20folders%20and%20simplify%20the%20process%20after%20diagnostics%20are%20gathered.%20To%20help%20simplify%20the%20diagnostics%20during%20the%20preview%2C%20please%20see%20the%20PowerShell%20script%20provided%20later%20in%20the%20blog.%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22TextRun%20SCXW460466%20BCX8%22%20data-contrast%3D%22auto%22%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW460466%20BCX8%22%3EEach%20file%2C%20command%2C%20registry%2C%20or%20event%20viewers%20is%20stored%20in%20an%20individual%20folder%20to%20be%20compressed%20into%20a%20zip%20file%2C%20see%20the%20image%20below%20for%20a%20sample%20of%20the%20zip%20and%20contents.%20%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22DeviceDiagnosticBlog5.1.png%22%20style%3D%22width%3A%20702px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F260954i12DFB85EEF8BB71D%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22DeviceDiagnosticBlog5.1.png%22%20alt%3D%22Fig%201.%20Example%20of%20the%20samples%20of%20the%20zip%20and%20contents%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EFig%201.%20Example%20of%20the%20samples%20of%20the%20zip%20and%20contents%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22DeviceDiagnosticBlog5.2.png%22%20style%3D%22width%3A%20703px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F260955iC729F4A5FAC96685%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22DeviceDiagnosticBlog5.2.png%22%20alt%3D%22Fig%202.%20Example%20of%20the%20samples%20of%20the%20zip%20and%20contents%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EFig%202.%20Example%20of%20the%20samples%20of%20the%20zip%20and%20contents%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22DeviceDiagnosticBlog5.3.png%22%20style%3D%22width%3A%20703px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F260956i4D0D8F5038ABD035%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22DeviceDiagnosticBlog5.3.png%22%20alt%3D%22Fig%203.%20Example%20of%20the%20samples%20of%20the%20zip%20and%20contents%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EFig%203.%20Example%20of%20the%20samples%20of%20the%20zip%20and%20contents%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22TextRun%20SCXW460466%20BCX8%22%20data-contrast%3D%22auto%22%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW460466%20BCX8%22%3ENow%20that%20we%20have%20reviewed%20how%20to%20collect%20diagnostics%2C%20let%E2%80%99s%20review%20what%20we%20are%20collecting%20from%20machines.%20Currently%20we%20collect%20useful%20registry%20keys%2C%20command%20outputs%2C%20MDM%20diagnostic%20logs%20and%20other%20critical%20Microsoft%20data%20like%20Microsoft%20Defender%20ATP%20logs.%20%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22TextRun%20SCXW460466%20BCX8%22%20data-contrast%3D%22auto%22%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW460466%20BCX8%22%3EAlso%2C%20it%20is%20important%20to%20note%2C%20there%20are%20restrictions%20on%20what%20and%20where%20we%20can%20gather%20data%20using%20the%20DiagnosticLog%20CSP.%20We%20cannot%20collect%20information%20from%20user%20data%20folders%2C%20nor%20non-diagnostic%20file%20types%2C%20like%20photo%20or%20document%20file%20types.%20I%20highly%20encourage%20you%20to%20review%20the%20DiagnosticLog%20CSP%20documentation%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fwindows%2Fclient-management%2Fmdm%2Fdiagnosticlog-csp%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehere%3C%2FA%3E%20for%20all%20the%20details.%26nbsp%3BMicrosoft%20doesn't%20have%20access%20to%20these%20logs.%20The%20logs%20are%20encrypted%20at%20rest%20after%20uploading%20them.%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22TextRun%20SCXW460466%20BCX8%22%20data-contrast%3D%22auto%22%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW460466%20BCX8%22%3EHere%20is%20the%20standard%20diagnostics%20template%20Intune%20is%20collecting%20and%20what%20it%E2%80%99s%20useful%20for%3A%3CBR%20%2F%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%3CSPAN%20class%3D%22TextRun%20SCXW460466%20BCX8%22%20data-contrast%3D%22auto%22%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW460466%20BCX8%22%3EWindows%2010%20Desktop%20OS%3A%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3COL%3E%0A%3CLI%3EHKLM%5CSoftware%5CMicrosoft%5CIntuneManagementExtension%3CUL%3E%0A%3CLI%3EThis%20registry%20key%20contains%20specific%20information%20about%20the%20Intune%20Management%20Extension.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FLI%3E%0A%3CLI%3EHKLM%5CSOFTWARE%5CMicrosoft%5CSystemCertificates%5CAuthRoot%3CUL%3E%0A%3CLI%3EThis%20registry%20key%20contains%20info%20about%20certificates%20installed%20on%20your%20machine.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FLI%3E%0A%3CLI%3EHKLM%5CSOFTWARE%5CMicrosoft%5CWindows%20Advanced%20Threat%20Protection%3CUL%3E%0A%3CLI%3EThis%20registry%20key%20contains%20detailed%20info%20on%20your%20Microsoft%20Defender%20ATP%20configuration.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FLI%3E%0A%3CLI%3EHKLM%5CSOFTWARE%5CMicrosoft%5CWindows%5CCurrentVersion%5CAuthentication%5CLogonUI%3CUL%3E%0A%3CLI%3EThis%20registry%20key%20contains%20the%20last%20logged%20on%20user%3CSPAN%3E.%3C%2FSPAN%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FLI%3E%0A%3CLI%3EHKLM%5CSOFTWARE%5CMicrosoft%5CWindows%5CCurrentVersion%5CInternet%20Settings%3CUL%3E%0A%3CLI%3EThis%20registry%20key%20contains%20info%20on%20your%20Internet%20configuration.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FLI%3E%0A%3CLI%3EHKLM%5CSoftware%5CMicrosoft%5CWindows%5CCurrentVersion%5CUninstall%3CUL%3E%0A%3CLI%3EThis%20registry%20key%20contains%20the%2032-bit%20applications%20that%20are%20installed%20on%20the%20machine.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FLI%3E%0A%3CLI%3EHKLM%5CSoftware%5CPolicies%3CUL%3E%0A%3CLI%3EThis%20registry%20key%20contains%20information%20on%20the%20policies%20configured%20on%20the%20machine.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FLI%3E%0A%3CLI%3EHKLM%5CSOFTWARE%5CPolicies%5CMicrosoft%5CCryptography%5CConfiguration%5CSSL%3CUL%3E%0A%3CLI%3EThis%20registry%20key%20contains%20more%20information%20on%20certificates.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FLI%3E%0A%3CLI%3EHKLM%5CSOFTWARE%5CPolicies%5CMicrosoft%5CWindows%20Advanced%20Threat%20Protection%3CUL%3E%0A%3CLI%3EThis%20registry%20key%20contains%20policy%20information%20related%20to%20Microsoft%20Defender%20ATP.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FLI%3E%0A%3CLI%3EHKLM%5CSOFTWARE%5CWOW6432Node%5CMicrosoft%5CWindows%5CCurrentVersion%5CUninstall%3CUL%3E%0A%3CLI%3EThis%20registry%20key%20contains%20the%2064-bit%20applications%20that%20are%20installed%20on%20the%20machine.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FLI%3E%0A%3CLI%3EHKLM%5CSYSTEM%5CCurrentControlSet%5CControl%5CSecurityProviders%5CSCHANNEL%3CUL%3E%0A%3CLI%3EThis%20registry%20key%20contains%20information%20on%20the%20TLS%20configuration%20on%20the%20machine.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ECommands%3A%3C%2FP%3E%0A%3COL%20start%3D%2212%22%3E%0A%3CLI%3E%25programfiles%25%5Cwindows%20defender%5Cmpcmdrun.exe%20-GetFiles%3CUL%3E%0A%3CLI%3EThe%20command%20captures%20support%20data%20for%20troubleshooting%20ATP%20issues.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FLI%3E%0A%3CLI%3E%25windir%25%5Csystem32%5Ccertutil.exe%20-store%3CUL%3E%0A%3CLI%3EThis%20command%20outputs%20the%20certificates%20installed%20on%20the%20machine%E2%80%99s%20store.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FLI%3E%0A%3CLI%3E%25windir%25%5Csystem32%5Ccertutil.exe%20-store%20-user%20my%3CUL%3E%0A%3CLI%3EThis%20command%20outputs%20the%20certificates%20installed%20on%20the%20machine%E2%80%99s%20user%20store.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FLI%3E%0A%3CLI%3E%25windir%25%5Csystem32%5CDsregcmd.exe%20%2Fstatus%3CUL%3E%0A%3CLI%3EThis%20command%20outputs%20Azure%20AD%20information%20for%20the%20machine.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FLI%3E%0A%3CLI%3E%25windir%25%5Csystem32%5Cipconfig.exe%20%2Fall%3CUL%3E%0A%3CLI%3EThis%20command%20outputs%20the%20IP%20address%20information%20for%20the%20machine.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FLI%3E%0A%3CLI%3E%25windir%25%5Csystem32%5Cmdmdiagnosticstool.exe%20-area%20Autopilot%3Bdeviceprovisioning%3Bdeviceenrollment%3Btpm%3BHololensFallbackDeviceOwner%20-cab%20%25temp%25%5CMDMDiagnostics%5Cmdmlogs-%3CDATE%3E.cab%3CUL%3E%0A%3CLI%3EThis%20command%20captures%20MDM%20diagnostics%20for%20the%20machine.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FDATE%3E%3C%2FLI%3E%0A%3CLI%3E%25windir%25%5Csystem32%5Cmsinfo32.exe%20%2Freport%20%25temp%25%5CMDMDiagnostics%5Cmsinfo32.log%3CUL%3E%0A%3CLI%3EThis%20command%20outputs%20the%20hardware%2C%20software%20and%20driver%20details%20for%20the%20machine.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FLI%3E%0A%3CLI%3E%25windir%25%5Csystem32%5Cnetsh.exe%20advfirewall%20show%20allprofiles%3CUL%3E%0A%3CLI%3EThis%20command%20outputs%20the%20firewall%20configuration%20for%20all%20profiles.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FLI%3E%0A%3CLI%3E%25windir%25%5Csystem32%5Cnetsh.exe%20advfirewall%20show%20global%3CUL%3E%0A%3CLI%3EThis%20command%20outputs%20the%20global%20firewall%20configuration.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FLI%3E%0A%3CLI%3E%25windir%25%5Csystem32%5Cnetsh.exe%20lan%20show%20profiles%3CUL%3E%0A%3CLI%3EThis%20command%20outputs%20the%20configuration%20of%20the%20LAN%20Adapter(s).%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FLI%3E%0A%3CLI%3E%25windir%25%5Csystem32%5Cnetsh.exe%20winhttp%20show%20proxy%3CUL%3E%0A%3CLI%3EThis%20command%20outputs%20network%20proxy%20configuration.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FLI%3E%0A%3CLI%3E%25windir%25%5Csystem32%5Cnetsh.exe%20wlan%20show%20profiles%3CUL%3E%0A%3CLI%3EThis%20command%20outputs%20the%20proxy%20configuration%20of%20the%20Wireless%20LAN%20Adapters(s).%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FLI%3E%0A%3CLI%3E%25windir%25%5Csystem32%5Cnetsh.exe%20wlan%20show%20wlanreport%3CUL%3E%0A%3CLI%3EThis%20command%20outputs%20the%20status%20of%20the%20Wireless%20LAN.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FLI%3E%0A%3CLI%3E%25windir%25%5Csystem32%5Cping.exe%20-n%2050%20localhost%3CUL%3E%0A%3CLI%3EThis%20command%20runs%20a%20test%20of%20the%20local%20network%20host.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FLI%3E%0A%3CLI%3E%25windir%25%5Csystem32%5Cpowercfg.exe%20%2Fbatteryreport%20%2Foutput%20%25temp%25%5CMDMDiagnostics%5Cbattery-report.html%3CUL%3E%0A%3CLI%3EThis%20command%20generates%20a%20detailed%20report%20about%20day-to-day%20battery%20usage%3CSPAN%3E.%3C%2FSPAN%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FLI%3E%0A%3CLI%3E%25windir%25%5Csystem32%5Cpowercfg.exe%20%2Fenergy%20%2Foutput%20%25temp%25%5CMDMDiagnostics%5Cenergy-report.html%3CUL%3E%0A%3CLI%3EThis%20command%20generates%20a%20Battery%20Report%2C%20useful%20for%20troubleshooting%20laptop%20battery%2Fpower%20issues.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EEvent%20Viewers%3A%20We%20are%20capturing%20the%20common%20event%20viewers%20for%20troubleshooting%20issues%2C%20including%20Application%2C%20System%20and%20Setup.%20In%20addition%2C%20we%20are%20capturing%20the%20AppLocker%20event%20viewers%20to%20assist%20in%20debugging%20AppLocker%20issues%20and%20the%20SENSE%20event%20viewers%20to%20help%20debugging%20issues%20with%20anti-virus%2Fmalware.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3COL%20start%3D%2228%22%3E%0A%3CLI%3EApplication%3C%2FLI%3E%0A%3CLI%3EMicrosoft-Windows-AppLocker%2FEXE%20and%20DLL%3C%2FLI%3E%0A%3CLI%3EMicrosoft-Windows-AppLocker%2FMSI%20and%20Script%3C%2FLI%3E%0A%3CLI%3EMicrosoft-Windows-AppLocker%2FPackaged%20app-Deployment%3C%2FLI%3E%0A%3CLI%3EMicrosoft-Windows-AppLocker%2FPackaged%20app-Execution%3C%2FLI%3E%0A%3CLI%3EMicrosoft-Windows-Bitlocker%2FBitlocker%20Management%3C%2FLI%3E%0A%3CLI%3EMicrosoft-Windows-SENSE%2FOperational%3C%2FLI%3E%0A%3CLI%3EMicrosoft-Windows-SenseIR%2FOperational%3C%2FLI%3E%0A%3CLI%3ESetup%3C%2FLI%3E%0A%3CLI%3ESystem%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EFiles%3A%20These%20commands%20collect%20the%20files%20generated%20during%20the%20log%20collection%20and%20files%20on%20the%20machine%20used%20for%20debugging%20issues.%20We%20are%20capturing%20all%20the%20data%20mentioned%20earlier%20along%20with%20Configuration%20Manager%20setup%20and%20client%20logs%2C%20CBS%20logs%20for%20issues%20and%20measured%20boot%20ETL%E2%80%99s%20to%20assist%20in%20machine%20security%20issues.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3COL%20start%3D%2238%22%3E%0A%3CLI%3E%25ProgramData%25%5CMicrosoft%5CDiagnosticLogCSP%5CCollectors%5C*.etl%3C%2FLI%3E%0A%3CLI%3E%25ProgramData%25%5CMicrosoft%5CIntuneManagementExtension%5CLogs%5C*.*%3C%2FLI%3E%0A%3CLI%3E%25ProgramData%25%5CMicrosoft%5CWindows%20Defender%5CSupport%5CMpSupportFiles.cab%3C%2FLI%3E%0A%3CLI%3E%25ProgramData%25%5CMicrosoft%5CWindows%5CWlanReport%5Cwlan-report-latest.html%3C%2FLI%3E%0A%3CLI%3E%25temp%25%5CMDMDiagnostics%5Cbattery-report.html%3C%2FLI%3E%0A%3CLI%3E%25temp%25%5CMDMDiagnostics%5Cenergy-report.html%3C%2FLI%3E%0A%3CLI%3E%25temp%25%5CMDMDiagnostics%5Cmdmlogs-%3CDATE%3E.cab%3C%2FDATE%3E%3C%2FLI%3E%0A%3CLI%3E%25temp%25%5CMDMDiagnostics%5Cmsinfo32.log%3C%2FLI%3E%0A%3CLI%3E%25windir%25%5Cccm%5Clogs%5C*.log%3C%2FLI%3E%0A%3CLI%3E%25windir%25%5Cccmsetup%5Clogs%5C*.log%3C%2FLI%3E%0A%3CLI%3E%25windir%25%5Clogs%5CCBS%5Ccbs.log%3C%2FLI%3E%0A%3CLI%3E%25windir%25%5Clogs%5Cmeasuredboot%5C*.*%3C%2FLI%3E%0A%3CLI%3E%25windir%25%5CLogs%5CWindowsUpdate%5C*.etl%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3EHoloLens%202%3A%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ECommands%3A%3C%2FP%3E%0A%3COL%3E%0A%3CLI%3E%25windir%25%5Csystem32%5Cmdmdiagnosticstool.exe%20-area%20Autopilot%3Bdeviceprovisioning%3Bdeviceenrollment%3Btpm%3BHololensFallbackDeviceOwner%20-zip%20%25programdata%25%5CMDMDiagnostics%5Cmdmlogs-DATE%2FTIME.zip%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EFolders%2FFiles%3A%3C%2FP%3E%0A%3COL%3E%0A%3CLI%3E%3CP%3E%25programdata%25%5CMDMDiagnostics%5Cmdmlogs-%3CDATE%3E.zip%3C%2FDATE%3E%3C%2FP%3E%0A%3C%2FLI%3E%0A%3CLI%3E%3CP%3E%25ProgramData%25%5CMicrosoft%5CDiagnosticLogCSP%5CCollectors%5C*.etl%3C%2FP%3E%0A%3C%2FLI%3E%0A%3CLI%3E%3CP%3E%25windir%25%5Clogs%5Cmeasuredboot%5C*.*%3C%2FP%3E%0A%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EFor%20the%20public%20preview%20we%20have%20created%20a%20PowerShell%20script%20that%20will%20take%20the%20downloaded%20zip%20file%20and%20convert%20it%20into%20a%20simplified%20folder%20file%20with%20updated%20file%20names%20to%20describe%20each%20one%20and%20removing%20all%20the%20folders.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ETo%20use%20the%20PowerShell%20script%2C%20simply%20open%20a%20PowerShell%20prompt%2C%20and%20use%20the%20name%20of%20the%20download%20file%20as%20the%20input%20for%20the%20script.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EExample%3A%20Devicediagnostics.ps1%20Download.zip%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EDevice%20diagnostics%20PowerShell%20Script%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-powershell%22%3E%3CCODE%3Eparam(%24DiagnosticArchiveZipPath)%20%0A%20%0A%23region%20Formatting%20Choices%20%0A%24flatFileNameTemplate%20%3D%20'(%7B0%3AD2%7D)%20%7B1%7D%20%7B2%7D'%20%0A%24maxLengthForInputTextPassedToOutput%20%3D%2080%20%0A%23endregion%20%0A%20%0A%23region%20Create%20Output%20Folders%20and%20Expand%20Zip%20%0A%24diagnosticArchiveTempUnzippedPath%20%3D%20%24DiagnosticArchiveZipPath%20%2B%20%22_expanded%22%20%0Aif(-not%20(Test-Path%20%24diagnosticArchiveTempUnzippedPath))%7Bmkdir%20%24diagnosticArchiveTempUnzippedPath%7D%20%0A%24reformattedArchivePath%20%3D%20%24DiagnosticArchiveZipPath%20%2B%20%22_formatted%22%20%0Aif(-not%20(Test-Path%20%24reformattedArchivePath))%7Bmkdir%20%24reformattedArchivePath%7D%20%0AExpand-Archive%20-Path%20%24DiagnosticArchiveZipPath%20-DestinationPath%20%24diagnosticArchiveTempUnzippedPath%20%0A%23endregion%20%0A%20%0A%23region%20Discover%20and%20Move%2Frename%20Files%20%0A%24resultElements%20%3D%20(%5Bxml%5D(Get-Content%20-Path%20(Join-Path%20-Path%20%24diagnosticArchiveTempUnzippedPath%20-ChildPath%20%22results.xml%22))).Collection.ChildNodes%20%7C%20Foreach-Object%7B%20%24_%20%7D%20%0A%24n%20%3D%201%20%0A%20%0A%23%20only%20process%20supported%20directives%20%0A%24supportedDirectives%20%3D%20%40('Command'%2C%20'Events'%2C%20'FoldersFiles'%2C%20'RegistryKey')%20%0Aforeach(%20%24element%20in%20%24resultElements)%20%7B%20%0A%20%20%23%20only%20process%20supported%20directives%2C%20skip%20unsupported%20ones%20%0A%20%20if(!%24supportedDirectives.Contains(%24element.Name))%20%7B%20continue%20%7D%20%0A%20%0A%20%20%24directiveNumber%20%3D%20%24n%20%0A%20%20%24n%2B%2B%20%0A%20%20%24directiveType%20%3D%20%24element.Name%20%0A%20%20%24directiveStatus%20%3D%20%5Bint%5D%24element.Attributes.ItemOf('HRESULT').psbase.Value%20%0A%20%20%24directiveUserInputRaw%20%3D%20%24element.InnerText%20%0A%20%0A%20%20%23%20trim%20the%20path%20to%20only%20include%20the%20actual%20command%20-%20not%20the%20full%20path%20%0A%20%20if%20(%24element.Name%20-eq%20'Command')%20%7B%20%0A%20%20%20%20%24lastIndexOfSlash%20%3D%20%24directiveUserInputRaw.LastIndexOf('%5C')%3B%20%0A%20%20%20%20%24directiveUserInputRaw%20%3D%20%24directiveUserInputRaw.substring(%24lastIndexOfSlash%2B1)%3B%20%0A%20%20%7D%20%0A%20%0A%20%20%24directiveUserInputFileNameCompatible%20%3D%20%24directiveUserInputRaw%20-replace%20'%5B%5C%5C%7C%2F%5C%5B%5C%5D%26lt%3B%26gt%3B%5C%3A%22%5C%3F%5C*%25%5C.%5Cs%5D'%2C'_'%20%0A%20%20%24directiveUserInputTrimmed%20%3D%20%24directiveUserInputFileNameCompatible.substring(0%2C%20%5BSystem.Math%5D%3A%3AMin(%24maxLengthForInputTextPassedToOutput%2C%20%24directiveUserInputFileNameCompatible.Length))%20%0A%20%20%24directiveSummaryString%20%3D%20%24flatFileNameTemplate%20-f%20%24directiveNumber%2C%24directiveType%2C%24directiveUserInputTrimmed%20%0A%20%20%24directiveOutputFolder%20%3D%20Join-Path%20-Path%20%24diagnosticArchiveTempUnzippedPath%20-ChildPath%20%24directiveNumber%20%0A%20%20%24directiveOutputFiles%20%3D%20Get-ChildItem%20-Path%20%24directiveOutputFolder%20-File%20%0A%20%20foreach(%20%24file%20in%20%24directiveOutputFiles)%20%7B%20%0A%20%20%20%20%24leafSummaryString%20%3D%20%24directiveSummaryString%2C%24file.Name%20-join%20'%20'%20%0A%20%20%20%20Copy-Item%20%24file.FullName%20-Destination%20(Join-Path%20-Path%20%24reformattedArchivePath%20-ChildPath%20%24leafSummaryString)%20%0A%20%20%7D%20%0A%7D%20%0A%23endregion%20%20%0ARemove-Item%20-Path%20%24diagnosticArchiveTempUnzippedPath%20-Force%20-Recurse%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EStandard%20Zip%20versus%20PowerShell%20converted%20folder%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22DeviceDiagnosticBlog6.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F260919iA6D5B5792782C43C%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22DeviceDiagnosticBlog6.png%22%20alt%3D%22Comparison%20of%20Standard%20Zip%20vs.%20PowerShell%20converted%20folder%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EComparison%20of%20Standard%20Zip%20vs.%20PowerShell%20converted%20folder%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3ELastly%2C%20if%20your%20organization%20does%20not%20want%20to%20utilize%20device%20diagnostics%20and%20wants%20to%20prevent%20IT%20admins%20from%20collecting%20diagnostics%2C%20the%20feature%20can%20be%20completely%20disabled%20in%20the%20Tenant%20Administration%20workload%20in%20the%20Microsoft%20Endpoint%20Manager%20admin%20center.%20Navigate%20to%20Tenant%20Admin%20%26gt%3B%20Device%20diagnostics%20(Preview)%20and%20disable%20the%20feature.%20Only%20a%20global%20administrator%20or%20Intune%20administrator%20can%20make%20this%20change.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22DeviceDiagnosticBlog7.png%22%20style%3D%22width%3A%20800px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F260276iADE8AD5A963ACB2F%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22DeviceDiagnosticBlog7.png%22%20alt%3D%22Screenshot%20of%20the%20Device%20diagnostics%20(Preview)%20feature%20in%20the%20MEM%20admin%20center%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EScreenshot%20of%20the%20Device%20diagnostics%20(Preview)%20feature%20in%20the%20MEM%20admin%20center%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EFrequently%20asked%20questions%20and%20known%20issues%20(FAQ)%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CSTRONG%3EUnzipping%20diagnostics%20with%207Zip%20returns%20empty%20folders%3C%2FSTRONG%3E%20%E2%80%93%20This%20is%20a%20known%20issue%20with%20compressed%20files%20created%20by%20Windows%20and%207Zip.%20We%20recommend%20using%20a%20different%20tool%20to%20unzip%20the%20files.%3C%2FLI%3E%0A%3CLI%3E%3CSTRONG%3EIf%20uploading%20diagnostics%20to%20Intune%20takes%20more%20than%2030%20seconds%2C%20the%20diagnostic%20collection%20task%20will%20fail%3C%2FSTRONG%3E%26nbsp%3B%3CSPAN%20class%3D%22TextRun%20SCXW139161038%20BCX8%22%20data-contrast%3D%22auto%22%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW139161038%20BCX8%22%3E%E2%80%93%20This%20is%20a%20known%20issue%20with%20the%20DiagnosticLog%20CSP%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW139161038%20BCX8%22%3Ethat%20has%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW139161038%20BCX8%22%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Ebeen%20fixed%20in%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3CA%20class%3D%22Hyperlink%20SCXW139161038%20BCX8%22%20href%3D%22https%3A%2F%2Fsupport.microsoft.com%2Ftopic%2Ffebruary-9-2021-kb4601315-os-build-18363-1377-bdd71d2f-6729-e22a-3150-64324e4ab954%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3E%3CSPAN%20class%3D%22TextRun%20Underlined%20SCXW139161038%20BCX8%22%20data-contrast%3D%22none%22%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW139161038%20BCX8%22%20data-ccp-charstyle%3D%22Hyperlink%22%3EKB4601315%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FA%3E%3CSPAN%20class%3D%22TextRun%20SCXW139161038%20BCX8%22%20data-contrast%3D%22auto%22%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW139161038%20BCX8%22%20data-ccp-charstyle%3D%22Hyperlink%22%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Eand%26nbsp%3B%3C%2FSPAN%3E%3C%2FSPAN%3E%3CA%20class%3D%22Hyperlink%20SCXW139161038%20BCX8%22%20href%3D%22https%3A%2F%2Fsupport.microsoft.com%2Ftopic%2Ffebruary-9-2021-kb4601319-os-builds-19041-804-and-19042-804-87fc8417-4a81-0ebb-5baa-40cfab2fbfde%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3E%3CSPAN%20class%3D%22TrackChangeTextInsertion%20TrackedChange%20SCXW139161038%20BCX8%22%3E%3CSPAN%20class%3D%22FieldRange%20SCXW139161038%20BCX8%22%3E%3CSPAN%20class%3D%22TextRun%20Underlined%20SCXW139161038%20BCX8%22%20data-contrast%3D%22none%22%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW139161038%20BCX8%22%20data-ccp-charstyle%3D%22Hyperlink%22%3EKB4601319%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FA%3E%3CSPAN%20class%3D%22TextRun%20SCXW139161038%20BCX8%22%20data-contrast%3D%22auto%22%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW139161038%20BCX8%22%3E%2C%20which%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW139161038%20BCX8%22%3Ew%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW139161038%20BCX8%22%3Eere%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW139161038%20BCX8%22%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW139161038%20BCX8%22%3Ereleased%20on%20February%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW139161038%20BCX8%22%3E2%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22TextRun%20SCXW139161038%20BCX8%22%20data-contrast%3D%22auto%22%3E%3CSPAN%20class%3D%22NormalTextRun%20Superscript%20SCXW139161038%20BCX8%22%20data-fontsize%3D%2211%22%3Eth%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22TextRun%20SCXW139161038%20BCX8%22%20data-contrast%3D%22auto%22%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW139161038%20BCX8%22%3E%2C%202021%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW139161038%20BCX8%22%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Evia%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW139161038%20BCX8%22%3EWindows%20Update%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW139161038%20BCX8%22%3E.%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW139161038%20BCX8%22%3EPlease%20ensure%20your%20machines%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW139161038%20BCX8%22%3Ehave%20been%20updated%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW139161038%20BCX8%22%3E.%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%3E%3CSPAN%20class%3D%22TextRun%20SCXW139161038%20BCX8%22%20data-contrast%3D%22auto%22%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW139161038%20BCX8%22%3E%3CSPAN%20class%3D%22TextRun%20SCXW63076680%20BCX8%22%20data-contrast%3D%22auto%22%3E%3CSTRONG%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW63076680%20BCX8%22%3EDevice%20diagnostics%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW63076680%20BCX8%22%3E%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW63076680%20BCX8%22%3Ehas%20been%20pending%20for%20a%20while%2C%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW63076680%20BCX8%22%3Ewhat%20should%20I%20do%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW63076680%20BCX8%22%3E%3F%3C%2FSPAN%3E%3C%2FSTRONG%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW63076680%20BCX8%22%3E%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW63076680%20BCX8%22%3E%E2%80%93%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22TextRun%20SCXW63076680%20BCX8%22%20data-contrast%3D%22auto%22%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW63076680%20BCX8%22%3EBest%20practice%20is%20to%20ensure%20the%20device%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW63076680%20BCX8%22%3Ecan%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW63076680%20BCX8%22%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Ecommunicate%20with%20the%20service%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW63076680%20BCX8%22%3E.%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW63076680%20BCX8%22%3EForcing%20a%20device%20check-in%20will%20ensure%20the%20device%20is%20able%20to%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW63076680%20BCX8%22%3Ereach%20the%20Intune%20service.%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW63076680%20BCX8%22%3E%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW63076680%20BCX8%22%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW63076680%20BCX8%22%3EIf%20the%20device%20can%20reach%20the%20service%2C%20retry%20the%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW63076680%20BCX8%22%3Ediagnostics%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW63076680%20BCX8%22%3Eaction.%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%3E%3CSPAN%20class%3D%22TextRun%20SCXW139161038%20BCX8%22%20data-contrast%3D%22auto%22%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW139161038%20BCX8%22%3E%3CSPAN%20class%3D%22TextRun%20SCXW63076680%20BCX8%22%20data-contrast%3D%22auto%22%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW63076680%20BCX8%22%3E%3CSPAN%20class%3D%22TextRun%20SCXW102902296%20BCX8%22%20data-contrast%3D%22auto%22%3E%3CSTRONG%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW102902296%20BCX8%22%3EHow%20long%20are%20the%20diagnostics%20available%3C%2FSPAN%3E%3C%2FSTRONG%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW102902296%20BCX8%22%3E%3CSTRONG%3E%3F%3C%2FSTRONG%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW102902296%20BCX8%22%3E%E2%80%93%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22TextRun%20SCXW102902296%20BCX8%22%20data-contrast%3D%22auto%22%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW102902296%20BCX8%22%3EDiagnostics%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW102902296%20BCX8%22%3Eare%20available%20for%20download%20for%2028%20days%20and%20then%20automatically%20deleted%20per%20data%20retention%20requirements.%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%3E%3CSPAN%20class%3D%22TextRun%20SCXW139161038%20BCX8%22%20data-contrast%3D%22auto%22%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW139161038%20BCX8%22%3E%3CSPAN%20class%3D%22TextRun%20SCXW63076680%20BCX8%22%20data-contrast%3D%22auto%22%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW63076680%20BCX8%22%3E%3CSPAN%20class%3D%22TextRun%20SCXW102902296%20BCX8%22%20data-contrast%3D%22auto%22%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW102902296%20BCX8%22%3E%3CSPAN%20class%3D%22TextRun%20SCXW22150501%20BCX8%22%20data-contrast%3D%22auto%22%3E%3CSTRONG%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW22150501%20BCX8%22%3EHow%20many%20diagnostics%20can%20I%20run%20on%20a%20device%3C%2FSPAN%3E%3C%2FSTRONG%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW22150501%20BCX8%22%3E%3CSTRONG%3E%3F%3C%2FSTRONG%3E%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW22150501%20BCX8%22%3E%E2%80%93%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW22150501%20BCX8%22%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22TextRun%20SCXW22150501%20BCX8%22%20data-contrast%3D%22auto%22%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW22150501%20BCX8%22%3EEach%20device%20may%20have%20up%20to%2010%20diagnostics.%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW22150501%20BCX8%22%3EAfter%2010%2C%20the%20oldest%20set%20of%20diagnostics%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW22150501%20BCX8%22%3Eis%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW22150501%20BCX8%22%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Eremoved%20and%20replaced.%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%3E%3CSPAN%20class%3D%22TextRun%20SCXW139161038%20BCX8%22%20data-contrast%3D%22auto%22%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW139161038%20BCX8%22%3E%3CSPAN%20class%3D%22TextRun%20SCXW63076680%20BCX8%22%20data-contrast%3D%22auto%22%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW63076680%20BCX8%22%3E%3CSPAN%20class%3D%22TextRun%20SCXW102902296%20BCX8%22%20data-contrast%3D%22auto%22%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW102902296%20BCX8%22%3E%3CSPAN%20class%3D%22TextRun%20SCXW22150501%20BCX8%22%20data-contrast%3D%22auto%22%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW22150501%20BCX8%22%3E%3CSTRONG%3EWhat%E2%80%99s%20the%20maximum%20size%20of%20diagnostics%20I%20can%20collect%3F%3C%2FSTRONG%3E%20%E2%80%93%20250mb%20of%20compressed%20files%20currently.%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%3E%3CSTRONG%3EIs%20this%20feature%20going%20to%20cost%20me%20anything%3F%3C%2FSTRONG%3E%20%E2%80%93%20No%2C%20the%20feature%20is%20included%20with%20your%20M365%2C%20Intune%2C%20EMS%2C%20or%20otherwise%20qualifying%20subscription.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWe%20are%20excited%20to%20ship%20this%20feature%20and%20look%20forward%20to%20your%20feedback%20and%20comments.%20Let%20us%20know%20if%20you%20have%20any%20additional%20questions%20by%20replying%20to%20this%20post%20or%20reaching%20out%20to%20%3CA%20href%3D%22https%3A%2F%2Faka.ms%2FIntuneSuppTeam%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3E%40IntuneSuppTeam%3C%2FA%3E%20on%20Twitter.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-2179712%22%20slang%3D%22en-US%22%3E%3CP%3EWe're%20excited%20to%20announce%20a%26nbsp%3Bpublic%20preview%20of%20the%20Windows%2010%20Device%20diagnostics%20feature!%3C%2FP%3E%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2179712%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EDevice%20diagnostics%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EIntune%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMEM%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EPublic%20Preview%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EWindows%2010%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2195398%22%20slang%3D%22en-US%22%3ERe%3A%20Intune%20Public%20Preview%20-%20Windows%2010%20Device%20diagnostics%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2195398%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F226779%22%20target%3D%22_blank%22%3E%40Intune%20Support%20Team%3C%2FA%3E%26nbsp%3BNice%20work%2C%20really%20useful%20feature!%3C%2FP%3E%3CP%3EAny%20plans%20to%20make%20this%20extensible%20and%20allow%20for%20a%20way%20to%20have%20a%20custom%20collection%20ruleset%20(within%20the%20confines%20of%20what%20the%20CSP%20allows%20obviously)%20that%20could%20be%20invoked%20either%20locally%20or%20through%20the%20Graph%3F%20The%20main%20point%20would%20be%20to%20use%20all%20the%20existing%20plumbing%20and%20have%20the%20collected%20files%20automatically%20uploaded%20into%20the%20same%20place%20in%20Intune%20that%20this%20new%20feature%20uses.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2197950%22%20slang%3D%22en-US%22%3ERe%3A%20Intune%20Public%20Preview%20-%20Windows%2010%20Device%20diagnostics%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2197950%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F222891%22%20target%3D%22_blank%22%3E%40Jan%20Gutjahr%3C%2FA%3E%2C%20thanks%20for%20the%20feedback!%26nbsp%3BRight%20now%20it's%20not%20available%20execute%20device%20diagnostics%20via%20Graph%2C%20but%20we'll%20look%20at%20that%20functionality%20in%20the%20future!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2228469%22%20slang%3D%22en-US%22%3ERe%3A%20Intune%20Public%20Preview%20-%20Windows%2010%20Device%20diagnostics%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2228469%22%20slang%3D%22en-US%22%3E%3CP%3E%2B1%20what%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F222891%22%20target%3D%22_blank%22%3E%40Jan%20Gutjahr%3C%2FA%3E%26nbsp%3Bmentioned%3B%20a%20simple%20example%20would%20be%20CCM%20logs%2C%20which%20may%20be%20in%20a%20custom%20location%20and%20thus%20not%20currently%20collected.%20Otherwise%2C%20love%20this%20feature!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2275373%22%20slang%3D%22en-US%22%3ERe%3A%20Intune%20Public%20Preview%20-%20Windows%2010%20Device%20diagnostics%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2275373%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSPAN%3E17.%20%25windir%25%5Csystem32%5Cmdmdiagnosticstool.exe%20-area%20Autopilot%3Bdeviceprovisioning%3Bdeviceenrollment%3Btpm%3BHololensFallbackDeviceOwner%20-cab%20%25temp%25%5CMDMDiagnostics%5Cmdmlogs-%3CDATE%3E.cab%3CBR%20%2F%3E%3CBR%20%2F%3ESo%20it%20just%20generates%20.cab%20in%20%25temp%25%20(c%3A%5Cwindows%5Ctemp)%20and%20doesn't%20upload%20it%20to%20MEM%3F%26nbsp%3B%3C%2FDATE%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2279972%22%20slang%3D%22en-US%22%3ERe%3A%20Intune%20Public%20Preview%20-%20Windows%2010%20Device%20diagnostics%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2279972%22%20slang%3D%22en-US%22%3E%3CP%3EI've%20noticed%20that%20since%20we%20activated%20this%20in%20our%20tenant%20that%20the%20diagnostics%20data%20settings%20are%20managed%20and%20cannot%20be%20changed%20by%20the%20user%3A%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22bthomas_0-1619005224532.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F274233iEE8F3F266A65613F%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22bthomas_0-1619005224532.png%22%20alt%3D%22bthomas_0-1619005224532.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EIs%20this%20expected%20behavior%20because%20this%20has%20impact%20in%20devices%20that%20want%20to%20register%20for%20Windows%20Insider%20builds%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2322969%22%20slang%3D%22en-US%22%3ERe%3A%20Intune%20Public%20Preview%20-%20Windows%2010%20Device%20diagnostics%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2322969%22%20slang%3D%22en-US%22%3E%3CP%3EAre%20there%20any%20plans%20to%20create%20a%20tool%20to%20read%20the%20output%3F%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Version history
Last update:
‎Mar 04 2021 10:52 AM
Updated by: