How to easily update your VMware Hypervisor to ESXi 6.5
Important Update - On Mar 20 2018, VMware VMSA-2018-0004.3 announced that CVE-2017-5715 (Spectre-2) mitigation is now included in the latest patch that you should be using instead of the older patch featured in the original article below. You'll find the newer article that features an even easier update method here:
Article below as it originally appeared.
VMware ESXi 6.5 Release Notes ESXi 6.5 | 15 NOV 2016 | ISO Build 4564106
Warning - vCenter/VCSA 6.x should be upgraded to 6.5 before upgrading your host(s) to ESXi 6.5!
All the background story on how this easy ESXCLI upgrade method came about was covered in my earlier article:
Benefits
- No new license needed to go from 6.0.x to 6.5!
- Users of the free hypervisor and folks who can't download the GA Offline bundle now have a path forward as well!
Prerequisites
Once you've completed ALL of the following preparation steps:
- upgraded to VCSA 6.5
- ensured your ESXi 6.0.x host has a working internet connection
- reviewed the release notes
- reviewed How to easily update your VMware Hypervisor to ESXi 6.0 Update 2 for the full back story that includes some warnings about potential gotchas/driver issues
- backed up the ESXi 6.0 you've already got, using something like one of the home-lab-friendly techniques such as using USB Image Tools, as detailed by Florian Grehl here
you can now safely continue with this one-liner approach to upgrading your lab environment.
Unsupported, at your own risk, see the full disclaimer at below left.
I personally tested upgrading from 6.0U2 to 6.5 my first time with the GA code in the live and (obviously) unrehearsed video below.
What's nice about this ESXCLI upgrade method is that its super simple and convenient, and you don't have to worry about logging in to My VMware and downloading your ESXi 6.5 ISO:
Name: VMware-VMvisor-Installer-6.5.0-4564106.x86_64.iso
Release Date: 2016-11-15
Build Number: 4564106
Upgrade
Download and upgrade to 6.5 using the patch directly from the VMware Online Depot, entire process including reboot is usually well under 15 minutes
- Open an SSH session (eg. PuTTY) to your ESXi 6.0.x server
(if you forgot to enable SSH, here's how) - Turn on maintenance mode, or ensure you've set your ESXi host to automatically gracefully shutdown all VMs upon host reboot, or shutdown all the VMs gracefully that you care about, including VCSA.
- Paste the line below into into your SSH session, then hit enter, waiting somewhere around 3 to 10 minutes for it to finish up, depending mostly on the the speed of the ESXi's connection to the internet, and a little on the speed of the storage media that ESXi is installed on:
esxcli software profile update -p ESXi-6.5.0-4564106-standard -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml - Optional - Depending upon your ESXi firewall configuration, if the above command results in a network related error, the first fix to try is this command:
esxcli network firewall ruleset set -e true -r httpClientthen repeat step 3 above. More details about the firewall here, including a way to return to your prior state.
- If you turned on maintenance mode earlier, remember to turn maintenance mode off.
- Type reboot and hit return (to restart your ESXi server), or use your favorite ESXi UI to restart the host.
- After the reboot is done, it would be a good idea to test login using ESXi host client, pointing your browser to the IP or hostname of your just-graded server, to be sure everthing seems to be working right.
You're done!
Special thanks to VMware ESXi Patch Tracker by Andreas Peetz at the VMware Front Experience Blog.



That's it! When the reboot is complete, you'll see for yourself that you now have the latest ESXi, Build 4564106, as pictured above. Now you have more spare time to read more TinkerTry articles!
By the way, you could use VMware Update Manager on a Windows system or VM, but for one-off upgrades typical in a small home lab, pasting these 1 or 2 lines of code is pretty darn easy.
Looking ahead, since VUM is now built into VCSA 6.5, this will add another way to do future upgrades and patches, even in a small home lab environment.
Potential SATA and Realtek NIC gotchas
If you find some of your SATA/AHCI datastores disappear from view after this upgrade, worry not, the VMFS datastores are still there, you just can't see them. This article should still save you:
Video
Original article snippet, as originally published on Nov 20 2016, appears as it was, below.
Coming soon
It's here, see above!
The TinkerTry'd easy-upgrade method just isn't ready yet, see why at VMware Front Experience Blog's
- VMware ESXi Patch Tracker
The ESXi 6.5.0 GA Imageprofile is not yet available in the VMware Online Depot. Subscribe here now to get notified at release time!
If VMware does decide to make ESXi 6.5 available up there in this same cloudy depot, it's likely you'll be using this simple one-liner, to get the job done:
esxcli software profile update -p ESXi-6.5.0-20164564106-standard -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml
but currently, it errors out with this message:
[NoMatchError]
No image profile found with name 'ESXi-6.5.0-20164564106-standard'
id = ESXi-6.5.0-20164564106-standard
Please refer to the log file for more details.
How about querying what bundles are available, just in case I got the bundle name wrong? See what pcrandom suggests:
esxcli software sources profile list -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml | grep -i ESXi-6
Nope, no 6.5 versions listed there, at all. You can try for yourself, as this is just a harmless list command.
What to do? How to upgrade to 6.5 right now? No problem, just read this article for the somewhat more involved ISO download/mount method:
- How to Upgrade ESXi 6.0 to 6.5 via ISO
Nov 20 2016 by Vladan Seget at vladan.fr
Nov 24 2016 Update
The correct file now showed up on VMware's Respository, as seen in VMware ESXi Patch Tracker, which allowed me to get this all working, and make the edits to the article above.
See also at TinkerTry
-
How to easily update your VMware vCenter Server Appliance to VCSA 6.5
Nov 20 2016 -
How to easily update your VMware Hypervisor to ESXi 6.0 Update 2

Mar 14 2016
-
VMware ESXi 6.5 first look at install/config featuring vSphere Host Client HTML5 Web UI
Nov 15 2016 - Order a TinkerTry'd Supermicro SuperServer Bundle - powerful and efficient home virtualization lab solutions
See also
-
ESXi 6.5 Release Notes for free license and white box users
Nov 24 2016 by Andreas Peetz at VMware Front Experience -
VMware ESXi Patch Tracker
Nov 24 2016 by Andreas Peetz at VMware Front Experience - VMware vSphere 6.5 Documentation Center - Upgrade or Update a Host with Image Profiles
VMware
All Comments on This Article (16)
Those are very old versions, especially if you're in production. You may have issues with drives and support, I would strongly encourage you to do careful research, and consider things like VMware Update Manager. This article is really focused on simple home lab upgrades, which I only tested from 6.x to 6.5 levels.
Hello, I need your help. I have 12 esx i- 5.0, 5.1,5.5,6.0 - may i update all off them to 6.5 U1 with latest patch "update-from-esxi6.5-6.5_update01" ???
Always great to hear that!
Hello
I used your method on 1 ESXI supermicro flawlessly
On the other hand on a White ESXI, I used the same method with -f for force.
After reboot I'm on 6.5. After another reboot i'm back on 6.0 :O
How is it possible ?
Thanks for help
Defintely thank you for that command, it made the upgrade so quick and painless. I don't even know what the USB2 controller is, so it will be hard to find the possible hack patch for it. It's gone from the Hardware tab.
I don't have access to my notes right now (encrypting a 2TB drive, long story, long process), but I'll try to remember to let you know. The gist was I found an XML file that gave me a hint what the command might be, along with a bit of trial and error and a bit of luck. It was fun to figure it out within hours of the patch becoming available, helping a lot of folks upgrade quickly and easily. Sorry to hear your USB 2.0 got messed up, that is strange, but I can't pretend to be surprised, having years of mixed luck myself, with pass through of various devices that seemed to progress with most releases, then sometimes go back on other releases.
Quick question... how do you get the name of the profile? In this case it's "ESXi-6.5.0-20164564106-standard", but when future updates come out I'll want to run it. Also looks like I lost my USB 2.0 controller with the 6.5 update as it's no longer availabe for passthrough.
I was able to use the recovery option when booting the ESXi host to revert back to 6.0u2. I got ahead of myself without reading all of the pre-reqs, dummy me. I'm back up and running 6.0u2 though. As an FYI, after I upgraded the ESXi host to 6.5, I could log into vCenter, but the ESXi host was showing as disconnected along with all VM's etc.
Honestly, I'm not sure. I'm not sure how VCSA 6.0 would do with hosts upgraded to ESX 6.5, I suspect some strangeness might happen until you get that hosts to 6.5 too.
One other question for you. I know you mention upgrading your vCenter host to 6.5 before the ESXi host, but what happens if you don't and upgrade the ESXi host to 6.5 before you upgrade vCenter? Is that situation able to be recovered from?
Thanks very much, Paul!
Thank you for your comment.
A VMware employee and I have been looking into the ongoing issue with EVALExperience/VMUG Advantage
https://tinkertry.com/evalexperience
release levels lagging behind. So far, we have no news to report, but I'll certainly be letting everybody know if we do make progress, with a new blog post.
I already asked on twitter, but I was wondering if you've heard anything on upgrading for VMUG uesrs? Will the method above work or do you recommend holding off? Thanks for all your work, it's truly appreciated.
Good point, although I'm finding that the firewall step isn't needed in as many scenarios lately, depends on config and history of course. I've added it above, for a more complete procedure. Thank you Rick!
Scott
I am in the middle of a similar upgrade. I have 4.0.0, 4.1, 5.0 and 5.1 vm hosts. From just an upgrade standpoint, you cannot upgrade from 5.1 to 6.5d, I tried. However, I have upgraded from 4.1 all the way to 5.5u3b. From there you can upgrade from 5.5u3b to 6.5d. I have not tried 4.0 to 5.5u3b but VMware support said I could. I performed all my upgrades by downloading the ISO and booting the machine into ESXi via CD and the performing the upgrade. Also, if you plan on using the VCSA 6.5, your hosts must be at 5.5 minimum to add them to the VCSA. Here is the upgrade Matrices VMware directed me to:
https://www.vmware.com/resources/compatibility/sim/interop_matrix.php#upgrade&solution=1