Mar 12 2019 01:43 PM
When PCs encounter problems, a perennial challenge for IT is pulling detailed diagnostic logs from the device without relying on user instructions, scripts, etc.
For Windows 1903 we have enhanced the DiagnosticLog CSP so that MDM providers for Windows (e.g., Intune) can provide IT with diagnostic logs from the device as needed.
While the first class IT experience for this will come through a management provider such as Intune, savvy Insiders can try out this functionality today using Custom URI policy.
Want to try out this feature, plus other new ENS features? Visit http://aka.ms/olympiav2.
Following are the steps to deploy the new DiagnosticLog CSP using Intune:
Step 1 : Set up Storage Account
Fill out the form:
Resource group (Create new if needed)
Storage account name
Location
Leave rest of the things unchanged.
Step 2: Create Custom policy for Diagnostic logs
<Collection> <ID>new GUID value</ID> <SasUrl><![CDATA[Storage account URL Copied in Line Step 15]]></SasUrl> <RegistryKey>HKLM\Software\Microsoft</RegistryKey> <Command>%windir%\system32\mdmdiagnosticstool.exe -out %ProgramData%\temp\</Command> <FoldersFiles>%ProgramData%\temp\*.*</FoldersFiles> <FoldersFiles>%ProgramData%\Microsoft\DiagnosticLogCSP\Collectors\*.etl</FoldersFiles> <Command>c:\windows\system32\ipconfig.exe /all</Command> <Events>System</Events> </Collection>