Configure FSLogix Group Policy and install FSLogix App

Reading Time: 5 minutes

Continuing from the previous post where I used Azure Files for FSLogix User Profile Data with WVD, I will now continue with creating a group policy for FSLogix settings, installing the FSLogix service and testing. You can check out the previous post by clicking the following link Use Azure Files for FSlogix User Profile Data with Window Virtual Desktop

Before we get started, download the FSLogix templates from aka.ms/fslogix_download

The files will be required to allow you to configure FSLogix Group Policy settings.

  1. I start with logging into my domain controller and launch AD Users and Computers
  2. I created a new OU named WVD Session Hosts

3. I created a couple of WVD session hosts in a previous blog post. The blog post can be located at Deploying Windows Virtual Desktop in Microsoft Azure

I move the two hosts to my newly created OU. By default the sessions hosts were created in the Computers OU

4. ok, so both session hosts are now included in the new OU WVD Session Hosts

5. Now, back to the FSLogix files we downloaded at the beginning of this post

6. Copy the fslogix.admx file and paste it to your domain sysvol folder. As shown below.

In my case i will be browsing to:
\CloudBuild-Serv\SYSVOL\CloudBuild.co.uk\Policies\PolicyDefinitions

and will copy my admx file here as shown below. I had to create the PolicyDefinitions folder because this is a new domain controller. You may already have this folder in place.

7. Next i will copy the language file fslogix.adml file

I will copy this file to folder en-US. A folder didn’t exist because this is a new domain controller.

8. Next launch Group Policy

9. Create a new policy. I have named my policy FSLogix Profiles

10. Right click and edit the policy

11. Expand Computer Configuration > Administrative Templates > FSLogix and click Profile Containers

12. Firstly, i’ll enable FSLogix

Double click Enabled and click enable, Save

13. Next I will set the VHD location to where the FSLogix profiles will be stored. Don’t forget to add your profiles folder to the end of the path. Save settings

14. Then click Size in MBs

The default is 30GB, we’ll change to 20GB and save settings

15. Next, i click on Delete local profile when FSLogix Profile should apply

16. Click container and directory naming

17. Access Swap directory name components and enable as show below. Save

18. Next click virtual disk type, configure (Select VHDX) as shown below and save

That’s it for configuring the GPO

19. I will now link the GPO to the OU i created earlier

20. Now we’re ready to install the FSLogix client. So, I have two Windows 10 session hosts that were deployed as part of a previous blog post. You can check the post at the following link Deploying Windows Virtual Desktop in Azure

I’m going to RDP to both and install the FSLogix client. If you have a base image also known as a gold image, the application can be deployed to the the base image. I will cover this in a separate blog post.

Here is what i did to install the FSLogix App

1. RDP to both Windows Session Hosts from my domain controller
2. Visit and http://aka.ms/fslogix_download to download the FSLogix client
3. Extract the folder
4. Access the folders named x64 > Release
5. Run the FSLogixAppsSetup file
6. When ready to accept license agreement, click install

7. Run gpupdate /force
– Open command prompt on the session hosts
– Type gpupdate /force and enter
– Log off both hosts

8. Now the moment has arrived. We will be testing FSLogix

Login options via
– https://rdweb.wvd.microsoft.com/webclient/index.html
– Download and configure the Windows Virtual Desktop Client

9. Login with a user part of the WVD Users group

10. Let’s create a couple of test folders on the desktop

11. Now i need to log off and back on, but this time I want to logon to the second session host. I will enable drain mode on the host I am currently logged on to. Drain mode means that the session will not accept sessions. Similar to Maintenance mode in Citrix.


12. To enable drain mode on the WVD session host that i am currently logged onto:
– Log in to the Azure Portal
– Click Windows Virtual Desktop
– Click Host Pools
– Click on the host pool
– Click Session hosts from the left pane
– Click the session host showing an active session

13. Enable Drain mode

]

14. Log off and log back on

15. And here are the two folders we created on the desktop



16. Now lets access the Azure file share and check the profile

Success

I am logged onto the second host, whilst Drain mode is enabled on the other host


Stay tuned for further WVD posts 🙂

How to install and configure Windows Desktop client

Reading Time: 3 minutes

In this blog post I will go through the process of connecting to a Windows Virtual Desktop (WVD) solution via the Virtual Desktop Client. I will configure the settings directly from the WVD host pool.

In previous blog posts, I used the web client for accessing my WVD platform https://rdweb.wvd.microsoft.com/webclient/index.html

The web client is great for quickly connecting to a WVD platform, but lacks some redirection functionality compared to the desktop client. Visit the following Microsoft link for information on redirection support based on the type of client (Windows, Mac, Android etc) – Redirection Support.

Let’s get started

1. Download the Windows Desktop Client
2. I’ll be downloading the 64 bit version to a machine joined to the domain

#

3. Double click the install file, click next

4. Accept the license terms when ready to do so and click next

5. Click Install and allow the install to complete

6. Click subscribe

Subscribe with URL: More information on subscribe with URL can be located at the following Microsoft link. Subscribe with URL. I will be covering Subscribe with URL and configuring email discovery in a later blog post.

7. Sign in with your credentials

8. Wait for resources to load

9. And we’re in

By default, you’ll find that redirect of disk drives is allowed, users can copy information from within the virtual desktop to their local desktop.

10. Let’s visit the WVD Host Pool within the Azure Portal
– Click Windows Virtual Desktop
– Click Host Pools
– Click the host pool
– Click RDP Properties

11. There are a number of tabs for you to explorer, but for the purpose of this demo, I will be disabling copy to clip board which is available under

When configuring the various settings, you’ll find the Advanced tab is updated as shown below.

Click Save when done


WVD Your Credentials do not have access to this web application

Reading Time: < 1 minute

AAD Authentication Error
Your credentials do not have access to this web application. Please try again with different credentials or from an inPrivate browser session
.

Common issues:

  1. You’re already logged into a different tenant from your device. Log out
  2. Launch an inPrivate Session or incognito mode
  3. Clear internet cache, close and reopen Internet browser
  4. Flush dns (From command prompt ipconfig /flushdns)
  5. Login with the desktop client – see instructions for installing the client at: Installing Windows Virtual Desktop client

It would be great to know if any of the above resolved your issue. Or if you managed to locate a different fix. Please comment below. Thanks

How to setup budget Alerts in Azure

Reading Time: 3 minutes

Budget alerts are helpful for managing costs within your Azure Portal. Budget alerts notify you when spending, based on usage or cost, reaches or exceeds the amount defined. It’s a great way to keep an eye on your spending within Azure. I find it useful with my MSDN account which comes with a monthly limit.

Note: You can also set alerts on allowed budgets at the resource group or management groups scopes.

  1. Login to Azure Portal portal.azure.com
  2. Click subscriptions or browse via the search bar

    If the subscriptions option is not visible in the left pane, you can add it by marking it as a favourite. You can do this with any of the icons within the Azure portal.

    Hover over the icon and click the star as shown below

3. Once you’ve clicked subscriptions, click your subscription. In my case i’m running a month free trial subscription.

4. Click Budgets

5. Click +Add

6. Complete budget details (See example below)

7. This is a new subscription so I don’t have any past monthly cost data. But if you were running your subscriptions for a few months, you will get an idea of how much you have spent in previous months and could base your amount on past statistics.

8. When ready, click next to move to the alerts sections

9. Complete alert details. In the example below, I will receive an alert at 75% (£75 monthly cost). I will receive another alert when I reach 90% (£90 monthly cost).

10. Click create

Future alerts will be sent to you via email and can also be accessed via the option Cost Alerts as shown below.

If you wish to look at whether there is are any potential cost savings within your Azure Portal. Take a look at the Azure Advisor feature – Click Save Costs With Azure Advisor

Windows Virtual Desktop Application Group Creation

Reading Time: 3 minutes

In this blog post, i will create a WVD application group within the Azure Portal. Application groups are a collection of remote applications that you can present to a user or group of users. Please note that this applies to a pooled host pool.

In an earlier post i deployed a WVD solution. See Deploying Windows Virtual Desktop in Microsoft Azure

1. Login to the Azure Portal portal.azure.com
2. Click Windows Virtual Desktop
3. Click Application Groups


4. Click + Add

5. Input details (See example below). Ensure you use the same resource group as your host pool location

6. Click next to move on to the applications section

7. Click + Add Applications

8. Add your applications as required. Options available are to add an application from start menu, file path or an MSIX App.

For the purpose of this demo, I have added the apps below

9. Click Next to move onto Assignments

10. Click + Add Azure AD users or groups

11. For the purpose of this demo, i am adding a single user cloud build user 1 synced to Azure AD via Azure AD Connect

12. Click next to move onto the workspace section

13. Click Yes

14. Add tags as required and click next
15. Review and click create once validation passes. The process takes about a minute

Let’s test by logging in with user cloud build 1 which was the only user that I assigned to the application group.

The applications are visible as show below