Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1638
  • Last Modified:

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.
0
dacIT
Asked:
dacIT
  • 4
  • 3
1 Solution
 
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
Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

 
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

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now