ESX Virtualization

VMware ESXi, vSphere, VMware Backup, Hyper-V... how-to, videos....

Nakivo Backup and Replication - #1 Backup solution for Virtual, physical, cloud, NAS and SaaS

Menu
  • Certification
      • VCP-DCV vSphere 8
          • vcp2024-125.
        • Close
    • Close
  • VMware
    • Configuration Maximums
    • vSphere
      • vSphere 8.0
      • vSphere 7.0
      • vSphere 6.7
      • vSphere 6.5
      • vSphere 6.0
      • Close
    • VMworld
      • VMware EXPLORE 2024
      • VMware EXPLORE 2023
      • VMware EXPLORE 2022
      • VMworld 2019
      • VMworld 2018
      • VMworld 2017
      • VMworld 2016
      • VMworld 2015
      • VMworld 2014
      • VMworld 2013
      • VMworld 2012
      • VMworld 2011
      • Close
    • Close
  • Microsoft
    • Windows Server 2012
    • Windows Server 2016
    • Windows Server 2019
    • Close
  • Categories
    • Tips – VMware, Microsoft and General IT tips and definitions, What is this?, How this works?
    • Server Virtualization – VMware ESXi, ESXi Free Hypervizor, VMware vSphere Server Virtualization, VMware Cloud and Datacenter Virtualization
    • Backup – Virtualization Backup Solutions, VMware vSphere Backup and ESXi backup solutions.
    • Desktop Virtualization – Desktop Virtualization, VMware Workstation, VMware Fusion, VMware Horizon View, tips and tutorials
    • How To – ESXi Tutorials, IT and virtualization tutorials, VMware ESXi 4.x, ESXi 5.x and VMware vSphere. VMware Workstation and other IT tutorials.
    • Free – Free virtualization utilities, ESXi Free, Monitoring and free backup utilities for ESXi and Hyper-V. Free IT tools.
    • Videos – VMware Virtualization Videos, VMware ESXi Videos, ESXi 4.x, ESXi 5.x tips and videos.
    • Home Lab
    • Reviews – Virtualization Software and reviews, Disaster and backup recovery software reviews. Virtual infrastructure monitoring software review.
    • Close
  • Partners
    • NAKIVO
    • StarWind
    • Zerto
    • Xorux
    • Close
  • This Web
    • News
    • ESXi Lab
    • About
    • Advertise
    • Archives
    • Disclaimer
    • PDFs and Books
    • Close
  • Free
  • Privacy policy

Upgrade ESXi 6.x to 6.7 via CLI – Two methods

By Vladan SEGET | Last Updated: May 11, 2018

Shares

After yesterday's upgrade ESXi 6.x to 6.7 via ISO, which is the easiest method, today we'll explore two other ones of upgrade ESXi 6.x to 6.7 via CLI. One of the methods will use directly the Internet so you’ll need an Internet connection on the host you’ll want to upgrade. The second method will use an offline bundle, but free users does not have an access to this download.

So unless your organization has a paid version of ESXi and vSphere (and I hope so), you cannot as free ESXi user, download the “VMware-ESXi-6.7.0-8169922-depot.zip” file from VMware.

But let's start with the method which upgrades ESXi 6.x to 6.7 via CLI and uses the VMware OnLine depot. It's freely accessible without a paid license of any VMware product. I think that VMware does this in purpose just to make things a little bit more difficult -:).

The process is fairly similar to what we've already done for 6.0 to 6.5 upgrade, but let's recap this for new users and new folks who learning about VMware virtualization technology.

Upgrade ESXi 6.x to 6.7 via CLI – from VMware OnLine depot

Step 0: Enable swap on local datastore – connect to your ESXi host via HTML5 host client by typing https://IP_or_FQDN/ui and going to the Manage > System > Swap > Edit Settings > Drop Down and Select your local datastore.

Note: If you don't do that, you'll end up with an installation error saying “Failed updating the bootloader: Execution of command /usr/lib/vmware/bootloader-installer/install-bootloader failed: non-zero code returned…. return code: 1”

Step 1: Connect to your ESXi host via host client and enable SSH (if you haven't already done yet), then enter a maintenance mode and enable one firewall rule for web traffic (disabled by default) with this command:

esxcli network firewall ruleset set -e true -r httpClient

Step 2: Enter this command to list all available profiles. We filter only those which are relevant to our case – upgrade to ESXi 6.7

esxcli software sources profile list -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml | grep -i ESXi-6.7

You'll see two profiles. We pick the “ESXi-6.7.0-8169922-standard” one for our situation.

Step 3: The upgrade – Execute this command which will use the profile to upgrade the ESXi 6.x host

Note: The -p stands for “profile” and the -d stands for “depot”.

And you should see the message saying that the upgrade was successful.

Reboot the host to complete the upgrade process and you are done.

Upgrade ESXi 6.x to 6.7 via CLI – via “Offline Bundle”

The offline bundle is a file which is available for paid customers only. Free ESXi users do not have an access to this download.

Step 0: The same as for the method above. You have to enable swap on the local datastore.

Step 1: After downloading the “VMware-ESXi-6.7.0-8169922-depot.zip” file, place it (upload it) to a datastore which is visible by your ESXi host. Best would be a local datastore, if this host has some. If not, it can also be a shared datastore too.

Put your host into maintenance mode, enable SSH if you haven't done yet.

Step 2: Execute this command to upgrade your ESXi 6.x to 6.7

esxcli software profile update -p ESXi-6.7.0-8169922-standard -d /vmfs/volumes/your_datastore/VMware-ESXi-6.7.0-8169922-depot.zip

Where “your_datastore” is the name of the datastore where you have uploaded the Offline bundle file.

After checking that your upgrade was successful, reboot your host. You should see a message saying that the upgrade completed successfully.

Wrap Up:

As you can see, both methods are similar where the first one uses VMware Online depot (accessible to anyone) and the second one supports environments without an Internet access. Both methods are supported upgrade methods.

You can use those upgrade possibilities if you do not use VMware vCenter server. However If you have vCenter server license, it's pretty much easier to use VMware Update Manager (VUM) whcih is the tool to conduct those upgrades, especially for clustered environments. We'll do a post on that next. Stay tuned.

Mignt want to read: What is VMware vSphere Update Manager?

More from ESX Virtualization

  • vSphere 6.7 Page
  • Install and Configure VMware vCSA 6.7
  • VMware vSphere 6.7 Security Features
  • Top 5 Useful VMware ESXi CLI Commands
  • VMware vSphere 6.7 – vSphere Update Manager (VUM) HTML5 and Quick Boot

Shop

  • VMware vSphere Essentials
  • VMware vSphere Essentials Plus
  • VMware vSphere Essentials Plus Kit Term
  • VMware vSphere Essentials Kit Term

Stay tuned through RSS, and social media channels (Twitter, FB, YouTube)

Shares
Vote !

| Filed Under: Free Stuff, How To, Server Virtualization, Tips Tagged With: Upgrade ESXi 6.x to 6.7 via CLI

About Vladan SEGET

This website is maintained by Vladan SEGET. Vladan is as an Independent consultant, professional blogger, vExpert x16, Veeam Vanguard x9, VCAP-DCA/DCD, ESX Virtualization site has started as a simple bookmarking site, but quickly found a large following of readers and subscribers.

Connect on: Facebook. Feel free to network via Twitter @vladan.

Comments

  1. Hektor says

    May 11, 2018 at 11:23 pm

    I have the HP Microserver Gen8 installed from HP Custom iso. (Free ESXI 6.5) Is this update process good for me too? Or do I have to use another?

    • Vladan SEGET says

      May 12, 2018 at 5:27 pm

      You should check your hardware manufacturer if there will be a specific HP ISO image for your host. Usually the default VMware image works out, but….

      • Denise O. James says

        May 14, 2019 at 4:00 am

        If I have a custom iso, how do I install the iso from the command line. It’s a temporary stand alone host that needs to be kept up to date. I only found instructions for a .zip.

        • Vladan SEGET says

          May 14, 2019 at 7:24 am

          Use instructions to update via ISO/CD-rom drive https://www.vladan.fr/how-to-upgrade-esxi-6-x-to-6-7-via-iso/

  2. Mohammad Hossein Goli says

    May 13, 2018 at 4:42 pm

    Thanks for your great posts, can I upgrade an esx host via VUM where the vcenter server installed as a VM on that esx host???

    • Vladan SEGET says

      May 14, 2018 at 7:37 am

      Not really as the host has to go to maintenance mode first …. So vCenter VM has to be moved elsewhere before you start the upgrade.

  3. Lee says

    May 17, 2018 at 6:40 am

    I had something weird happen when I did this upgrade. I am on a home-built AMD Ryzen 1500 based server, running free ESXi 6.5.
    I updated to 6.7 using esxcli as described above, and rebooted. ESXi came up fine, but none of my VM’s would start. The error was like “This host supports AMD-V, but AMD-V is disabled”. And suggested I go into the BIOS.

    I rebooted the host again thinking it was a bug, as I’ve been running 6.5 for months on this machine so obviously it was enabled in BIOS. Still same message after I rebooted.

    So I went into BIOS, and sure enough, SVM was disabled. I have no clue how that got changed.

    Thought I’d post this incase any one else comes across it.

    • Vladan SEGET says

      May 17, 2018 at 7:36 am

      True. A really strange situation. Hmm. Let’s see if any other users have the same. Thanks for sharing.

  4. tony says

    June 3, 2018 at 11:51 am

    How To upgrade When Esxi is setup on USB key. I cant t activate swap because USB key not appears in swap.

  5. michaelO says

    July 12, 2018 at 7:17 pm

    “VIB VMW_bootbank_sata-sata-nv_3.5-4vmw.650.0.0.4564106 cannot be removed live.”
    happens after:
    esxcli software profile update -p ESXi-6.7.0-20180604001-
    standard -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot
    -index.xml

    What is this?

  6. Romain B says

    August 28, 2018 at 11:09 am

    It’s possible to make this upgrade with Supermicro X10DRH and Adaptec 8805 ?

    You don’t need to patch ESX with adaptec driver ?
    We have need to patch for the first installation.

    Thanks. Have a nice day

    • Vladan SEGET says

      August 28, 2018 at 2:20 pm

      Sorry, but I don’t know. Check VMware HCL if production system. If not, just test upgrade. You can always revert back.

  7. Nuno says

    March 2, 2019 at 4:27 am

    This doesn’t really work

    Upon reboot the server displays the message unsupported CPU and freezes there

    Maybe it worked once but I just tried now and got stuck

    • Vladan SEGET says

      March 3, 2019 at 8:47 am

      Hi,
      both methods are VMware supported methods of upgrading. The problem might lay elsewhere. I would not be surprised your CPU/motherboard isn’t supported. Try BIOS/Firmware update perhaps?

  8. Johnny Bananas says

    March 15, 2019 at 11:05 pm

    Thanks worked great for my installation and easy upgrade to 6.7 from 6.5 on a Dell Dual Xeon Workstation.

  9. fayzali says

    May 2, 2020 at 5:57 pm

    after update from 6.5 to 6.7 i have this error, now i can not power on any vm,

    “Failed to power on virtual machine 15665. Transport (VMDB) error -45: Failed to connect to peer process. Click here for more details.”

    what can i try to do?

  10. Jared says

    May 6, 2020 at 9:42 am

    This worked great for my home ESXi server that refused to upgrade via bootable USB. I was able to get from 5.5 to 6.0 via that method, but anything 6.5 or 6.7 just wouldn’t upgrade.

    For those that might come after me, I used the Lenovo custom offline zip file. I had no idea what the package name was, so I had to look at the vmware.xml inside the archive. In that XML, between the and tags, that is the profile name and what you would use in the esxcli command. In my case it was Lenovo_ESXi6.7u3-14320388_20190814.

    I hope that’s helpful

    • Jared says

      May 6, 2020 at 9:48 am

      update for above:

      In the XML, between the ID and /ID tags

Private Sponsors

Featured

  • Thinking about HCI? G2, an independent tech solutions peer review platform, has published its Winter 2023 Reports on Hyperconverged Infrastructure (HCI) Solutions.
  • Zerto: One Platform for Disaster Recovery, Backup & Cloud Mobility: Try FREE Hands-On Labs Today!
Click to Become a Sponsor

Most Recent

  • Veeam Backup & Replication v13 Beta: A Game-Changer with Linux
  • What is Veeam Data Cloud Vault and how it can help SMBs
  • Nakivo Backup and Replication – Malware Scan Feature
  • Zerto 10 U7 released with VMware NSX 4.2 Support
  • XorMon NG 1.9.0 Infrastructure Monitoring – now also with Veeam Backup Support
  • Heartbeat vs Node Majority StarWind VSAN Failover Strategy
  • Vulnerability in your VMs – VMware Tools Update
  • FREE version of StarWind VSAN vs Trial of Full version
  • Commvault’s Innovations at RSA Conference 2025 San Francisco
  • VMware ESXi FREE is FREE again!

Get new posts by email:

 

 

 

 

Support us on Ko-Fi

 

 

Buy Me a Coffee at ko-fi.com

Sponsors

Free Trials

  • DC Scope for VMware vSphere – optimization, capacity planning, and cost management. Download FREE Trial Here.
  • Augmented Inline Deduplication, Altaro VM Backup v9 For #VMware and #Hyper-V – Grab your copy now download TRIAL.

VMware Engineer Jobs

VMware Engineer Jobs

YouTube

…

Find us on Facebook

ESX Virtualization

…

Copyright © 2025 ·Dynamik-Gen · Genesis Framework · Log in