How to Patch VMWare ESXi 5.5 from Command Line

*Note* Patches can be found by going to the Patch Portal.Ā 

Recently after upgrading from VMWare 4.1 to VMWare ESXi 5.5 I ran into an issue with a Windows 2008 VPN server getting the following error message.

PPTP VPN Error 628

Turns out, there is a VMWare patch to fix this. Since the update utility doesn’t work with the free version of VMWare, I had to figure out how to do it through the command line interface (CLI). Once downloading the patch, I was able to enable SSH, connect with Putty, then run the following command.

esxcli software vib update -d "/vmfs/volumes/datastore1/patch/"

The name of the datastore where the zip file is located is “datastore1”. If you happen to have a different name, then you will need to change that in the script. After running for a few minutes, and a long reboot the Windows 2008 VPN server was working again.