.

 

 

AVD-Prep

Reduce AVD Session Host Image Deployment times

Virtual Machine Scale Set Image Management for Azure Virtual Desktops

When deploying an AVD Session Host with AVDManage, the Session Host must be registered to a host pool by installing the Microsoft Remote Desktop Services Infrastructure Agent and the Remote Desktop Agent Boot Loader. This can add 30-45 seconds to the deployment time.

AVD-Prep.ps1 pre-installs the Microsoft Remote Desktop Services Infrastructure Agent and the Remote Desktop Agent Boot Loader Agents in the master image with required Az Powershell Modules.

When deploying a Generalized Image with AVD-Join or deploying a Specialized Image with AVD-Turbo, the Remote Desktop Agents do not have to be downloaded and installed. Instead, the WVDToken is passed to the Virtual Machine and the Remote Desktop Agent Boot Loader Service is started reducing deployment time by 30-45 seconds.

AVD-Prep.ps1 should be run before sysprepping a Generalized image, or shutting down a Specialized image.

The following tasks are performed when running AVD-Prep.

  • Installs Nuget
  • Trusts the PSGallery
  • Installs Az.Accounts Powershell module
  • Installs Az.DesktopVirtualization Powershell module
  • Installs the Microsoft Remote Desktop Services Infrastructure Agent with an INVALIDTOKEN
  • Installs the Microsoft Remote Desktop Agent Boot Loader
  • Stops and Disables the Remote Desktop Agent Boot Loader Service
  • Configures the registry for AVD-Join or AVD-Turbo

 

   

 



Cookie Policy: We do NOT use cookies.