Microsoft Azure WVD (Windows Virtual Desktop) – Auto-deploy FSLOGIX

Spread the love


Windows Virtual Desktop is a comprehensive desktop and app virtualization service running in the cloud. It’s the only virtual desktop infrastructure (VDI) that delivers simplified management, multi-session Windows 10, optimizations for Office 365 ProPlus, and support for Remote Desktop Services (RDS) environments. Deploy and scale your Windows desktops and apps on Azure in minutes, and get built-in security and compliance features.

When you want to use the default images without too much alterations (because you only need to publish simple applications or just a desktop/browser/etc), you still might want to use the FSLogix profile manager. This post describes the installation of the agent in an automated way so quick deployment of marketplace images is now possible.
As I’ve demonstrated earlier in my enablement to our MS partners, end customers on use case of WVD. 
In this blog post I have an Azure FileShare with AD integration available and a group policy that automatically configures the FSLogix agent (if installed) – so after the installation of the FSLogix agent it will automatically be configured for users.
I have used that same group policy to now install the FSLogix agent to when we deploy a new pool (or expand an existing pool) with a default image it will automatically configure itself and make the pool ready for users.
The way I did this in my demo environment is the following:
  • I downloaded the agent (FSLogixAppSetup.exe) and placed it on a blob storage account in Azure with blob anonymous permissions (optionally you could enable a private endpoint for more security)
  • In the existing group policy I created an instant task under the computer\preferences\control panel\scheduled tasks hive


Next, give the task a name, set the security options to SYSTEM and run whether user is logged on or not.

Under Actions you create 1 tasks (if you cannot select Run whether user… save the task first, and then re-open it later after configuring everything):

  • Start PowerShell and invoke a download – this will download the exe file from the blob and store it locally on the client and executed for instalation in 1 go:
    • Program: PowerShell
    • Arguments: Invoke-WebRequest C:>powershell -command Invoke-WebRequest https://.blob.core.windows.net/installs/FSLogixAppsSetup.exe -UseBasicParsing -outfile c:\packages\FSLogixAppsSetup.exe ; start-process -FilePath c:\Packages\FSLogixAppsSetup.exe -Argumentlist “/install”,”/quiet” -NoNewWindow
    • Start-in: C:\Packages

Next, we don’t want to run this task if the agent is already installed (for example when we also have template computers or when the task is completed already. So, under common we use the item-level targeting to filter out the task if needed.

Once this is implemented, newly deployed computers will initiate the download and install of FSlogix, including newly deployed WVD hosts.

Note : I did the same for Microsoft Edge Chromium, so any newly deployed WVD image, automatically gets the latest Edge Chromium and FSLogix installed!

Stay healthy and safe.  In coming blog you will see that how WVD can be deployed in Enterprise and SME sector. 
Feel free to comments and reach if you any more queries you may have in this regards.  
Regards
Shiv


Share this content:

I am a passionate blogger with extensive experience in web design. As a seasoned YouTube SEO expert, I have helped numerous creators optimize their content for maximum visibility.

Leave a Comment