Proactive Remediation script: issue you may have when running a GUI and waiting for an action

Reply A+ A-

In this post I will share with you a feedback about displaying a GUI through a Proactive Remediation script and issue you may have.


- You have enrolled devices in Intune

- You have to run a script on devices

- This script should display a warning first

- A click on Next will continue the script

- Then this will run the main part of the script

For instance we can imagine a script that will update BIOS devices.

A warning is displayed to user and when he clickes on Next, the script will proceed to the BIOS update.

See here my blog post about updating BIOS devices with Intune.

The issue

Imagine the user lets the warning minimized because he planned to continue later, for instance 3hours later of at the end of the day.

Now when the user clickes on Next nothing appears, the next part of the script is not executed.

Why this issue ?

Actually when a Proactive Remediation script is executed there is a timeout of 3600 seconds.

You can check that in the following log: IntuneManagementExtension.log

This one is located in: C:\ProgramData\Microsoft\IntuneManagementExtension\Logs

If you open it with CMTrace you can see the timeout value as below:

Now let's check running process when the Proactive Remediation script is executed.

For that just check running process.

See below the result:

Let's check the same one hour later:

As you may noticed result is empty.

What does it mean ?

Your warning is still opened, but the main script that runs the next of the process is closed, meaning once you click on Next it has nothing to do.

Proactive Remediation 8292254609924299401

Enregistrer un commentaire

Accueil item




Learn KQL in one month

You want to support me ?

Mes articles en français

Books in French