To install applications on a server configured with Remote Desktop Session Host (RDSH) in Windows Server 2022, administrators must follow a specific process to ensure compatibility with multiple user sessions. Always log in using an account with local administrator privileges. It is strongly recommended to install applications on an NTFS-formatted volume to leverage security and auditing features.
Applications must be installed in a way that allows multiple concurrent users to access them through their individual sessions. You can achieve this using one of two supported methods:
- Using Install Application on Remote Desktop from Control Panel
- Using the `change user` command from an elevated command prompt
This method is the preferred and user-friendly approach. It automatically manages session mode transitions during the installation process.
To install an application:
- Log on to the RDSH server as an Administrator.
- Open Control Panel → Programs and Features.
- Click Install Application on Remote Desktop from the left pane.
- Browse to the application’s installer (e.g., `.exe`, `.msi`) and follow the installation wizard.
- Choose to install the application for all users, when prompted.
Use this method when installing software manually via command line or when installing updates, add-ons, or plug-ins for existing applications.
This command ensures user-specific data like `.ini` files and registry entries are correctly redirected per user.
To install:
- Open Command Prompt as Administrator.
- Run:
change user /install
— Puts the system into install mode.
- Install the application using its setup program.
- Once complete, return the system to execute mode:
change user /execute
Explanation:
- Install Mode: Redirects user-specific configurations to a common location during setup.
- Execute Mode: Restores normal redirection of user data to each user's profile.
- Open Control Panel → Programs and Features.
- Select Install Application on Remote Desktop.
- Click Browse and navigate to the setup file. For example:
D:\Resources\Setup.exe
- Follow the on-screen wizard steps.
- Enter any required information (e.g., user name, install path).
- Complete the installation by clicking Finish.
In the next lesson, you will learn how to modify applications post-installation to ensure compatibility with Remote Desktop multiuser environments, including managing user profiles and shared registry settings.