AVD-Optimise.ps1 implements Recommended settings for VDI desktops. It may be run to initially configure an AVD Session Host and as part of regular maintenance.
- Disables unnecessary services
- Disables update services (Edge, Chrome, OneDrive, Windows & Office)
- Disables maintenance and update tasks
- Applies Local Policy Settings
- Empties Recycle Bin
- Clears Branch Cache
- Resets Windows Search
- Removes Azure Logs and Extensions
- Removes temporary files
- Clears event logs
Please validate optimisations for appropriateness in your environment.
All update services and tasks are disabled therefore AVD-Optimise should be used with a regular update process. AVD-Update.ps1 updates Virtual Machine Master images.
AVD-Optimise does not remove any AppX packages as requirements vary between differing environments.
Delete the payload of unwanted Store apps explains how to remove unwanted AppX packages.
After removing AppX packages from the system, the same packages that have already provisioned should be removed from all local user profiles.
Remove-AppXpackage -AllUsers <packagename>
This prevents issues running sysprep later.
|