Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Need .reg to get rid of "Other people are logged on" at shutdown

7 views
Skip to first unread message

ToddAndMargo

unread,
Nov 13, 2009, 5:55:14 PM11/13/09
to
Hi All,

Help!

I have an XP virtual machine that I need to shutdown through the host
VM's acpi power button command. Problem: there are other users logged
in (they are suppose to be) and I want the "Other people are logged
on" prompt to go away so the stinkin' thing will just shut down,
regardless of who is logged on.

This is not a Fast User Switching problem. The users that are
logged in have network connections to a piece of software we
are running. It does not matter if these connections are broken.

What I have tried so far that does not work:

REGEDIT4
[HKEY_USERS\.DEFAULT\Control Panel\Desktop]
"AutoEndTasks"="1"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion
\Windows]
"ShutdownWarningDialogTimeout"=dword:00000001


Many thanks,
-T

Dave Patrick

unread,
Nov 13, 2009, 11:54:49 PM11/13/09
to
Why not run;

net stop server

just prior to shutdown?

--

Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

ToddAndMargo

unread,
Nov 14, 2009, 2:06:43 AM11/14/09
to
Dave Patrick wrote:
> Why not run;
>
> net stop server
>
> just prior to shutdown?

I could put it into a scheduled task.

I was also thinking of using
shutdown -s -f -t 0
in scheduled tasks too. My acpi power off
command does not case if it finds the guest (XP)
off when it tries to off it. (That does not sound
too good!)

I would like to know how to do it with the
registry though.

Thank you for the help!

-T

Dave Patrick

unread,
Nov 14, 2009, 3:02:21 PM11/14/09
to

I doubt if the registry is involved in this. Couldn't figure out what this
meant.

"My acpi power off command does not case if it finds the guest (XP) off when
it tries to off it."


--

Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

ToddAndMargo

unread,
Nov 14, 2009, 8:47:59 PM11/14/09
to
Dave Patrick wrote:
> I doubt if the registry is involved in this. Couldn't figure out what
> this meant.
>
> "My acpi power off command does not case if it finds the guest (XP) off
> when it tries to off it."

Ooops. Let me try again.

My VirtualBox "ACPI Poweroff" command (/usr/bin/VBoxManage
controlvm $VM_Name acpipowerbutton) from inside my Linux
host, does not care if it finds the guest virtual machine
(XP in this case) already powered off.

The "ACPI Poweroff" command is the same thing as pressing the
power off button on the host machine.

I would like to find a way for XP to respond to the "ACPI Poweroff"
signal without stopping the process with a pop up warning me
that other people are logged in.

Stinkin' typos. :'[

-T

Dave Patrick

unread,
Nov 15, 2009, 10:13:20 AM11/15/09
to
The only way I know that might work is to change the way Windows NT handles
hard error messages. This is for all system and application pop-ups. You can
run regedit.exe and set the Reg_Dword value of
"ErrorMode"= 2
found at
HKLM\SYSTEM\CurrentControlSet\Control\Windows
as follows;

0 = Errors are serialized and wait for a response. (default)
1 = If the error does not come from the system, then the system continues in
normal operating mode. If the error comes from the system, then it is
written to the system log; no user intervention is required and dialog boxes
are not displayed.
2 = The error is written to the system log; the dialog box is not displayed.

--

Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

ToddAndMargo

unread,
Nov 15, 2009, 6:51:12 PM11/15/09
to
Dave Patrick wrote:
> The only way I know that might work is to change the way Windows NT
> handles hard error messages. This is for all system and application
> pop-ups. You can run regedit.exe and set the Reg_Dword value of
> "ErrorMode"= 2
> found at
> HKLM\SYSTEM\CurrentControlSet\Control\Windows
> as follows;
>
> 0 = Errors are serialized and wait for a response. (default)
> 1 = If the error does not come from the system, then the system
> continues in normal operating mode. If the error comes from the system,
> then it is written to the system log; no user intervention is required
> and dialog boxes are not displayed.
> 2 = The error is written to the system log; the dialog box is not
> displayed.
Thank you!
-T

Dave Patrick

unread,
Nov 15, 2009, 7:00:12 PM11/15/09
to
Does this mean it worked? You're welcome.

--

Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect


"ToddAndMargo" wrote:
> Thank you!
> -T

ToddAndMargo

unread,
Nov 16, 2009, 12:35:18 PM11/16/09
to

Dave Patrick wrote:
> Does this mean it worked? You're welcome.

It will be another week or so before I can try it
out. The "thank you" was to show appreciation for
helping a total stranger.

Dave Patrick

unread,
Nov 16, 2009, 1:44:41 PM11/16/09
to

Ok, sounds good. Just let us know so all can benefit. Well maybe just a very
few.

http://groups.google.com/group/microsoft.public.windowsnt.registry/about

--

Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

0 new messages