How to run as SYSTEM and be able to display a UI to the logged in user?

Here is a prelaunch script I created for use in Intune. Maybe this will work for you.

1 Like