Windows Virtual Desktop Optimizations Script

Will improve your WVD performance by minimizing app graphic redraws, background activities that have no major benefit to the VDI environment, and generally reduce running processes to the bare minimum. Most This code was developed by “The Virtual Desktop Team” formally known as TheVDIGuys (Robert M. Smith and Timothy Muessig) as well as became Fully automated with the final touch of Dean Cefola

 

How to Optimize Windows Virtual Desktop Session Host using PowerShell Script

Check Overall Running Services before performing the script.

Get-Service | Where-Object -Property Status -EQ Running | Measure

How to Optimize Windows Virtual Desktop Session Host using PowerShell Script

Just download and run the Script on the WVD Session host after creation with admin account.

NOTE: This script now takes just a few minutes to complete. VM will be rebooted when the script has completely finished running.

How to Optimize Windows Virtual Desktop Session Host using PowerShell Script

Check Overall Running Services after performing the script.

Get-Service | Where-Object -Property Status -EQ Running | Measure

How to Optimize Windows Virtual Desktop Session Host using PowerShell Script

How to Optimize Windows Virtual Desktop Session Host using PowerShell Script

Reference: https://docs.microsoft.com/en-us/windows-server/remote/remote-desktop-services/rds_vdi-recommendations-1909

Share:

administrator

Microsoft MVP & MCT | Azure Service Delivery Lead with over 12 years of experience in Microsoft solutions and Professional services, Leading the Azure team to help our customers to build successful Azure practices, Blogger, Speaker, and Community leader. Focus on Azure, Cloud Security, Modern Workspace, AVD, Infrastructure as Code, Endpoint Management, Office 365, EMS.