How to Optimize Windows Virtual Desktop Session Host using PowerShell Script

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

 


Check Overall Running Services before performing the script.

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


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.


Check Overall Running Services after performing the script.

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



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

Mahmoud A. ATALLAH

Microsoft MVP | Speaker | Azure Service Delivery Lead at Bespin Global MEA, helping customers build successful Azure practices. Talks about #AzureCloud and #AI

Recent Posts

Gitex – Ensuring a Secure & Scalable AI-powered Solution with Azure

In this session, we will explore the architecture and best practices for building secure and…

2 months ago

Part 4: Data Exfiltration Playbook – Azure WAF Security Lab

Introduction Welcome to our comprehensive series on Azure Web Application Firewall (WAF) security! In this…

3 months ago

Part 3: Vulnerability Exploitation Playbook – Azure WAF vs XSS

Introduction Welcome to the third installment of our Azure Web Application Firewall (WAF) Security Lab…

4 months ago

Part 2: Reconnaissance Playbook – Testing Azure WAF Protection

Introduction Welcome to the second installment of our Azure Web Application Firewall (WAF) Security Lab…

4 months ago

Part 1: Lab Setup – Building Your Azure WAF Testing Environment

Introduction Welcome to the first installment of our four-part Azure Web Application Firewall (WAF) Security…

4 months ago

Azure Web Application Firewall: A Hands-on Security Lab Series

Introduction In today's digital landscape, protecting web applications from sophisticated attacks is crucial. Azure Web…

4 months ago