Show-DeferPrompt [Updated]

Hi FoldZan1,

Thanks for sharing all this. It helps me so much. But I have just one issue left. I set up defer three times for 15 minutes. When I click first defer, the defer prompt doesn’t show up again. I thought I would see the prompt three times every 15 minutes until the remaining deferrals expire. Is there a way to set it up like this?

When you click “defer”, is it creating the scheduled task?

No, It is disappeared. And I think It kills all processes. Nothing shows up again.

Once I click Defer, this prompt is disappeared. I was expecting it to show up again after 10 minutes. But It did not.
I added a picture of the settings

Are you deploying it via intune as system user? I had same issues with intune deployment. Also check task scheduler as administrator in test machine as it wont show the task if you look as user.

No, I am just manually testing it on some test devices. Once I get a correct result, I will prepare it for Intune.

Any recommendations for this issue?

Have you checked as administrator the task scheduler? If you dont see a task there with your deployment name, then it won’t prompt as there wont be any instance to prompt each 15 mins.

I have not deployed it from Intune and SCCM yet. I just tried it with Powershell on my test devices.
I see the issue now. I run PowerShell as an admin to run the PSADT exe file. The error is “Launch condition not met, user not logged on.” It is right because I use my regular account to log into the device and use my admin account to run the PSADT file. I will create an Intune file and test it from there as a system.

The prompt doesn’t show up while I am pushing it via Intune. It just starts to install. Do you have a specific command line for installing it on Intune?

I package also serviceui.exe which supports the ui. Place that exe in root where you also have then deploy-application.exe.
Install command for intune w32app is:
.\ServiceUI.exe -Process:explorer.exe Deploy-Application.exe ‘Install’

Uninstall i use no gui so;
Deploy-Application.exe -DeploymentType ‘Uninstall’

1 Like

Now I see the prompt while I run it on the Company portal, but it still has the same login user issue. The error is “Launch condition not met, user not logged on.” This time, it uses the device name as the user.

Hello @FoldZan1

The same function is not working properly on 3.10.1. It throws below error in the line given in the image, any particular reason for that. This line is from the last function that gives the prompt.

I haven’t tested in anything but 3.9.3 yet.

Hi FoldZan1,

I tried copying the AppDeployToolkitExtensions.ps1 and Deploy-Application.ps1

and when i execute the Deploy-Application.exe" the output is what am getting is

Seems the form is not updating properly
can you please help me on this, also once the defer time expiries we will get the window with “close programs” and “continue” if the chrome is opened . On clicking the continue option it again prompt the same window with “close programs” & “continue” button, can we make the code to continue with the installation when user click on continue button

Hi FoldZan1,

I am trying to push the package via SCCM package and when
I click Defer, the prompt disappears. I was expecting it to show up again after 10 minutes. But It did not get the prompt again, instead it installs silently.

I am having the same issue, did you ever get a fix?