This article covers various ways to retrieve and review MDM logs for your JumpCloud Windows device.
Creating an MDM Diagnostics Log Report
- On your managed Windows device, go to Settings > Accounts > Access work or school.
- Select your Managed by JumpCloud account you want to review, then click Info.

- To create an advanced diagnostic report, click Create report. A dialog box displays the destined file path for the exported log files.
- Click Export.
- Review the exported report in the saved file path location.
Retrieving MDM Logs Using Commands
Run a command in the JumpCloud Admin Portal to manually retrieve MDM diagnostic logs.Â
- Log in to the JumpCloud Admin Portal.
If your data is stored outside of the US, check which login URL you should be using depending on your region, see JumpCloud Data Centers to learn more.
- Go to Device Management > Commands.
- To add a new command, click the plus button (+ Command) and then click Command. The New Command window displays.
- In the Command Name field, enter a name for the command.Â
- Under Type, click Windows and select Windows PowerShell.
- In the Command* field, enter this command:
"mdmdiagnosticstool.exe -area
"DeviceEnrollment;DeviceProvisioning" -zip
"c:\users\public\documents\MDMDiagReport.zip"
- Complete additional fields as needed.
- Click Save.
- Run the command.
Reviewing MDM Logs in Windows Event Viewer
The Event Viewer is a tool that shows detailed information about significant events on a Windows device. To view MDM logs from the Event Viewer:
- On your managed Windows device, open the Event Viewer.
- Go to Applications and Services Logs.
- In the file directory, go to Microsoft > Windows > DeviceManagement-Enterprise-Diagnostic-Provider > Admin.
The Admin events channel logs events by default. If you need more detailed logs, right-click Admin and go to View > Show Analytic and Debug Logs.


