Menu
CCMEXEC.COM – Enterprise Mobility
  • Home
  • General
  • Configuration Manager
  • Windows 10
  • Intune
  • GitHub
  • Windows 11
  • About the author
CCMEXEC.COM – Enterprise Mobility

Troubleshooting Intune Win32app deployments

Posted on August 30, 2019August 30, 2019 by Jörgen Nilsson

In Configuration Manager we always had log files for everything, extremely useful when troubleshooting. In Intune we have the event log and the MDMDiagnosticsTool which is our best friends.

Win32app and PowerShell Scripts deployed are installed using the Intune Management Extension and for that we do have log files where we can track/troubleshoot application deployment. The Management Extension is installed the first time the Computer needs to run a PowerShell script or Win32App from Intune on Corporate owned devices and not Personal. It is installed in Program Files(x86) assuming 64 Bit Windows 10. Detection Scripts and content(temporary) are downloaded to this folder as well.

The log files for the Intune Management Extension are in “C:\ProgramData\Microsoft\IntuneManagementExtension\Logs”

Agentexecutor.log will show:

  • PowerShell scripts that are executed and their status

IntuneManagementExtension.log will show basically everything around Win32App deployments:

  • Win32App Detection methods being evaluated
  • Win32App installations and status

Example from the IntuneMangementExtensions.log showing the command line being executed and the result code.

How do we read log files then? Of course using CMtrace which is our at least current favorite log reader, I deploy it to all my Intune Managed devices https://ccmexec.com/2018/12/copy-and-associate-cmtrace-using-intune-win32app-and-powershell/

Last week I was presenting with fellow MVP Ronni Pedersen in Zurich and we concluded that we recommend the same thing. Use PSAppDeployment Toolkit, https://psappdeploytoolkit.com/, if you and your organization are used to use PSAppDeployToolkt today. It still offers a great value like updating a registry value in all user profiles on the machine now that custom ActiveSetup keys are cleared when doing a feature update. We have all the log files in the same location when troubleshooting as well. Example Program for deploying an app using PSAppDeployToolkit.

Detection rule can still be the MSI or something more complex if you need it.

Then we get the log files from PSAppDeployToolkit as we all love.

If you never used it before and don’t like to start learning it, at least add logging to the MSIexec.exe command line so you have more logging when troubleshooting. Add /l*v “C:\Windows\temp\App_Chromex64.log” as an example to the command line then you can easily find all log files by sorting on A or search for App.

And then we get the log file for advanced troubleshooting as well.

That makes troubleshooting much easier.

Happy troubleshooting!

  • Win32App
  • Win32App Troubleshooting
  • 1 thought on “Troubleshooting Intune Win32app deployments”

    1. Phillip Morris says:
      March 16, 2021 at 7:50 pm

      What if I want to get the logfile without connecting to the target system? Is there a way to do that?

      Reply

    Leave a Reply Cancel reply

    Your email address will not be published. Required fields are marked *

    This site uses Akismet to reduce spam. Learn how your comment data is processed.

    My name is Jörgen Nilsson and I work as a Senior Consultant at Onevinn in Malmö, Sweden. This is my blog where I will share tips and stuff for my own and everyone elses use on Enterprise Mobility and Windows related topics.
    All code is provided "AS-IS" with no warranties.

    https://twitter.com/ccmexec

    Recent Posts

    • Windows Servicing, Personal Teams and Success.cmd
    • Windows MDM Security Baseline – Settings Catalog
    • Configuring MS Edge Security Baseline v107 using Settings Catalog
    • Configuring Desktop App Installer using CSP and script?!
    • Customizing Taskbar and Start in Windows 11 22h2 with PowerShell

    ©2023 CCMEXEC.COM – Enterprise Mobility | WordPress Theme by Superb Themes
    This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish.Accept Reject Read More
    Privacy & Cookies Policy

    Privacy Overview

    This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
    Necessary
    Always Enabled
    Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
    Non-necessary
    Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.
    SAVE & ACCEPT