VMware Horizon Community
WheatonCollege
Contributor
Contributor
Jump to solution

Powershell script to optimize Windows 10 master image before recompose

Hi all,

I'm looking for a Powershell script that I can run to optimize my master image (Windows 10) each time I recompose the pool. I already ran the VMware OS Optimization Tool, do people just typically run that each time before they shut down their master image before they recompose? A scenario I am thinking of is when we update Java, it always adds itself to run at system startup and in our Windows 7 environment we have a Powershell script that helps us find things like that.

Any suggestions are welcome!

Thanks

Reply
0 Kudos
1 Solution

Accepted Solutions
Magneet
Hot Shot
Hot Shot
Jump to solution

you can edit the OS optimizer template to always remove that startup. You can also embed powershell scripts in there to be run when you optimize. And yes always run the tool before 'closing' the image.

View solution in original post

Reply
0 Kudos
1 Reply
Magneet
Hot Shot
Hot Shot
Jump to solution

you can edit the OS optimizer template to always remove that startup. You can also embed powershell scripts in there to be run when you optimize. And yes always run the tool before 'closing' the image.

Reply
0 Kudos