When using a Horizon Remote Desktop with Horizon Remote Applications, the same user can have multiple sessions on the same computer.

To correctly apply Horizon Smart Policies for user environment settings in such a situation, configure logon and logoff scripts with an extra command-line argument.

  • For the logon script, specify the following arguments: -HorizonMultiSession -r
  • For the logoff script, specify the following arguments: -HorizonMultiSession -s
Note: -HorizonMultiSession must be the first argument.