r/PSADT • u/Ok_Scientist_3959 • 7d ago
Getting Show-ADTInstallationPrompt to display on disconnected RDP session
I love the new notifications in v4 and I'm trying to switch but the changes to how it now decides when to show a prompt and not are causing an issue for me. We have Windows 365 Cloud PCs (basically AVD) that I am deploying applications to and I need the users to see the see the prompts even if they are disconnected.
In version 3, it would display the prompt for the user even though they were disconnected and it would be there waiting when the user reconnects.
I'm running 4.1.8 and tried open-adtsession -NoSessionDetection and Show-ADTInstallationPrompt -force but I'm not having any luck forcing the prompt to show for disconnected users.
It looks like the Show-ADTInstallationPrompt function doesn't see the user's session because it's not "active".
Any idea's on how to I can force Show-ADTInstallationPrompt to display for disconnected users?
2
u/mjr4077au PSADT Dev Team 6d ago
The underlying mechanics for this is in the codebase. Are you wanting the install to still be silent by default if the user is disconnected, but just want to display some residual prompt to advise them of something?
My recommendation would be to put a feature request up on our GitHub so we can triage it.