/Windows_10_VDI_Optimize

Windows 10 optimization script for VDI configurations

Primary LanguagePowerShellMIT LicenseMIT

Introduction

Automatically apply setting referenced in white paper: "Optimizing Windows 10 for a Virtual Desktop Infrastructure (VDI) role" URL: https://docs.microsoft.com/en-us/windows-server/remote/remote-desktop-services/rds-vdi-recommendations-1803 URL: Update once later versions are published on docs.microsoft.com

Getting Started

DEPENDENCIES 1. LGPO.EXE (available at https://www.microsoft.com/en-us/download/details.aspx?id=55319) 2. Previously saved local group policy settings, available on the GitHub site where this script is located 3. This PowerShell script

This script is dependant on three elements: LGPO Settings folder, applied with the LGPO.exe Microsoft app

IMPORTANT ISSUE (01/17/2020)

IMPORTANT: There is a setting in the current LGPO files that should not be set by default. As of 1/17/10... a fix has been checked in to the "Pending" branch. Once we confirm that resolves the issue we will merge... into the "Master" branch. The issue is that Windows will not check certificate information, and thus... program installations could fail. The temporary workaround is to open GPEDIT.MSC on the reference image... The set the policy to "not configured". Here is the location of the policy setting:

Local Computer Policy \ Computer Configuration \ Administrative Templates \ System \ Internet Communication Management \ Internet Communication settings

Turn off Automatic Root Certificates Update

IMPORTANT ISSUE (01/27/2020)

A new issue was discovered recently regarding the 'CDPSvc'. If that service is disabled, and a new user logs on to the computer then opens 'System Settings' to view display settings, 'SystemSettings.exe' will crash and log an error to the event log with code "fatal app exit". We removed the entry 'CDPSvc' from 'Win10_1909_ServicesDisable.txt' as a result.

As of 1/27/2020, the updated 'Win10_1909_ServicesDisable.txt' has been updated in the 'CDPSvc' branch. Please test that branch and comment if any issues found. If not, we will merge branches.