VMware Cloud Community
MariusRoma
Expert
Expert

Scheduled update of VMware Tools

Given a vSphere 5.5 infrastructore based on ESXi 5.5 hosts hosting Microsoft Windows Server VMs, is there any way to schedule the update of VMware Tools inside each single VM (and the related reboot) to happen during the night, using a scheduled task, a PowerShell job or anything like?

Regards

marius

6 Replies
vijayrana968
Virtuoso
Virtuoso

Do you have Update manager in environment? If yes, then refer to point 4 in Six Methods for Keeping VM Tools Up to Date - VMware vSphere Blog

Or you can automate to upgrade tools at next power cycle of each VM.

0 Kudos
HarjitSB
Enthusiast
Enthusiast

Hello Marius,

This is two steps job.

First  -- Configure the "Check and update Tools during power cycle" from the Update manager.

For reference - VMware vSphere 5.1

Second - Create a Scheduled Task in the vSphere Web Client

For reference - VMware vSphere 5.1

Rgds

-Harjit

vmwars.wordpress.com

Like, Mark as helpful or Answered if found Ok

MariusRoma
Expert
Expert

We don't use Update Manager.

Does the suggested solution worh without Update manager?

Is there any alternate solution, maybe based on PowerCli?

Regards

marius

0 Kudos
msripada
Virtuoso
Virtuoso

You can login to the vSphere client to vCenter and you can find the option of Scheduled tasks - > You can create a task for the virtual machines to update VMware tools (you can schedule it or you can ask it to update it when next restart etc).

Honestly, I have not tried if it works for single VM. You can give it a shot in a test environment or lab before trying in production.

Thanks,

MS

MariusRoma
Expert
Expert

Many thanks for your answer.

In scheduled taskt I don't see any option to create a task to update VMware Tools.

Can yopu please tell me which kind of task I should use?

Regards

marius

0 Kudos
msripada
Virtuoso
Virtuoso

Can you check under the scan for updates option if the VMware tools is available. You can also try the steps in the below VMware blog

Six Methods for Keeping VM Tools Up to Date - VMware vSphere Blog

0 Kudos