Re: Command Line shutdown with other people logged on
- From: Todd <MargoAndTodd@xxxxxxxxx>
- Date: Wed, 20 Aug 2008 18:31:14 -0700 (PDT)
On Aug 20, 6:21 pm, "Bill Blanton" <bblan...@xxxxxxxxxxxxxxxxxx>
wrote:
Virtual PC?
If you have a way to run a script or batch file within the XP/VM,
you might try using the cmd line shutdown command.
shutdown -s -t nn (where nn is seconds delayed)
shutdown /? (for the list of options)
I have no idea how you would initiate the script within the VM.
"Todd" <MargoAndT...@xxxxxxxxx> wrote in messagenews:624d60f6-1ae6-4493-8f64-491ce6cd089b@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi All,
I need help shutting down a virtual machine running under virtual
box. I am only
including the Linux code as it might be of some help understanding
what is
going on. (And I know a lot of you are conversant in both, like I
am.) If you
don't understand the Linux stuff, please keep reading until you hit
the XP stuff.
Host: CentOS 5.2
Guest: XP-Pro-SP3
From a Crontab command, I am trying to turn off an XP virtual
machine. I use this command:
kdesu -u todd -c "/usr/bin/VBoxManage controlvm VirtualXP
acpipowerbutton"
It works, except, I get a prompt on the xp virtual machine stating
"other people are
logged onto this computer. Shutting down Windows might cause them to
loose data.
Do you want to continue shutting down Windows? Yes, No" And there
are
other uses and I don't care. I just want it to shutdown. But, I can
not because
I am not there at 23:30 at night to click on "Yes".
Is there a way to over ride this behavior and just shut down?
Many thanks,
-T
All I need is a registry setting in XP to over ride the warning about
other users
being logged on and just shut down
.
- Follow-Ups:
- Re: Command Line shutdown with other people logged on
- From: Bill Blanton
- Re: Command Line shutdown with other people logged on
- References:
- Re: Command Line shutdown with other people logged on
- From: Bill Blanton
- Re: Command Line shutdown with other people logged on
- Prev by Date: Re: Unable to execute some DOS Commands after XP Reinstall
- Next by Date: Re: Lost Desktop Background option due to Trojan.Desktophijack vir
- Previous by thread: Re: Command Line shutdown with other people logged on
- Next by thread: Re: Command Line shutdown with other people logged on
- Index(es):