8.1.1 Ensure informational messages from the VM to the VMX file are limited

Information

Limit informational messages from the virtual machine (VM) to the virtual machine extensions (VMX) file to avoid filling the datastore. The configuration file containing these name-value pairs is limited to a size of 1 MB by default. This should be sufficient for most cases, but you can change this value if necessary, such as if large amounts of custom information are being stored in the configuration file.

Rationale:

Filling the datastore with informational messages from the VM to the VMX file could cause a denial of service.

Solution

Set this configuration as follows:
Run the following PowerCLI command:

# Add the setting to all VMs
Get-VM | New-AdvancedSetting -Name 'tools.setInfo.sizeLimit' -value 1048576

Default Value:

1048576

See Also

https://workbench.cisecurity.org/files/3473