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

Windows Virtual Desktop is a comprehensive desktop and app virtualization service running in the cloud. It’s the only virtual desktop infras07ucture (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.
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.
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\con07ol 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

    Comments

    Popular posts from this blog

    Getting Started with Logic Apps - XML to EDI X12

    Operation on target Copy data failed: Failure happened on 'Source' side

    The request has both SAS authentication scheme and 'Bearer' authorization scheme. Only one scheme should be used