Page 1 of 1

Auto launch a published application through Web Portal?

Posted: Fri Oct 16, 2015 7:55 pm
by dmonturo
Is there a way so when a user logs in via web portal instead of being shown the Floating Pane / Remote Taskbar of applications or the full desktop, it simply just launches the application assigned to them? I'm okay with there still being a Remote Taskbar / Floating Pane, but I want the application to automatically launch as well. Right now the Application simply shows in the Pane or Toolbar and has to be clicked to open.

For instance, I have a user setup and assigned with one specific application as well as Floating Pane. I have the application set to "Launch this application maximized". However when I connect via Web Portal using either HTML5 or RemoteApp I am only given the Pane where the user has to manually click the specific application ("Connected Business") for it to open. What do I need to do so when the user connects via Web Portal it launches the Connected Business application automatically? Perhaps not even with a "floating pane" at all, just the ability to use the application and to log off.

Re: Auto launch a published application through Web Portal?

Posted: Sat Oct 17, 2015 9:46 am
by admin
Hello,

Some applications can be assigned as a unique application to be launched at the start up of the session, while other cannot. The main reason why is that some applications have explorer.exe dependencies or simply need a full profile to be loaded, in which case it is necessary to assign a full remote desktop or the Remote Taskbar / Floating panel.

To publish your application as a unique application, open your admin tool, click on the application tile and click on "Assign Applications". Uncheck the remote taskbar / remote desktop / floating panel and check your only application to be assigned to your users or group. Log in again, regardless of the connection method you are using you should see your application.

There are also many other methods to launch a specific program at logon.

First of all, you need to create a logon.bat file. To do so, create a .txt file with notepad and rename it logon.bat. In this file type in the full path of the executable you wish to launch, for example "C:\Program Files (x86)\CCleaner" (the double quotes are mandatory if spaces are present in the path of the executable you wish to launch.

Once this is done all you need to do is copy this logon.bat file in C:\ProgramData if you want this script to be executed for all of your users. If you need a specific logon script for each user then copy the script in C:\Users\Name Of The User\AppData\Roaming

You can also use local group policy for logon scripts. to do so execute gpedit.msc and locate the following group policy : User Configuration/Windows settings/Scripts (logon/logoff) and double click on "Logon script", then click "Add", select your logon script. If you wish to have this logon script executed only for non admin users you can do so by following this procedure : tsplus.net/support/kb/faq.php?id=19

Regards,
TSplus support team

Re: Auto launch a published application through Web Portal?

Posted: Mon Oct 19, 2015 12:22 pm
by dmonturo
The logon.bat idea worked for the app I needed, thanks!