Intune - Collect Logs for Autopilot Windows Device

Ahmed Alshatawi 165 Reputation points
2025-02-17T21:59:01.8433333+00:00

Hello!
How can you view or collect logs for Autopilot devices both locally and from Intune? For example: Which configuration profiles, policies, update rings, etc., are assigned to the devices? Additionally, how can you check details such as the last reboot, installed apps, device provisioning status, and more? Furthermore, where are the PowerShell scripts and the Detection and Remediation scripts deployed from Intune stored?

Thank you!

Windows Autopilot
Windows Autopilot
A collection of Microsoft technologies used to set up and pre-configure new devices and to reset, repurpose, and recover devices.
502 questions
Microsoft Intune
Microsoft Intune
A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.
5,569 questions
{count} votes

1 answer

Sort by: Most helpful
  1. ZhoumingDuan-MSFT 16,045 Reputation points Microsoft Vendor
    2025-02-18T09:50:43.51+00:00

    @Ahmed Alshatawi, Thanks for posting in Q&A.

    For logs for Autopilot devices from Intune, you can view all policies assigned to the device in Thoubleshooting+support > Troubleshoot > Select one user in Intune portal.

    For logs for Autopilot devices from local, you can follow the link below using PowerShell to get all assigned Intune policies.

    Get all Intune policies assigned to the specified account using PowerShell

    Non-official, just for reference.

    To check last reboot time, you can try the command below.

    systeminfo | find "System Boot Time"

    To check Device Provisioning Status, please check Logs are at C:\ProgramData\Microsoft\Windows\ESP\Logs for post-provisioning review.

    To view the installed apps on client, you can view them in discovered apps under device overview in Intune portal.

    The PowerShell scripts and the Detection and Remediation scripts deployed from Intune stored in C:\Program Files (x86)\Microsoft Intune Management Extension\Content\Staging.

    Hope above information can help you.

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.