Windows Virtual Desktop how-to | Step 2: Deploy

Windows Virtual Desktop how-to | Step 2: Deploy

Articles, Blog , , , , , , , , , , , , , , , , , , , , , , , , 1 Comment

– Coming up I’ll walk
you through everything you need to know about deploying
Windows Virtual Desktop. Now this is the second how-to
in our series for preparing, deploying and optimizing
Windows Virtual Desktop. I’m gonna walk you through
all the steps and decisions to get to your first host
pool and get that running. Now to get started, you’ll
need to have taken a few pre-requisite steps to setup
your initial WVD tenant. So if you haven’t done that already please check out our
first episode on preparing for Windows Virtual Desktop
at Now assuming that you have
your pre-requisites in place, we’ll look first at how to build
our host pool, then move on to provisioning both full
desktops and apps for users. Now you can think about host pools as a collection of session hosts. Now these are virtual machines that your users will
log in to to experience either full Windows
desktops or remote apps. So the first thing you’ll
need to do here is log into the Azure portal, at Now in the upper left-hand corner I’m gonna click on create a resource. Now here’s where I’m gonna search for Windows Virtual Desktop. So go ahead and start typing that in. And we’ll see the option we want here, provision a host pool. And now we do that, we’ll
see a nice welcome screen and I’ll click create from that screen. And now in the basics I’m
gonna type the host pool name. In my case I’m just gonna
call it my first host pool and then we’re presented
with our first option. So this is a choice as to whether or not create a pooled
or a personal desktop. Now a pooled desktop allows
multiple user accounts to log in to the same virtual machine. Pooled desktops in
general are more efficient and less expensive, but
because several users share the same virtual machine, in
most cases none of these users are gonna be local admins,
so you’ll need to find another process to install
apps and configure the VM. Now a personal desktop
is where each user has their own personal virtual machine, and this is useful for VMs that need to be dedicated to one user and that user typically is going to be a local admin. So in my case I’m gonna
go ahead and select pooled and then I’m gonna add my default users. Now these are just the email
addresses for, in my case, users of Megan B. and Adele
V., separated by a comma you don’t want any spaces in between that. And in the future we’ll be able to add groups to that as well. Now I’m gonna go ahead and
give this a new resource group. So this has to be an
empty new resource group. I’m gonna use WVD3 and
select the East US 2 region for the location of where WVD
is running my first host pool. Now in this screen we
actually have a few options in terms of configuring the
number of virtual machines. So we have different usage profiles: light, medium and heavy. Now you’ll see as I change
these different values, the size of the VMs as well as the count of the VMs will change with it. So we’ll start with light and you can see that I’ve got three VMs. With heavy I’ve got seven,
with medium there was four. If I change the user
account, our user account there’s only with 25 users
there’s one VM now selected and now I can do change size. Now this will actually change the size of the virtual machine and
if I filter that I can filter for example by machines that
have graphics processors or GPUs, and if I wanted to add that here, I could select any of these VMs as part of GPU support for my virtual machines. I’m gonna stick with the default here. Then I’m gonna configure a
virtual machine prefix name. Now in this case I’m going
to just add WVD to my virtual machines and here’s where
I move on to step three. Now this is gonna
actually let me configure where the image is coming from to build out my virtual machines. So by default gallery is selected but I could also choose
if I want to blob storage and that would need to
point to an image URL which is a path to a VHD file. I can use a managed image
if I’m managing my images in Azure currently and
just with an image name and resource group I
can point to that one. Or I can use the gallery. Now the gallery has three
different images in it by default. Windows 10 Enterprise multi-session with Office 365 Pro Plus. There’s a version without
Office 365 Pro Plus and a server 26 team version. I can also select the disk type. I’ll stick with Premium SSD. Then I’m going to add my
Azure AD user account here, in this case
[email protected] and I will add Megan’s passwords as well and confirm that here also. This is going to be how I
log in to my virtual machine. Now here’s where I can specify if I wanna use a domain or OU. So in this case I actually
want to select the domain, not an organizational unit. I’m going to input my domain again, it’s going to match
with what you saw above and once I’ve typed that
in, then it’s gonna ask me which virtual network to join. So here in the previous
step we actually created our virtual network so we’re
gonna use the WVD network and then we’re gonna use the
same subnet that we created for our domain services account. So we’re gonna go ahead and
select that from the dropdown, domain services, then we’ll click ok. So now I’ve configured my
virtual network and my subnet. Now I can move on to step four. Now step four is where we actually input our tenant group name and
virtual desktop tenant name. So we’re gonna go ahead and
type our default tenant group. We’re gonna type our tenant name which is Windows Virtual
Desktop in my case and here’s where we can actually
decide how we wanna log in to the Windows Virtual Desktop tenant. I can either log in using
a user principal name which is a single email address or I can use a service
principal which is better if you’re using things like
multifactor authentication. In my case and just to keep it
easier I’m going to use a UPN and then I’m gonna input a UPN
which is basically gonna be Megan’s account again, and
we’ll go ahead and add that. Then we’ll add the password for Megan, two times again and now
when that’s finished, we’ll move on to steps five and six. Now the good news is with
step four you finished all of the main configuration steps. Steps five and six are
basically confirmation pages. The first one is a
summary of all the things that we just set and configured
with our number of users, our VM size, etcetera and now
on step six it says a buy page which basically gives
you all the terms of use and other verbiage around
Windows Virtual Desktop. We click create and that’s gonna kick off the provisioning process. In most cases this will
complete in just a few minutes. So when you’re finished
you’ll have a full desktop environment to log into
and Azure will let you know once provisioning is complete. Okay, so let’s log in to a VM that we created earlier
with Megan’s account. So to do that we’re
gonna go to and this is our HTML
file client to be able to access Windows Virtual Desktop. So once I log in with Megan’s credentials you’ll see that I have one option here, the session desktop which is the default. So when I log in to that it’s gonna ask for my domain credentials. It’s also gonna ask if I
want to use the clipboard and printer and I can also
opt to not show that again and I can control these settings
if I want to by a policy in case you don’t wanna
expose those to the user of that functionality exposed to the user. Now once I open up the session itself, it’s gonna ask for a secure
log in for the domain now, that side of the authentication. When I click submit, that’s gonna actually log me in to that virtual machine. So once I’m logged in
to the virtual machine you can see here I’ve got a full desktop. I can maximize the window if I want to. Now the nice thing is, once I
do that I’ve got full screen real estate and you can
see that I’ve already got the browser and all of
my Office apps pinned to the taskbar and ready to go. That’s the full desktop. So next, let’s configure our remote app. So this is only gonna
display an app window and not the full desktop. Now to do that I’m gonna use Power Shell. Like we did in the first
episode, we’ll start out by opening an elevated Power
Shell ISE window ’cause we need to import and install the
modules required for this. So you see the first
couple of steps here are to import Microsoft.Rdinfra.RdPowerShell and then I’m going to install that. So now I can actually log
in to my remote desktop broker tenant and we’ll do that
with Megan B.’s credentials in this case that I’ve defined earlier as part of tenant creation
and now I can do a get command against that RDS tenant
for Windows Virtual Desktop three that we’ve just created. Now we’ll see that here and
it’s returning the right things. Now if I do a get RDS app group, this is gonna actually
show all of the apps that are part of our app groups that are part of that tenant environment. Now when I go ahead and
click on a new RDS app group ’cause I wanna create a remote app group in this case called Basic App Group. I’m going to do that here with these properties and parameters. Now I’m gonna use the Get RDS
remote menu app command line and type in my tenant
name, my host pool name and also my app group and
now we see everything here and now the next thing is I can go in and actually see all the
apps that I have installed as remote apps into that virtual machine. Now I wanna target one of these apps, in this case the app
alias is equal to word and I wanna use that to
create a new remote app group and I’m gonna import that app alias into that app group as one of the apps. So I’ll do that here and I’m going to give it a friendly name. In this case I’ll use the
same friendly name of word. Now one thing to point
out here is by default, in our case Megan’s account is gonna have a app group assigned to her which is equal to the desktop application group. Now for a host pool, you can only have one app group assigned per user. So I have to remove Megan
from that desktop application group in order to add
her then to the new group that we just created
called basic app group. So we’ll do that first and
then we’ll add Megan to the new app group that we just created
called basic app group. We’re gonna assign her user principal name in this case and when I do that, now Megan’s actually assigned
to that remote app group. So here you’ve seen that
we were able to create the app group, find the
apps that we wanted, then basically unassign
Megan from the old group, assign her to the new group
and now we can go ahead and add more apps to that if we want to to fill that out with
additional applications. So now to test it to make sure this works. We’re gonna go back into the browser and we’re gonna open up one more time. I can see all the apps that
I have the rights to access. In this case you see that Word is here like we just configured
and now I’m just launching the Word window only as a remote app without the rest of
the Windows 10 Desktop. So like we did before we
can maximize the screen. We can also go ahead and
start using Word if we want to and you’ll see that it’s very responsive and everything’s there as
you’d expect it from Word. Because it’s just a remote
app, you don’t see the rest of the desktop around it so when
I take it out of maximized view, you’ll see that it’s
just the one app window. So now you’ve seen how you
can have both a full desktop and remote apps set up for our users, and of course you can add
more and bulk assign apps and users to save time. So that was a quick overview of setting up our first Windows Virtual
Desktop host pool. Now we’ve got a basic environment setup, but the next step we’re gonna
focus on is optimizing WVD further using FSLogix
Profiles to enable state for running of users
between virtual machines. Keep watching this playlist to continue or go to
and we’ll see you there. (techno music)

One thought on “Windows Virtual Desktop how-to | Step 2: Deploy

  • 1971merlin Post author

    Why a limit of one app group only?
    What if I want a user to have a ful desktop but also a published app.
    E.g. I might want to publish a LOB app that runs on a different vm, but also provide a full desktop experience to the user.

Leave a Reply

Your email address will not be published. Required fields are marked *