Easily Shutdown a Windows Server 2008 Core VM in VirtualBox

I run Windows Server 2008 Core in a VirtualBox virtual machine as my Active Directory Domain Controller for a small BizTalk test environment and I’ve discovered that it doesn’t take kindly to being ‘saved’ – when the server is resumed my other servers seem to be unable to communicate with it and do AD type ‘stuff’.

Shutting the sever down seems the best way to go, but given that Server Core is the window-less version of the OS, the shutdown command needs to be issued from the command-prompt. Unfortunately, I’m lazy and can’t be bothered to log-in just to shutdown….

I’ve recently discovered that Server Core will shutdown cleanly when sent the VirtualBox shutdown signal, issued when closing the VM – to bring up the Close Virtual Machine dialog (shown below), simply close the Window the VM is running in, type [Host Key]+Q, or issue the Machine->Close menu-command:

VirtualBox - Send Shutdown Signal

Select the ‘Send the shutdown signal’ option and click Ok (the VM sometimes doesn’t respond to the first attempt, but the second attempt is usually recognised).

Windows Server 2008 Core will kindly oblige and shutdown cleanly.

2 thoughts on “Easily Shutdown a Windows Server 2008 Core VM in VirtualBox

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s