Windows 2008 RemoteApp Startup immediately shuts down.

Hello.

We've published an app via Win2008 RemoteApp through TS Gateway. The problem I'm having is that the client launches the remote app through the desktop icon. Everything connects fine, teh "starting" then "started" windows appear, but then they just go away. Double-clicking the remoteapp icon again immediately pops up the app and all is well.

Anyone have any ideas why I have to double-click twice to get the app to launch? It seems that it's saving some sort of connection session after the first double-click because the second try connects so quickly. If I wait 30 seconds after closing the remote app, I have the same problem. Within 30 seconds of closing the app, it launches right away.

Thanks for any tips.
LVL 7
dacITAsked:
Who is Participating?
 
rubendnCommented:
We had that issue with a the Industry-Specific Application we use that was written in Clarion and it was being caused by the printer redirection for some reason.  We now have it launch a .bat file that paused for 5 seconds before starting the app and that is what we used to get it to work.
0
 
dacITAuthor Commented:
Thanks for the tip rubendn. I'll give that a try and report back.
0
 
dacITAuthor Commented:
rubendn, how do I make the batch file run between the initiation of the rdp session and the launch of the remoteapp?
0
Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

 
rubendnCommented:
This is what my batch file looks like:

echo off
timeout 6
start /d"C:\ProgramDirectory\" programname.exe
0
 
dacITAuthor Commented:
Then you publish that batch file right?
0
 
rubendnCommented:
Yes, I publish the bat file as a remote app instead of the actual application.
0
 
dacITAuthor Commented:
That seems to have done the trick. Thanks so much. This has been a real hassle!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.