Application Customization

With the application personalization feature, end users can roam between disparate devices while preserving custom application settings and Windows personalization settings. When a user logs in to a virtual desktop or application, User Environment Manager reads the profile archive file for that user's profile and can, for example, display the desktop background or application settings that the user saved during the last session.

Application Configuration Management

With User Environment Manager, you can configure the initial settings of an application without having to rely on the defaults of the application. You can define the application settings that the user can personalize and the settings that always remain unchanged each time the user opens the application. In this way, you can combine policy-enforced settings and user personalization.

You can also use User Environment Manager to manage certain user environment settings when an application starts. For example, you can configure drive and printer mappings, apply custom settings for files and folders, and registry, and run custom tasks. You can also define settings and configurations for all users to guarantee compliance and provide a consistent environment.

Open UEM Management Console

From the Main Console, double-click the UEM Management Console shortcut on the desktop.  This will open up the User Environment Manager Management Console.

You may need to minimize the Chrome Browser so you can see the desktop.

Personalization of Applications in UEM

Under personalization we will look at Wordpad.

  1. Under the Personalization tab
  2. Expand the Applications by clicking the + sign by the applications under General
  3. Click on Wordpad
  4. Note the DirectFlex is configured and enabled for this application

In this lab we are going to open Wordpad and make some changes to the layout as well as map a drive to the application.  We will logout and back in to see these changes stick and show the drive mapping.

Create a Triggered Task

In this module, we will be logging into a desktop, making policy changes through UEM and verifying those changes on the Desktop.  UEM settings are applied every time the user logs in. We are using an Instant Clone Desktop in a limited lab environment so we do not want to wait on the Instant Clone Desktop to refresh. We will instead configure UEM so that settings are refreshed upon unlock of the Desktop.  To do this we will set a Triggered Task User Environment setting in UEM.

The Triggered Task Settings option allows triggered task settings to be refreshed when users disconnect, reconnect, or lock and unlock their workstation. Previously, these settings were refreshed only after users logged out of the virtual desktop or application.

  1. Click on the management console User Environment Tab
  2. Click on Triggered Tasks
  3. Click Create

Complete Settings for Triggered Task

  1. General Settings Name and Label: Refresh UEM at unlock
  2. Under Triggered Task Settings pull down select Workstation Unlocked.  
  3. Under Action pull down select User Environment refresh and this will bring up the variables to choose to refresh
  4. Under Refresh click the box next to:
    • Application Blocking Settings
    • Drive Mappings
    • Horizon Smart Policies
    • Privilege Elevation Settings.
  5. Click on Show Message
  6. Enter Caption: HOL UEM Refresh
  7. Enter Message:  The UEM Settings were refreshed.
  8. Click on Close Automatically after and enter 8 for the seconds. Click Also allow user to dismiss message.
  9. Click Save

Minimize the UEM Management Console

  1. Click on Refresh of the UEM Management Console.
  2. Minimize the UEM Management Console so we can launch a desktop.

Horizon HTML Access

  1. Open Chrome Browser
  2. Select the VMware Horizon bookmark
  3. Select VMware Horizon HTML Access

Login to VMware Horizon

Login to Horizon HTML Access:

  1. Login as: user2mod1
  2. Password: VMware1!
  3. Click Login

 

Launch the Instant Clone Desktop

Click the Instant Clone Pool to launch the desktop.  It will automatically log user2mod1 user into the desktop.

Close Copy / Paste Popup

Click OK on the Enable Copy and Paste dialog message that pops up

Launch Wordpad from the desktop

Notice Wordpad icon says it was "created by VMware UEM".

Double-click on Wordpad to open up the application. We will make some changes to the application and show how they are retained at the next login and launch of that application.

Make some changes to the application

Make some changes to the application.

  1. Click on View
  2. Uncheck Ruler and Uncheck Status Bar
  3. Click on Measurement units and change to Centimeters

Save File As

  1. Click on File
  2. Click on Save As to see what drives are being mapped currently.

Notice No Drive Mapping for M: Drive

  1. Under This PC, Observe no M: drive mapping is mapped at this time.
  2. Click Cancel as we will not be saving the file.

Close the Application

  1. Click the X in the top right corner of the Wordpad application to close it.

Lock the Desktop

  1. Click on the Windows Icon in the bottom left corner
  2. Click on the Person icon
  3. Click lock

We will lock the user's desktop while we make some policy changes in UEM for Wordpad

Make sure to click the Windows Icon inside the virtual desktop

Go back to the UEM Management Console

We need to open the UEM Management Console back up in order to Add a Drive Mapping for the application.

Click on the 'Production' Environment on the bottom toolbar to re-open the VMware User Environment Console.

UEM  - Add Drive Mapping

 

  1. Under Personalization
  2. Expand Applications
  3. Click on Wordpad on the left column
  4. Click on User Environment on the tabs under Wordpad window.
  5. Click On Add
  6. Click Drive Mapping to map a drive

UEM Drive Mapping

  1. Enter a name for the drive mapping and Label: UEMTest
  2. Select a Drive Letter under Drive Mapping Settings: M
  3. Enter Remote Path: \\localhost\c$\tools.  In our lab environment we will just map a local folder. You can highlight the path and use the hand to drop into the lab.
  4. Click on "Undo at application exit" to unmap the drive once the application is closed.
  5. Click Save

UEM Save Config File

Click on Save Config File at the top to save the changes made to mapping the drive.

Unlock the Horizon HTML Access Desktop

  1. Open the Desktop back up by clicking on the Chrome Browser tab for the Horizon HTML Access
  2. Click on the pull out tab to open
  3. Click on the CTRL-ALT-DELETE icon to get password prompt
  4. Enter password: VMware1! and hit return or enter.
  5. Click the pull out tab again to close it

Click on the background desktop to close the window prompt.

The triggered task we configured earlier in this lesson will pop up when you unlock the desktop.  You can dismiss this window or wait the 8 seconds we configured for it to clear. This is letting you know that the UEM environment was refreshed.  

Launch the Wordpad Application from the desktop

Double-click on Wordpad to open up the application. We will show that the changes we made earlier were retained.

Observe the Application

Confirm that the changes are there.  

  1. Click on View in the Wordpad app.
  2. Notice Ruler and Status Bar are not present and unchecked.
  3. Click on the Measurement units to show the check mark next to Centimeters.
  4. Click on File
  5. Click on Save As where we can check the drive mapping in the next step.

Confirm Drive Mapping

  1. Browse to the "This PC" and expand.
  2. Notice the tools directory is mapped to the M drive.  Click on it to see the path at the top or expand the window to see the entire path.  
  3. Click Cancel

This allows you to map drives only when that application is launched.

Close the Application

Click the X in the top right corner to close the Wordpad application.

Click Don't Save if prompted.

You can also open the File Explorer and see the drive mapped when application is opened and is removed when application is closed.

Sign out of the Desktop and close Chrome Browser

  1. Click on the Window in the bottom left corner
  2. Click on the Person icon
  3. Click Sign Out

Close the Chrome Browser by clicking X in the top left corner of the Chrome App.

This is the conclusion of this exercise - we have gone over how to customize an application.