Thursday, February 18, 2021

HOW TO COLLECT AUTOPILOT LOGS FROM END USER DEVICE

Autopilot Logs Collection from End-User Device

##################################################
Open Command Prompt and run as Administrator

  1. mdmdiagnosticstool.exe -area Autopilot -cab C:\temp\AP.cab
  2. mdmdiagnosticstool.exe -area DeviceProvisioning -cab C:\temp\DP.cab

Open Powershell with Administrator

  1. Set-ExecutionPolicy bypass
  2. Install-Script -Name Get-AutopilotDiagnostics -Force
  3. Get-AutopilotDiagnostics
Note: Copy and paste results in Notepad. Save

wget https://aka.ms/intunexml -outfile Intune.xml
wget https://aka.ms/intuneps1 -outfile IntuneODCStandAlone.ps1
PowerShell -ExecutionPolicy Bypass -File .\IntuneODCStandAlone.ps1