In order for VirtualBox to shutdown a Windows guest machine using ACPI, the ‘Shutdown without Logon’ option must be enabled.
This can be configured using RegEdit to set the following key to a value of 1:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\shutdownwithoutlogon
Any group policy path for this, so that we can avoid using regedit?
In Windows 10:
Computer Configuration\Windows Settings\Security Settings\Local Policies\Security Options\Shutdown: Allow system to be shut down without having to log on security policy setting.
See: https://docs.microsoft.com/en-us/windows/security/threat-protection/security-policy-settings/shutdown-allow-system-to-be-shut-down-without-having-to-log-on