Other Users logged in prevents shutdown via ACPI

Discussions about using Windows guests in VirtualBox.
Post Reply
qonos68
Posts: 3
Joined: 21. Apr 2009, 23:47
Primary OS: Ubuntu 8.04
VBox Version: OSE self-compiled
Guest OSses: Windows 2003 Server

Other Users logged in prevents shutdown via ACPI

Post by qonos68 »

I have a Windows 2003 Server as VirtualBox guest.

Once I try to shutdown the system via the "ACPI shutdown", everything works fine only if one console session is active or if there are no users logged on (I already managed to solve this issue, as explained in a previous post). If more then one user is logged on, I get an annoying warning "Other people are logged on to this computer. Shutting down windows might cause them to lose data. Do you want to continue shutting down?".

Since VM shutdown should be triggered by host machine shutdown by programmatically "pressing" the "ACPI Shutdown" function of VirtualBox, this warning blocking the VM shutdown sequence is very harmful to me. Any hint how to disable it?
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: Other Users logged in prevents shutdown via ACPI

Post by Sasquatch »

What about just looking for it on Google? Everyone will have the same issue on a bare hardware install of Windows. 'Cause all it does, is send the shutdown signal, where you then state in Windows what it should do. In this case, shut down. And it's always the same shutdown command. If you want to stop the VM and resume it later, use "Save State" instead.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
vbox4me2
Volunteer
Posts: 5218
Joined: 21. Nov 2008, 20:27
Location: Rotterdam
Contact:

Re: Other Users logged in prevents shutdown via ACPI

Post by vbox4me2 »

Use the shutdown.exe CLI tool with a remote user who is a member of the shutdown group(policy setting), then net use to a printer port, send shutdown signal. Done, time for pizza and such.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Other Users logged in prevents shutdown via ACPI

Post by Perryg »

Or you could just turn off the notifier on the 2003 server.

start->run->gpedit.msc Click OK. Go to Local Computer Policy->Computer Configuration->Administrative Templates->System Select Display Shutdown Event Tracker and disable it:
qonos68
Posts: 3
Joined: 21. Apr 2009, 23:47
Primary OS: Ubuntu 8.04
VBox Version: OSE self-compiled
Guest OSses: Windows 2003 Server

Re: Other Users logged in prevents shutdown via ACPI

Post by qonos68 »

Sorry for the big delay, thank you to everyone and expecially to Perryg as this is exactly the setting I was looking for.
Post Reply