Check out this useful post on the Remote Desktop Services (Terminal Services) Team Blog that explains how to use the RDS Application Compatibility Analyzer
How to detect RDS-specific application compatibility issues by using the RDS Application Compatibility Analyzer