We have an app that we are testing to move over to the Azure RemoteApp.
Currently the application creates word documents and merges them. Sometimes a word window will hang in this process.
Currently what we would do with RDP is end the winword.exe
process for that user name and our program.exe
and relaunch to correct this. (if you end the RDP it will still be stuck when you reconnect) As far as I am aware when using the Azure RemoteApp we do not have the same access to do this as this.
I have discovered that there is a power shell cmdlet for the remote app, is it possible to end the process with
gwmi -query "select * from win32_process where name='PROCESSNAME.exe'" | %{if($_.GetOwner().User -eq 'USERNAME'){$_.terminate()}}
Or is there a way with Azure RemoteApp to end the process through the service? I have tried several different searches to get the answer to this and nothing seems to address it.