Note: VMware by Broadcom also recommends making a backup copy of the edited file. If future administrative changes to the virtual machine overwrite the edited version, take the time to cut and paste the specific section that is important from the backup copy into the current file. Do not replace an entire .vmx file with an older backup.
ESXi with vCenter Server
Manual additions to the .vmx file from ESXi are not recognized in vCenter Server. This can cause manual additions to the .vmx file to be overwritten. To resolve this issue, make the required changes to the .vmx file and see Reloading a vmx file without removing the virtual machine from inventory.
Alternatively, to modify the virtual machines .vmx file:
Remove the virtual machine from vCenter Server inventory.
To remove the virtual machine from the vCenter Server inventory, right-click the virtual machine and click Remove from Inventory.
Edit the .vmx file.
Re-register the virtual machine from the ESXi command line.