I will demonstrate User Environment Manager.
And I'll be performing this demonstration
using the free labs that can be found at hol.vmware.com.
So if you want to try any of the tasks
that I'm about to perform,
you can follow along in your own lab kit at hol.vmware.com.
And as you can see here, what I'm going to do
is going to relatively closely follow the lab manual here.
We're going to go through the process
of doing some application configuration management
and then work our way through some other common tasks
that you may want to perform using User Environment Manager.
So step one is to go ahead and open up the UEM console,
which you can see I have open right here.
And you can see here,
we are at the personalization tab of UEM,
so I'm going to expand our list of applications here.
And here you can see some of the applications
that we can potentialLY configure using UEM.
I'm going to focus on WordPad as a starting point.
And so you can see here that
DirectFlex is configured and enabled for WordPad.
And the methodology that we're going
to be using in the lab here,
is we're going to create a triggered task.
So we're going to create a triggered task for WordPad.
And the rationale behind that is, I want to create a task
that's going to actually take place
when the virtual desktop is unlocked.
And the reason that I want to do it that way
is it makes it a little bit easier for me
to test out these changes that I'm making here
in the lab environment.
So I'm going to click on this user environment tab here,
and we're going to go down here to triggered tasks.
So here you can see a bunch of triggered tasks
that are already in existence.
I'm actually going to click on create,
and create myself a new triggered task.
And the name I'm going to gie this triggered task
is simply called UEM refresh.
And then under trigger
I'm going to choose workstation unlocked.
So anytime my virtual desktop is unlocked
this task that I'm about create will be triggered.
And then look at all these different actions
that I can choose from.
I can choose a DirectFlex refresh.
I can choose a UEM refresh.
I'm going to go ahead and choose a UEM refresh.
And then I'll choose what sort of tasks, action,
I want to take on.
So I want to modify my application blocking settings.
I want to modify my drive mappings.
And I'll also chose horizon smart policies
and privilege elevation settings.
So basically I'm choosing, hey,
what do I actually want to refresh from UEM
whenever this workstation is unlocked,
what settings should be refreshed from UEM at that time?
And then if I'd like to,
I could establish some conditions here.
So if I only want to do this for certain group memberships,
or if I only want to do this
based on certain endpoint IP addresses
or the IP addresses of the virtual desktops,
or the time range or something like that,
I could establish conditions.
I'm not going to establish any conditions
in this case though,
I'm going to go ahead and just hit save,
but I like to point that out because that's a big piece
of user environment manager is the ability
to establish conditional tasks that occur.
So now that I've hit save,
you can see my task here, is right here.
UEM refresh.
If I refresh my console, there it is.
UEM refresh.
So I've now established a new triggered task.
And so now let's check it out.
I'm going to minimize this, open up my Chrome browser here
in the lab environment,
and I'm going to go ahead
and open up the html Horizon client.
And I'm going to go ahead and login.
So I've gone ahead and put in my credential here.
I'll go ahead and click login.
And basically the goal here
is we want to launch an instant clone desktop
and validate that the configuration changes
that we make take effect.
So let's go ahead and grab a desktop
from this instant clone pool.
And when we get logged in we'll launch WordPad
I'm going to click here on the start menu
and I'm going to lock this machine.
Now remember, we created a triggered task
that is going to occur when this work station is unlocked.
A UEM refresh.
So now, if I go ahead and minimize this
I got back to UEM,
any changes that I make in UEM,
should get pushed to that virtual desktop
whenever that virtual desktop is unlocked.
So last time around we saw that we only had a C drive.
I'm going to go back here to personalization
and under WordPad,
I'm going to make some changes here.
So under WordPad I'm going to click
on this user environment tab,
and under add, I'm going to add myself a new drive mapping.
I want to make another drive available
when I'm saving stuff within WordPad.
And here's the configuration settings that I've chosen.
So I've named this drive mapping just Rick Crisci demo.
It's going to map this as the M drive
and it's basically just pointing to a folder on my C drive.
So we're creating a drive mapping.
It's really just going to a folder on our C drive.
The other thing that I'm doing here,
is I'm doing an undo add application exit.
So, when I exit out of WordPad,
this drive mapping should be undone.
I shouldn't have an M drive available
inside of my workstation.
So I'll go ahead and hit save here
and save the changes to this configuration.
And I'll also click on save config file here
and let's go ahead and jump back
into our virtual desktop now and see what happens.
So I'm going to unlock my virtual desktop
at which point the user environment manager settings
should be refreshed.
And look at this.
Welcome back, you've just unlocked your workstation
this message has been sent using UEM.
Okay, let's see what happened here.
I'm going to double click WordPad.
Open up WordPad and I'm going to go to view
and look at that.
The two boxes that I unchecked are still unchecked.
The measurement units are still changed to centimeters.
And if I do a file, save as,
let's see what drives I have available to myself.
There's my M drive.
The drive that I mapped as part of UEM.
So now I have this drive mapping
that has been configured using user environment manager.
And I'm just going to open up a file explorer window here
and look at that.
There's this drive mapping that's been created.
So, I don't need to save anything here in WordPad.
As a matter of fact,
I'm just going to go ahead and close out of WordPad.
Shut that application down.
And so now, at this point, that M drive
should be on map.
I still see it here.
Let's see if I can access it.
Nope.
M drive is no longer mapped for me.
So now, let's take it a step further.
This is an instant clone pool.
So what I'm now going to do is go ahead
and sign out of this desktop.
It's going to disconnect me.
Now, as would any instant clone pool,
the moment I sign out of that desktop,
that desktop is destroyed.
So let's go ahead and click
on this instant clone pool once more
and let's go ahead and get a new instant clone.
So I'm logging in as the same user.
I'll go ahead and put in my credentials,
get logged in here.
And let's just validate setting changes
that we've made to WordPad.
Still exist, that those setting changes are persisted,
even as we move from one virtual desktop to another,
that those settings are not being changed
or that those setting changes that we've made
are not being lost.
Okay, so now I'm logged into my new desktop.
Let's double click WordPad.
Take a quick look at my settings.
And it looks like everything
is still configured the ideal way here.
I've still got all my configuration changes in place.
If I go to Windows Explorer,
we should see that drive mapping
because we've launched WordPad.
And if I click on that drive mapping, it's available.
And so now we've validated that our UEM settings
not only work after a triggered task was carried out,
that I unlocked the work station.
But also when I logged out of the desktop
and logged into the new desktop,
those settings were consistent across those two desktops.