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

T

Todd

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. I don't care if other users get
forced logged off.

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
 
T

Thee Chicago Wolf (MVP)

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. I don't care if other users get
forced logged off.

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

You don't need a reg file, you need to turn OFF fast user switching as
that is what is causing it.
 
G

Guest

Todd,

START | RUN | type 'regedit' (no quotes) & press ENTER

Navigate to:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows
NT\CurrentVersion\Winlogon

In the right pane:

Cretae or change the DWORD:

AllowMultipleTSSessions

Set the value to 0 (zero)

That will switch off the Fast User Switching, but you can also disable the
service within START | RUN | type 'services.msc' (no quotes) & press ENTER

Right click the fast user switching service to stop it then double-click it
to ser to disabled.

Please report back,
 
T

ToddAndMargo

SPAMCOP said:
Todd,

START | RUN | type 'regedit' (no quotes) & press ENTER

Navigate to:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows
NT\CurrentVersion\Winlogon

In the right pane:

Cretae or change the DWORD:

AllowMultipleTSSessions

Set the value to 0 (zero)

That will switch off the Fast User Switching, but you can also disable
the service within START | RUN | type 'services.msc' (no quotes) & press
ENTER

Right click the fast user switching service to stop it then double-click
it to ser to disabled.

Please report back,

The problem is not Fast User Switching. Only one user is
logged in. The problem is external users attached to
the local machine's network file shares.

I won't be out to the customer's site till next Thursday.
If you still think it will work, I will give it a try.

Many thanks,
-T
 
G

Guest

You never said it was a mapped drive to shares on the machine

Run a script like:

net use s: /delete (where s:\ is the mapped dive ...)
shutdown -s -f -t 0 (force shutdown immediately)

or just

shutdown -s -f -t 0 (force shutdown immediately)
 
T

ToddAndMargo

I have an XP virtual machine that I need to shutdown through the host
VM's acpi power button command.


SPAMCOP said:
You never said it was a mapped drive to shares on the machine

Run a script like:

net use s: /delete (where s:\ is the mapped dive ...)
shutdown -s -f -t 0 (force shutdown immediately)

or just

shutdown -s -f -t 0 (force shutdown immediately)

Ooops. Should have mentioned the shared drives. :'[

I am running the host Virtual Machine's (VM's) acpi power
off function. This means I run a command inside the host
that tells the guest (in this case XP) to shutdown. I
do not have a method of running a script inside the
guest that is triggered by the host.

I need a guest registry setting that will do a force shutdown
when the guest receives an acpi power off signal.

You know what? You just gave me an idea. If the host can not
shutdown the guest because of the "Other People" problem,
I know when the time I want this do to be done is, so I could use
the guest's Scheduled Tasks and shut the guest down using
your suggestions above.

The way my host's guest shutdown script works, it does not
care if it finds the guest already shutdown.

Thank you!

I'd still love to know how to the registry the way
I want it though.

-T
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top