This issue occurs if the values are not refreshed in vCenter Server. The.vmx file will actually contain the correct values for the disk size but the values are not updated in vSphere.
To resolve this issue, remove the virtual machine from Inventory and re-add it.
To refresh the provisioned disk space value:
- Open and login to vSphere client.
- Power off the virtual machine.
- Right-click and select Remove from Inventory.
- Click Configuration > Storage > Browse the datastore
- Locate the .vmx file, Right-click and select Add to Inventory.
- After the Virtual machine is successfully added to the Inventory, the correct value will be displayed.