如何在關閉 vmware workstation 實體機的電源時,先將虛擬機關機

在 %PROGRAMDATA%\VMware\VMware Workstation\config.ini 內新增
vmx.headless.suspendOnHostShutdow = “TRUE”