At work we've got a Windows Server 2003 VM that we want to shut down when the host operating system (Linux) shuts down. We have this working except for when a user has logged in and locked the screen. It seems that Windows won't shut down when the screen is locked.
We're investigating ways to prevent auto-lockout from happening when the user is inactive, but that's not really ideal. Is there something we can configure or some way we can script it so Windows will shut down no matter what any user's up to?
If we don't shut Windows down cleanly we risk corrupting the entire VM. In our environment once the host OS receives its ACPI signal we have 120 seconds to shut everything down before the system is forcibly powered off.
We've googled this quite a bit but no luck so far. We're still looking for that smoking gun registry setting.