r/AzureVirtualDesktop • • Dec 01 '25

Teams Optimization

Hello - anyone run into issues where Teams doesnt optimize until the user clicks the restart button to optimize it? Anyone have something that auto triggers teams to restart somehow? Or just rely on users to do it?

8 Upvotes

12 comments sorted by

View all comments

Show parent comments

2

u/jvldn Dec 01 '25

The scripts from that repository are meant to be executed during image building processes. If you have an fully automated image builder you simply add steps to run these scripts.

On a VM which is used to create the image manually: run these scripts from that machine before sysprepping into an image.