How to make RemoteApp show the application icon when starting

When you start a remote application using an RDP file, you typically see the default RDP UI while the application is being started. The problem with this UI is that it shows the generic Remote Desktop icon for every application you start. However, by customizing the RDP file, you can change this behavior and change the UI to more application-like. from the TS Team blog:

How to make RemoteApp show the application icon