{"id":113412,"date":"2024-07-29T13:57:42","date_gmt":"2024-07-29T17:57:42","guid":{"rendered":"https:\/\/jumpcloud.com\/?post_type=support&p=113412"},"modified":"2024-09-19T15:40:26","modified_gmt":"2024-09-19T19:40:26","slug":"windows-mdm-logs","status":"publish","type":"support","link":"https:\/\/jumpcloud.com\/support\/windows-mdm-logs","title":{"rendered":"Collect Logs for Windows MDM"},"content":{"rendered":"\n

There are various ways to retrieve and review MDM logs for your JumpCloud device.<\/p>\n\n\n\n

Create an MDM Diagnostics Log Report<\/h2>\n\n\n\n
    \n
  1. On your managed Windows device, go to Settings<\/strong> > Accounts<\/strong> > Access work or school<\/strong>.<\/li>\n\n\n\n
  2. Select your Managed by JumpCloud <\/strong>account you want to review, then click Info<\/strong>.\"\"<\/li>\n\n\n\n
  3. To create an advanced diagnostic report, click Create report<\/strong>. A dialog box displays the destined file path for the exported log files.<\/li>\n\n\n\n
  4. Click Export<\/strong>.
    \"\"<\/li>\n\n\n\n
  5. Review the exported report in the saved file path location. <\/li>\n<\/ol>\n\n\n\n

    Retrieve MDM Logs Using Commands<\/h2>\n\n\n\n

    Run a command in the JumpCloud Admin Console\/Portal to manually retrieve MDM diagnostic logs. <\/p>\n\n\n\n

      \n
    1. Log in to the JumpCloud Admin Portal<\/a>.<\/li>\n\n\n\n
    2. Go to Device Management <\/strong>> Commands<\/strong>.<\/li>\n\n\n\n
    3. To add a new command, click the plus button (+<\/strong>) and then click Command<\/strong>. The New Command<\/strong> window displays.<\/li>\n\n\n\n
    4. In the Name<\/strong> field, enter a name for the command.\u00a0<\/li>\n\n\n\n
    5. In the Type <\/strong>field, click Windows<\/strong> and select Windows Powershell<\/strong>.<\/li>\n\n\n\n
    6. In the Command* <\/strong>field, enter the command:
      mdmdiagnosticstool.exe -area<\/em>
      “DeviceEnrollment;DeviceProvisioning” -zip<\/em>
      “c:\\users\\public\\documents\\MDMDiagReport.zip<\/em>“<\/li>\n<\/ol>\n\n\n\n
        \n
      1. Complete additional fields as needed.\u00a0<\/li>\n\n\n\n
      2. Click Save<\/strong>.\u00a0<\/li>\n\n\n\n
      3. Run the command.<\/li>\n<\/ol>\n\n\n\n

        Review MDM Logs in Windows Event Viewer<\/h2>\n\n\n\n

        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:<\/p>\n\n\n\n

          \n
        1. Open the Event Viewer<\/strong>.<\/li>\n\n\n\n
        2. Go to Applications<\/strong>and Services Logs<\/strong>.<\/li>\n\n\n\n
        3. In the file directory, go to Microsoft<\/strong> > Windows<\/strong> > DeviceManagement-Enterprise-Diagnostic-Provider<\/strong> > Admin<\/strong>.\"\"<\/li>\n<\/ol>\n\n\n\n

          <\/p><\/div>

          Note:<\/strong> \n

          The Admin<\/strong> events channel logs events by default. If you need more detailed logs, right-click Admin<\/strong> and go to View <\/strong>> Show Analytic and Debug Logs<\/strong>.\"\"<\/p>\n <\/div><\/div><\/div><\/div>\n","protected":false},"excerpt":{"rendered":"

          There are various ways to retrieve and review MDM logs for your JumpCloud device. Create an MDM Diagnostics Log Report […]<\/p>\n","protected":false},"author":201,"featured_media":0,"template":"","meta":{"_acf_changed":false,"_oasis_is_in_workflow":0,"_oasis_original":0,"_oasis_task_priority":"","inline_featured_image":false,"footnotes":""},"support_category":[],"support_tag":[],"coauthors":[2835],"acf":[],"yoast_head":"\nCollect Logs for Windows MDM - JumpCloud<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/jumpcloud.com\/support\/windows-mdm-logs\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Collect Logs for Windows MDM\" \/>\n<meta property=\"og:description\" content=\"There are various ways to retrieve and review MDM logs for your JumpCloud device. Create an MDM Diagnostics Log Report […]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/jumpcloud.com\/support\/windows-mdm-logs\" \/>\n<meta property=\"og:site_name\" content=\"JumpCloud\" \/>\n<meta property=\"article:modified_time\" content=\"2024-09-19T19:40:26+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/jumpcloud.com\/wp-content\/uploads\/2024\/07\/create-mdm-report.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n\t<meta name=\"twitter:label2\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data2\" content=\"alexsnyder\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/jumpcloud.com\/support\/windows-mdm-logs\",\"url\":\"https:\/\/jumpcloud.com\/support\/windows-mdm-logs\",\"name\":\"Collect Logs for Windows MDM - JumpCloud\",\"isPartOf\":{\"@id\":\"https:\/\/jumpcloud.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/jumpcloud.com\/support\/windows-mdm-logs#primaryimage\"},\"image\":{\"@id\":\"https:\/\/jumpcloud.com\/support\/windows-mdm-logs#primaryimage\"},\"thumbnailUrl\":\"https:\/\/jumpcloud.com\/wp-content\/uploads\/2024\/07\/create-mdm-report.png\",\"datePublished\":\"2024-07-29T17:57:42+00:00\",\"dateModified\":\"2024-09-19T19:40:26+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/jumpcloud.com\/support\/windows-mdm-logs#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/jumpcloud.com\/support\/windows-mdm-logs\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/jumpcloud.com\/support\/windows-mdm-logs#primaryimage\",\"url\":\"https:\/\/jumpcloud.com\/wp-content\/uploads\/2024\/07\/create-mdm-report.png\",\"contentUrl\":\"https:\/\/jumpcloud.com\/wp-content\/uploads\/2024\/07\/create-mdm-report.png\",\"width\":1390,\"height\":550},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/jumpcloud.com\/support\/windows-mdm-logs#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/jumpcloud.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Support\",\"item\":\"https:\/\/jumpcloud.com\/support\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Collect Logs for Windows MDM\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/jumpcloud.com\/#website\",\"url\":\"https:\/\/jumpcloud.com\/\",\"name\":\"JumpCloud\",\"description\":\"Daily insights on directory services, IAM, LDAP, identity security, SSO, system management (Mac, Windows, Linux), networking, and the cloud.\",\"publisher\":{\"@id\":\"https:\/\/jumpcloud.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/jumpcloud.com\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/jumpcloud.com\/#organization\",\"name\":\"JumpCloud\",\"url\":\"https:\/\/jumpcloud.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/jumpcloud.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/jumpcloud.com\/wp-content\/uploads\/2021\/01\/jc-logo-brand-2021.png\",\"contentUrl\":\"https:\/\/jumpcloud.com\/wp-content\/uploads\/2021\/01\/jc-logo-brand-2021.png\",\"width\":598,\"height\":101,\"caption\":\"JumpCloud\"},\"image\":{\"@id\":\"https:\/\/jumpcloud.com\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Collect Logs for Windows MDM - JumpCloud","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/jumpcloud.com\/support\/windows-mdm-logs","og_locale":"en_US","og_type":"article","og_title":"Collect Logs for Windows MDM","og_description":"There are various ways to retrieve and review MDM logs for your JumpCloud device. Create an MDM Diagnostics Log Report […]","og_url":"https:\/\/jumpcloud.com\/support\/windows-mdm-logs","og_site_name":"JumpCloud","article_modified_time":"2024-09-19T19:40:26+00:00","og_image":[{"url":"https:\/\/jumpcloud.com\/wp-content\/uploads\/2024\/07\/create-mdm-report.png"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute","Written by":"alexsnyder"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/jumpcloud.com\/support\/windows-mdm-logs","url":"https:\/\/jumpcloud.com\/support\/windows-mdm-logs","name":"Collect Logs for Windows MDM - JumpCloud","isPartOf":{"@id":"https:\/\/jumpcloud.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/jumpcloud.com\/support\/windows-mdm-logs#primaryimage"},"image":{"@id":"https:\/\/jumpcloud.com\/support\/windows-mdm-logs#primaryimage"},"thumbnailUrl":"https:\/\/jumpcloud.com\/wp-content\/uploads\/2024\/07\/create-mdm-report.png","datePublished":"2024-07-29T17:57:42+00:00","dateModified":"2024-09-19T19:40:26+00:00","breadcrumb":{"@id":"https:\/\/jumpcloud.com\/support\/windows-mdm-logs#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/jumpcloud.com\/support\/windows-mdm-logs"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/jumpcloud.com\/support\/windows-mdm-logs#primaryimage","url":"https:\/\/jumpcloud.com\/wp-content\/uploads\/2024\/07\/create-mdm-report.png","contentUrl":"https:\/\/jumpcloud.com\/wp-content\/uploads\/2024\/07\/create-mdm-report.png","width":1390,"height":550},{"@type":"BreadcrumbList","@id":"https:\/\/jumpcloud.com\/support\/windows-mdm-logs#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/jumpcloud.com\/"},{"@type":"ListItem","position":2,"name":"Support","item":"https:\/\/jumpcloud.com\/support"},{"@type":"ListItem","position":3,"name":"Collect Logs for Windows MDM"}]},{"@type":"WebSite","@id":"https:\/\/jumpcloud.com\/#website","url":"https:\/\/jumpcloud.com\/","name":"JumpCloud","description":"Daily insights on directory services, IAM, LDAP, identity security, SSO, system management (Mac, Windows, Linux), networking, and the cloud.","publisher":{"@id":"https:\/\/jumpcloud.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/jumpcloud.com\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/jumpcloud.com\/#organization","name":"JumpCloud","url":"https:\/\/jumpcloud.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/jumpcloud.com\/#\/schema\/logo\/image\/","url":"https:\/\/jumpcloud.com\/wp-content\/uploads\/2021\/01\/jc-logo-brand-2021.png","contentUrl":"https:\/\/jumpcloud.com\/wp-content\/uploads\/2021\/01\/jc-logo-brand-2021.png","width":598,"height":101,"caption":"JumpCloud"},"image":{"@id":"https:\/\/jumpcloud.com\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/jumpcloud.com\/wp-json\/wp\/v2\/support\/113412"}],"collection":[{"href":"https:\/\/jumpcloud.com\/wp-json\/wp\/v2\/support"}],"about":[{"href":"https:\/\/jumpcloud.com\/wp-json\/wp\/v2\/types\/support"}],"author":[{"embeddable":true,"href":"https:\/\/jumpcloud.com\/wp-json\/wp\/v2\/users\/201"}],"version-history":[{"count":2,"href":"https:\/\/jumpcloud.com\/wp-json\/wp\/v2\/support\/113412\/revisions"}],"predecessor-version":[{"id":115675,"href":"https:\/\/jumpcloud.com\/wp-json\/wp\/v2\/support\/113412\/revisions\/115675"}],"wp:attachment":[{"href":"https:\/\/jumpcloud.com\/wp-json\/wp\/v2\/media?parent=113412"}],"wp:term":[{"taxonomy":"support_category","embeddable":true,"href":"https:\/\/jumpcloud.com\/wp-json\/wp\/v2\/support_category?post=113412"},{"taxonomy":"support_tag","embeddable":true,"href":"https:\/\/jumpcloud.com\/wp-json\/wp\/v2\/support_tag?post=113412"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/jumpcloud.com\/wp-json\/wp\/v2\/coauthors?post=113412"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}