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.
- Under the Personalization tab
- Expand the Applications by clicking the + sign by the applications under General
- Click on Wordpad
- 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.
- Click on the management console User Environment Tab
- Click on Triggered Tasks
- Click Create
Complete Settings for Triggered Task
- General Settings Name and Label: Refresh UEM at unlock
- Under Triggered Task Settings pull down select Workstation Unlocked.
- Under Action pull down select User Environment refresh and this will bring up the variables to choose to refresh
- Under Refresh click the box next to:
- Application Blocking Settings
- Drive Mappings
- Horizon Smart Policies
- Privilege Elevation Settings.
- Click on Show Message
- Enter Caption: HOL UEM Refresh
- Enter Message: The UEM Settings were refreshed.
- Click on Close Automatically after and enter 8 for the seconds. Click Also allow user to dismiss message.
- Click Save
Minimize the UEM Management Console
- Click on Refresh of the UEM Management Console.
- Minimize the UEM Management Console so we can launch a desktop.
Horizon HTML Access
- Open Chrome Browser
- Select the VMware Horizon bookmark
- Select VMware Horizon HTML Access
Login to VMware Horizon
Login to Horizon HTML Access:
- Login as: user2mod1
- Password: VMware1!
- 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.
- Click on View
- Uncheck Ruler and Uncheck Status Bar
- Click on Measurement units and change to Centimeters
Save File As
- Click on File
- Click on Save As to see what drives are being mapped currently.
Notice No Drive Mapping for M: Drive
- Under This PC, Observe no M: drive mapping is mapped at this time.
- Click Cancel as we will not be saving the file.
Close the Application
- Click the X in the top right corner of the Wordpad application to close it.
Lock the Desktop
- Click on the Windows Icon in the bottom left corner
- Click on the Person icon
- 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
- Under Personalization
- Expand Applications
- Click on Wordpad on the left column
- Click on User Environment on the tabs under Wordpad window.
- Click On Add
- Click Drive Mapping to map a drive
UEM Drive Mapping
- Enter a name for the drive mapping and Label: UEMTest
- Select a Drive Letter under Drive Mapping Settings: M
- 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.
- Click on "Undo at application exit" to unmap the drive once the application is closed.
- 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
- Open the Desktop back up by clicking on the Chrome Browser tab for the Horizon HTML Access
- Click on the pull out tab to open
- Click on the CTRL-ALT-DELETE icon to get password prompt
- Enter password: VMware1! and hit return or enter.
- 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.
- Click on View in the Wordpad app.
- Notice Ruler and Status Bar are not present and unchecked.
- Click on the Measurement units to show the check mark next to Centimeters.
- Click on File
- Click on Save As where we can check the drive mapping in the next step.
Confirm Drive Mapping
- Browse to the "This PC" and expand.
- 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.
- 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
- Click on the Window in the bottom left corner
- Click on the Person icon
- 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.