VMware Cloud Community
TomasCorey
Enthusiast
Enthusiast

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

Reply
0 Kudos
3 Replies
lucasbernadsky
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

Reply
0 Kudos
scott28tt
VMware Employee
VMware Employee

Moderator: Thread moved to the PowerCLI area.


-------------------------------------------------------------------------------------------------------------------------------------------------------------

Although I am a VMware employee I contribute to VMware Communities voluntarily (ie. not in any official capacity)
VMware Training & Certification blog
Reply
0 Kudos
LucD
Leadership
Leadership

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

Reply
0 Kudos