Omnissa Horizon enable copy and paste from Published Apps

omnissa-horizon-enable-copy-and-paste-from-published-apps-01

When using Omnissa Horizon, the copy and paste operation between the local device and Published Applications may not work.

By default, this feature is disabled for security reasons. A straightforward way to enable this is by using Dynamic Environment Management (DEM), a tool included with the Horizon solution.

 

Default behavior

Login to the VDI environment with an entitled user. Enter username and password then click Login.

copy and paste 1

Open a Published App (Notepad++ in the example).

copy and paste 2

The application opens and the user can begin writing.

copy and paste 3

 

From Client to Published App

On your local device, open an application like Notepad and type a test sentence, for example "test copy & paste from client to published app". Highlight the sentence, right click and click Copy.

copy and paste 4

In the Horizon Published App, right-click to  paste. The Paste option will be grayed out. This is because copy and paste from the client to Published Apps is disabled by default.

copy and paste 5

 

From Published App to Client

In the Published App, write a sentence like "test copy & paste from published app to client". Right-click and select Copy.

copy and paste 6

Go to your local application (e.g., Notepad), right-click, and select Paste.

copy and paste 7

The pasted text will be the same as what was previously copied from the client, "test copy & paste from client to published app". This is expected behavior, as copy and paste is disabled in both directions by default.

copy and paste 8

 

Enable copy and paste feature

The copy and paste capability for Published Apps can be enabled using the Dynamic Environment Management (DEM) tool within the Omnissa Horizon solution.

 

Install the DEM Agent

The DEM Agent must be installed on the RDS Hosts configured in the Horizon Farm.

copy and paste 9

Access the RDS Host and install the DEM Agent by double clicking the installation file. Accept the EULA and click Next.

copy and paste 10

Keep the Default Folder and click Next.

copy and paste 11

Select the Custom installation option.

copy and paste 12

Ensure the Agent feature is selected and click Next.

copy and paste 13

Click Install to begin the installation.

copy and paste 14

The Agent is being installed.

copy and paste 15

Once complete, click Finish to exit the wizard.

copy and paste 16

 

Apply the DEM GPO

For DEM to work with Published Apps, its GPO must be applied to the RDS Hosts.

On a Domain Controller, open the Group Policy Management tool. Right click the OU containing the RDS Hosts and select Link an Existing GPO.

copy and paste 17

Select the appropriate GPO and click OK.

copy and paste 18

The applied GPO.

copy and paste 19

 

Create an Horizon Smart Policy in DEM

Open the Omnissa Dynamic Environment Manager tool and navigate to User Environment > Horizon Smart Policies. Click Create to make a new policy.

copy and paste 20

Enter a Name for the policy a Label to describe its functionality. Locate Clipboard under the Redirection section and select Allow all from the drop-down menu. Click Save.

copy and paste 21

The created policy.

copy and paste 22

 

Create a Condition Set

If other DEM policies should not apply to Published Apps, create a Condition Set to filter them.

Go to Condition Sets and click Create to make a new policy.

copy and paste 23

Enter a Name and a Label to describe its functionality. Click Add and select Environment Variable.

copy and paste 24

In the Environment variable field, type the name of the variable (e.g., COMPUTERNAME). From the drop-down menu, select Contains then specify the text that identifies the RDS Hosts (e.g., w22-rdhs). Click OK.

copy and paste 25

To exclude GPO from being processed with this variable, select the new condition and click Edit. Choose NOT to negate the condition.

copy and paste 26

When the condition has been created, click Save to save the configuration.

copy and paste 27

The created Condition Set.

copy and paste 28

 

Apply the Condition Set

To apply this condition set to a policy open the GPO you want to filter (e.g., a Printer Mapping policy), go to Conditions tab. Click Add and select Condition Set.

copy and paste 29

Select the Condition Set created and click OK.

copy and paste 30

Ensure the AND operator is selected between any existing conditions and the new condition set. Click Save.

copy and paste 31

 

Test the configuration

Open the Published App again and highlight the text "test copy & paste from published app to client". Right click the text and select Copy.

copy and paste 32

Go to your local application, right click and select Paste.

copy and paste 33

The text copied from the Published App will now be pasted correctly into the client. The copy and paste feature is now fully working.

copy and paste 34

Only enable this copy and paste feature if required, as it can potentially introduce security risks.

signature

Leave a Reply