Background
A Terminal Server virtualizes an actual Windows desktop environment experience using a Remote Desktop Protocol (RDP) session created for each user that connects to it. A Terminal Server authenticates the user connections against the Active Directory list of users of groups that are maintained by your domain controller. With Terminal Server, it is also possible to create and publish RemoteApp.
Terminal Server RemoteApp refers to applications deployed via Terminal Services and managed by the RemoteApp manager in Windows Server 2008 onwards. With RemoteApp, you can "lock down" the Windows desktop to limit users to a single Windows application. Unlike a remote desktop environment, RemoteApp restricts the user from running other applications, browsing the network, etc. This allows you to safely expose your existing Windows applications without the worry of a user doing something out of their permissions.
A RemoteApp is deployed in one of three ways:
-
A .RDP file is distributed to users via a network share or direct sharing.
-
A Windows Installer package that installs a shortcut to the RemoteApp on the client Start menu and may also associate local file extensions with the RemoteApp.
-
Terminal Server Web Access.
With Safous, you can easily access RemoteApp applications published in your terminal server. We provide you the options to enable access via web or native RDP application like any other RDP application. The difference is that the access is limited to only the application you published in the terminal server. This article will explain the necessary steps to do that.
Prerequisites
Before you continue with the subsequent steps, please make sure that you satisfy the following conditions:
- Have configured Active Directory Domain Services in your environment.
- Have configured Active Directory IdP in Safous Admin portal (for SSO).
- Have proper administrative access to add Windows Remote Desktop Services roles and features to enable Terminal Server in your domain.
1. Setting Up Terminal Server
In order to publish/create RemoteApp, we need to set up the terminal server first. If you already have an existing terminal server, you can skip this part and continue straight to part 2. Publish RemoteApp in Terminal Server. If you do not have an existing terminal server, please follow the steps listed down below to set up the terminal server.
- Login to your server with credentials that have proper administrative access
- Open Server Manager
- Click Add Roles and Features.
- Click Next on the Wizard
- Select Role-based or feature-based installation and click Next
- Ensure that you have selected the correct server then click Next
- Select Remote Desktop Services and click Next
- Click Next to continue
- Click Next
- Select Remote Desktop Session Host then click Next
- Ensure that the installation selections match the image below. Click Confirm to continue.
- Wait until the installation process is done. After the installation process is done and completed successfully, you will be notified to restart the server.
- Restart the server and login back to the server once it's up.
- Open Server Manager. Notice that now there is a Remote Desktop Service listed on the left bar.
- Click the Add roles and features button once again.
- Click Next
- This time select the Remote Desktop Services installation and click the Next button.
- Choose whether you want to proceed with standard deployment across multiple servers or quick deployment only in one server then click the Next button. In this example, we select the Quick start to only install on one server.
- Select Session-based desktop deployment and click the Next button
- Select your server
- Click Restart the destination server automatically if required, then click Deploy.
-
Wait until the deployment of the installation is done. Once done and completed successfully, restart the server again.
- After restart, the terminal server setup is done. But please don't log out of the server yet, as we still need to publish the RemoteApp.
2. Publish RemoteApp in Terminal Server
After setting up the terminal server, we can continue to publish the RemoteApp of our choice. To do that, please follow the steps listed down below.
- Open Server Manager
- Click Remote Desktop Services
- Click your created collections
- On RemoteApp Programs section, click Tasks, then click Publish RemoteApp Programs.
- Select a program of your choice then click on the Next button.
- Confirm the list of program(s) that you want to publish and click the Publish button.
- Wait until the publishing process is done. Once done, you can close the Wizard.
- Your new published app should now be listed in the RemoteApp Programs section
3. Create RDP application in Safous Admin portal and Configure RemoteApp
After publishing a RemoteApp, you can create an RDP application to enable user to access the RemoteApp published in the terminal server. To do that, please follow the steps listed down below:
- Login to Safous Admin portal.
- Navigate to Settings > ZTNA > Applications > Application.
- Click on the New Application button, then fill in the fields:
- For the configuration of field (1) to (10), please refer to this article.
- (11) In Initial Program field, please fill in the alias of the RemoteApp you published in the terminal server and put || as prefix (e.g. ||chrome).
You can also choose to list multiple initial programs by putting comma as a delimiter to the list (e.g. ||chrome,||Calculator,||Paint) - (12) Single sign on is optional, but it is highly recommended to enable it as the RemoteApp can only be accessed with an account listed in AD.
- Once you are done, click on the Save button.
- Authorize user's access to the RemoteApp by binding the application to a new or an existing policy. For more details about the topic, please refer to this article.
- Note: User must be non-Administrator.
4. Access RemoteApp via Safous Web RDP
If you want to access RemoteApp via Safous Web RDP, you can do that easily by following the steps listed down below.
- Go to your tenant's user portal (e.g. https://login.<tenant>.ztna.safous.com)
- Click the app that you have created
- The RemoteApp will appear.
Please note that at the moment, you can only open one RemoteApp via Safous Web RDP. If you have listed multiple RemoteApp in the application's configuration, only the first RemoteApp will be opened when you access the application via Safous Web RDP.
For example, if you list ||chrome,||Paint,||Calculator in the application's configuration, then only chrome will be opened.
5. Access RemoteApp via Safous Native RDP
If you want to access RemoteApp via Safous Native RDP, you can do that easily by following the steps listed down below.
- Go to your tenant's user portal (e.g. https://login.<tenant>.ztna.safous.com)
- Click "Native" in the app that you have created.
- You will be directed to download the RDP client app.
- If only one RemoteApp is listed in the application's configuration, RDP client will be automatically downloaded for the RemoteApp.
- If multiple RemoteApps are listed in the application's configuration, the list of the RemoteApp RDP client will be available for you to select and download.
- If only one RemoteApp is listed in the application's configuration, RDP client will be automatically downloaded for the RemoteApp.
- Once downloaded, open the RDP client and verify whether the Type, Path, and Name of the RemoteApp from the RDP client you downloaded is correct or not.
- If it is correct, you can just click on the Connect button.
- If it is incorrect, please try to download the file again.
- Once connected, then the RemoteApp will appear.