Information
Disable tools auto install.
Tools auto install can initiate an automatic reboot, disabling this option will prevent tools from being installed automatically and prevents automatic machine reboots.
For Linux-based operating system, Open VM Tools is widely available as an distribution-based package. Consider using this method to manage your VM Tools installation. If you do this, you should disable VM Tools auto-install using this guideline.
Solution
# Add the setting to all VMs -
Get-VM | New-AdvancedSetting -Name "isolation.tools.autoInstall.disable" -value $true