VMware is aware of this issue and working to resolve this in a future release to allow UI option to remove VCG override selections.
Note: This issue is noticed in vSphere 7.0 and later versions
Workaround:
If you got an error while uploading the file to VCSA through WINSCP, see Connecting to vCenter Server Virtual Appliance using WinSCP fails with the error: Received too large (1433299822 B) SFTP packet. Max supported packet size is 1024000 B
# python vcgentrydel.py --help
# root@VCSA5 [ /tmp ]# python vcgentrydel.py --help
usage: Deletes VCG override entry for disk. Refer to VMware Compatibility guide for param details
[-h] --cluster CLUSTER --vendor VENDOR [--partnum PARTNUM] --model
MODEL --capacity CAPACITY --firmware FIRMWARE
optional arguments:
-h, --help show this help message and exit
--cluster CLUSTER Cluster MoRef
--vendor VENDOR Hard disk vendor standard . ie ATA, NVMe
--partnum PARTNUM Part Number if available i.e P13695-B21
--model MODEL Model info for device
--capacity CAPACITY Disk size in bytes. e.g 50 GiB = 50 x 1073741824 =
53687091200. https://convertermaniacs.com/gigabyte-to-
byte/gb-to-bytes-converter.html
--firmware FIRMWARE Firmware version for hardware
Example usage:-
# python vcgentrydel.py --cluster domain-c42 --vendor ATA --model VK001920GWSXK --capacity 53687091200 --firmware_version HPG2