Overview
The RemoteApp Catalog system discovers published applications from the RD Connection Broker (RDCB) and presents them to authenticated users. Applications are automatically organized into folders and filtered based on user permissions.How It Works
Discovery Process
Production Mode: WMI Query
In production, the system queries the RD Connection Broker using PowerShell and WMI:| Property | Description | Example | ||
|---|---|---|---|---|
Name | Display name | ”Microsoft Word 2019” | ||
Alias | Internal identifier | ”MSWORD” | ||
VPath | Virtual path in collection | ” | MSWORD” | |
IconPath | Path to application icon | ”%ProgramFiles%\…” | ||
FolderName | Organizational folder | ”Microsoft Office” |
Data Transformation
The raw WMI data is transformed into a normalized format:Simulation Mode
For development without an RDCB server, simulation mode provides static test data:.env:
Application Categories
RemoteApps
Individual applications published through Remote Desktop Services:- Appear in a window (not full screen)
- Multiple apps can run simultaneously
- Use
remoteapplicationmode:i:1in RDP file - Reference via alias:
||MSWORD
Desktop Sessions
Full desktop environments (optional):- Full screen desktop experience
- Use
remoteapplicationmode:i:0in RDP file - Useful for users needing complete desktop access
Folder Organization
Applications are automatically grouped byfolderName:
API Integration
The frontend retrieves apps through the catalog API:Publishing Apps in RDCB
To make applications available in RDSWeb Custom, publish them through the RD Connection Broker:Using Server Manager
- Open Server Manager on the RDCB server
- Navigate to Remote Desktop Services > Collections
- Select your collection (e.g., “Desktop Collection”)
- Click Tasks > Publish RemoteApp Programs
- Select applications from the list or add custom programs
- Configure the application properties:
- Name: Display name (e.g., “Microsoft Word 2019”)
- Alias: Internal identifier (e.g., “MSWORD”)
- Path: Executable path (e.g.,
C:\Program Files\Microsoft Office\root\Office16\WINWORD.EXE) - Folder: Category for organization (e.g., “Microsoft Office”)
Using PowerShell
User Permissions
Access to RemoteApps is controlled by Active Directory group membership:- Collection-level permissions: Users must be in the collection’s AD security group
- App-level permissions (optional): Individual apps can have additional restrictions
- AD group filtering: RDSWeb Custom receives the user’s groups via JWT
Performance Considerations
Caching
Consider caching app lists to reduce RDCB load:Query Timeout
The WMI query has a 10-second timeout:- Check network connectivity to RDCB
- Verify WMI service is running
- Ensure firewall allows WMI (TCP 135, dynamic RPC ports)
Error Handling
Common errors when querying the catalog:| Error | Cause | Solution |
|---|---|---|
| ”No se pudo contactar al RD Connection Broker” | WMI query failed | Check RDCB server name, network connectivity |
| PowerShell timeout | Query took > 10 seconds | Increase timeout, check RDCB performance |
| Empty app list | No apps published | Verify apps are published in Server Manager |
| Access denied | Insufficient permissions | Ensure service runs with appropriate credentials |
Troubleshooting
Verify RDCB Connection
Test WMI connectivity manually:Check Published Apps
Verify apps are published and visible:Enable Debug Logging
Configuration
Catalog behavior is configured via environment variables:Next Steps
- Learn how apps are launched via RDP Generation
- Understand Session Modes and their impact
- Explore the Authentication system