Highlighted
Contributor
Contributor

How to vMware Tools update without reboot Windows Virtual Machine

Hello,

          I have vSphere 6.5 & 6.7 and I'm searching if the vMware's Tools can be updated on Windows' VM's without reboot the machine. I'm testing with:

  1. $VM = "MyVM" 
  2. Get-VM $VM | Update-Tools -NoReboot

But unfortunately the VMs still restarts.

Thanks


Best Regards
Tomás Esteban Corey

0 Kudos
3 Replies
Highlighted
Hot Shot
Hot Shot

Hi Tomas. That's kinda weird, it worked for me.

Let's try this:

$VM.name = VM_Name

Update-Tools -NoReboot -VM $VM.Name -Verbose

Maybe this can clear some things for you. Automating Upgrade of VMware Tools and VM Compatibility - VMware vSphere Blog

Or from vCenter/s /v/qn ADDLOCAL=ALL REBOOT=ReallySuppress in the advanced settings of the VMware Tools upgrade console

0 Kudos
Highlighted
VMware Employee
VMware Employee

Moderator: Thread moved to the PowerCLI area.


Forum Usage Guidelines: https://communities.vmware.com/docs/DOC-12286
VMware Training & Certification blog: http://vmwaretraining.blogspot.com
0 Kudos
Highlighted
User Moderator
User Moderator

It depends a bit on what kind of Guest OS you have running in that VM.
And which virtual HW and drivers you are using.uirement

In several cases you can't avoid a reboot requirement, but you can postpone it with the NoReboot switch.


My experience has shown me that it is not always obvious why a reboot was done.

Check the logs to find clues.


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

0 Kudos