To work around this issue when you cannot upgrade, perform a hard reset of the system to restore normal operations. You must perform a hard reset as opposed to a normal reset to prevent the corrupted esx.conf file from updating to the tarball image. The file is written back to the image during a normal reset, which results in the corrupted version being saved
Caution: It is important to plan a maintenance window to power off all the virtual machines before proceeding with the procedure in this article.
To perform a hard reset of the ESXi/ESX host: