Skip to Main Content
Patch My PC Feature and Application Request

A community where customers and the community can provide feedback to make a better product for everyone! For more details on how we prioritize request, please see:

6 VOTE
Status SUBMITTED
Created by Nicholas Worthington
Created on Sep 7, 2021

Conflicting Processes - Reopen application once update complete

We currently have the conflicting processes function working well and wondered if its possible to define whether an app will reopen for the user once it has been closed due to a conflicting process.

  • Attach files
  • Ben Lee
    Reply
    |
    Dec 7, 2022

    This would be useful. For custom apps we do this with PSADT using the Execute-ProcessAsUser they make available:

    https://allnewandimproved.psappdeploytoolkit.com/functions/Execute-ProcessAsUser.html


    I have actually utilizied PSADT in the PMPC app for Cisco AnyConnect. If it kind of clunky, but I have a command that checks if the VPN is actually active and not just open and use PSADT as a pre-script to launch a dummy app that I added to the PMPC conflicting processes list, then use the same PSADT script as a post-script with a different parameter that then launches the AnyConnect client as the user once the install is complete. It works pretty well, but it would be nice to have the "launch as user when complete" option as part of PMPC. In this case, it would also be nice to have some kind of script detection in addition to the "conflicting app" list built into PMPC.

  • +2