Why would you use a RemoteApp for presenting a desktop when you can connect directly via RemoteDesktop(RDP) to the TerminalServer?
The main reason would be to offer load balancing via a Microsoft 2008 Server "Broker".
When configuring a RES PowerFuse 2008 desktop via RemoteApp using the RES PowerFuse Shell the desktop will appear as expected.
You simply have to add a RemoteApp and use the correct path to the Workspace Manager: pfwsmgr.exe
However, when using the RES PowerFuse Windows shell, only a file explorer will appear after launching the RES PowerFuse Desktop via RemoteApp:
This is what happens:
The pfwsmgr.exe is started and performs all configured logon tasks. Then explorer.exe is launched in shell mode in order to offer a desktop to the user. Actually, in general, it's not possible to start explorer.exe in shell mode explicitly. But if there is no running instance of explorer.exe, it will start in shell mode by default. Second instances will be started as file explorer. In this case, there is no instance running yet and explorer.exe should start in shell mode.
This is unwanted behavior in a RemoteApp as these are meant to run seamless on your (remote) desktop. When starting explorer.exe from a RemoteApp (i.e. when clicking an UNC path) you would like to have a File Explorer instead of (an extra) taskbar. This is understood by Windows and this results in a File Explorer instead of the expected Windows Shell. Starting explorer.exe as shell in a RemoteApp is not possible. The same behavior will occur when trying to present explorer.exe as an remote application to the user.
But it is possible to start a Remote Desktop as a RemoteApp:
This still does not solve our issue because in the Remote Desktop application properties, it is not possible to configure an "Initial program" meaning that RES PowerFuse can not be launched and you would still have an unconfigured desktop.
This is by design and easy to explain: Why would you run an application in Remote Desktop if you can use it in RemoteApp Directly!
Well... because we would like to run the RES PowerFuse Desktop using the RemoteApp functionality! Now we know why this does not work.. here's how we solve it!
Open mstsc.exe on the server running Remotte apps and on the tab programs fill in the path to pfwsmgr.exe. Fill in the correct FQDN/ip address and other configuration items. Save this RDP file.
Add this saved RDP file via Remotte app manager (you can browse directly to this file) and create a RDP file via the Remote apps Manager interface and, when needed publish it via the RD web Access interface.
Go to the RemotteApp manager-->Add RemoteApp Programs-->Browse to the location of the RDP file you just saved-->Choose open.
The saved RDP connection will look like this in the RemoteApp program:
When you start this RemoteApp you will get a RES PowerFuse Desktop and if configured you can use the Windows Shell.
By the way:
When using Windows 2008 Server you can setup a Remote Desktop Connection Broker (RD Connection Broker), formerly Terminal Services Session Broker (TS Session Broker). In this case, you do not have to start the RES PowerFuse desktop as a RemoteApp in order to have a broker with Load Balancing.
If you are using a Remote Desktop Broker, you can use a Remote Desktop and launch RES PowerFuse via a GPO: Go to User Configuration > Administrative Templates > System -> "Custom user interface", and fill in the correct path to pfwsmgr.exe.
Have fun!
Gerry de Bruijn
Paulina Adams