WVD launching 2 instances of the App executable.

%3CLINGO-SUB%20id%3D%22lingo-sub-1865735%22%20slang%3D%22en-US%22%3EWVD%20launching%202%20instances%20of%20the%20App%20executable.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1865735%22%20slang%3D%22en-US%22%3E%3CP%3EHello%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EPoC%20WVD%20(ARM)%20host%20pool%20with%20single%20host%2C%20we're%20seeing%20multiple%20instances%20of%20an%20app%20(executable)%20run%20on%20a%20host%20after%20a%20session%20is%20disconnected.%20We%20want%20to%20ensure%20only%201%20instance%20of%20the%20executable%20runs%20for%20that%20app%20per-user%20across%20multiple%20hosts%20in%20WVD.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20scenario%3A%3CBR%20%2F%3E-%20User%20starts%20app%2C%20uses%20it%20for%20a%20while%20and%20disconnects%20the%20session.%20The%20disconnected%20session%20continues%20to%20run%20on%20the%20host%20in%20a%20disconnected%20state%3CBR%20%2F%3E-%20User%20starts%20app%20again.%20WVD%20starts%20a%20new%20instance%20of%20the%20executable%20*and*%20re-open%20the%20first%20session%E2%80%99s%20instance.%20So%20the%20user%20now%20has%202%20windows%20open%20of%20the%20same%20app%20(this%20also%20consumes%202%20of%20our%20licences%20for%20the%20application%20which%20we%20need%20to%20avoid)%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWe%E2%80%99re%20yet%20to%20test%20an%20app%20with%20multiple%20hosts%20but%20we%20need%20WVD%20to%20reconnect%20any%20existing%20session%20executable%20%E2%80%93%20not%20start%20additional%20at%20any%20time.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI'm%20aware%20I%20can%20do%20some%20GPO-style%20changes%20that%20will%20log%20off%20a%20disconnected%20session%20but%20in%20other%20application%20publishing%20technologies%2C%20they%20have%20controls%20around%20allowing%20only%201%20instance%20of%20an%20app%20per-user%20across%20all%20servers%20in%20an%20environment...%20I'm%20looking%20for%20this%20option.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1891816%22%20slang%3D%22en-US%22%3ERe%3A%20WVD%20launching%202%20instances%20of%20the%20App%20executable.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1891816%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F800914%22%20target%3D%22_blank%22%3E%40gavin1245%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhat%20remote%20app%20are%20you%20using%20that%20exhibit%20this%20issue%3F%20It%20may%20be%20app%20specific.%20Can%20you%20try%20with%20other%20apps%20to%20see%20if%20you%20can%20repro%20the%20issue%3F%20I%20just%20tried%20office%20apps%20(excel%2C%20word)%2C%20i'm%20not%20able%20to%20reproduce%20your%20issue.%3C%2FP%3E%3C%2FLINGO-BODY%3E
New Contributor

Hello,

 

PoC WVD (ARM) host pool with single host, we're seeing multiple instances of an app (executable) run on a host after a session is disconnected. We want to ensure only 1 instance of the executable runs for that app per-user across multiple hosts in WVD.

 

The scenario:
- User starts app, uses it for a while and disconnects the session. The disconnected session continues to run on the host in a disconnected state
- User starts app again. WVD starts a new instance of the executable *and* re-open the first session’s instance. So the user now has 2 windows open of the same app (this also consumes 2 of our licences for the application which we need to avoid)

 

We’re yet to test an app with multiple hosts but we need WVD to reconnect any existing session executable – not start additional at any time.

 

I'm aware I can do some GPO-style changes that will log off a disconnected session but in other application publishing technologies, they have controls around allowing only 1 instance of an app per-user across all servers in an environment... I'm looking for this option.

2 Replies

@gavin1245 

What remote app are you using that exhibit this issue? It may be app specific. Can you try with other apps to see if you can repro the issue? I just tried office apps (excel, word), i'm not able to reproduce your issue.

@Soo Kuan Teo I've had this issue with multiple applications (SSMS, Power BI Desktop, multiple 3rd party applications). You have to launch the remote app in order to reconnect to a previous session but by doing so you are launching a second instance of the application. 

Bobby_Powers_0-1614892806315.png