Command to Force User Logoff

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am trying to force some of my users to log out of their workstations. I
have tried using the scheduler to run a batch file that simply contained the
command 'shutdown -l' but it never executes. If you just run the at command,
you can see the job there but it never kicks off. The workstations are all xp
pro and the users have local power user priviledges on their workstations.
Any help would be appreciated since this seems like a simple thing, but maybe
I'm just not getting something?
 
What happens when you force a logout on someone higher up than you who gets
kicked off in the middle of an unsaved document after they have just spend 3
or 4 hours working on it and have now lost it? ...or maybe they weren't
even at their desk at the time and they come back and find it all "gone"?

--
Phillip Windell [MCP, MVP, CCNA]
www.wandtv.com
-----------------------------------------------------
Understanding the ISA 2004 Access Rule Processing
http://www.isaserver.org/articles/ISA2004_AccessRules.html

Microsoft Internet Security & Acceleration Server: Guidance
http://www.microsoft.com/isaserver/techinfo/Guidance/2004.asp
http://www.microsoft.com/isaserver/techinfo/Guidance/2000.asp

Microsoft Internet Security & Acceleration Server: Partners
http://www.microsoft.com/isaserver/partners/default.asp
 
I'd prolly direct them to the 7 or so emails they were sent stating this
would be happening

Phillip Windell said:
What happens when you force a logout on someone higher up than you who gets
kicked off in the middle of an unsaved document after they have just spend 3
or 4 hours working on it and have now lost it? ...or maybe they weren't
even at their desk at the time and they come back and find it all "gone"?

--
Phillip Windell [MCP, MVP, CCNA]
www.wandtv.com
-----------------------------------------------------
Understanding the ISA 2004 Access Rule Processing
http://www.isaserver.org/articles/ISA2004_AccessRules.html

Microsoft Internet Security & Acceleration Server: Guidance
http://www.microsoft.com/isaserver/techinfo/Guidance/2004.asp
http://www.microsoft.com/isaserver/techinfo/Guidance/2000.asp

Microsoft Internet Security & Acceleration Server: Partners
http://www.microsoft.com/isaserver/partners/default.asp
-----------------------------------------------------


Mike T. said:
I am trying to force some of my users to log out of their workstations. I
have tried using the scheduler to run a batch file that simply contained the
command 'shutdown -l' but it never executes. If you just run the at command,
you can see the job there but it never kicks off. The workstations are all xp
pro and the users have local power user priviledges on their workstations.
Any help would be appreciated since this seems like a simple thing, but maybe
I'm just not getting something?
 
Anyone who works on a document for 3 or 4 hours without saving it NEEDS to
lose that document. They won't ever let it happen again. :-)

Louis

Phillip Windell said:
What happens when you force a logout on someone higher up than you who gets
kicked off in the middle of an unsaved document after they have just spend 3
or 4 hours working on it and have now lost it? ...or maybe they weren't
even at their desk at the time and they come back and find it all "gone"?

--
Phillip Windell [MCP, MVP, CCNA]
www.wandtv.com
-----------------------------------------------------
Understanding the ISA 2004 Access Rule Processing
http://www.isaserver.org/articles/ISA2004_AccessRules.html

Microsoft Internet Security & Acceleration Server: Guidance
http://www.microsoft.com/isaserver/techinfo/Guidance/2004.asp
http://www.microsoft.com/isaserver/techinfo/Guidance/2000.asp

Microsoft Internet Security & Acceleration Server: Partners
http://www.microsoft.com/isaserver/partners/default.asp
-----------------------------------------------------


Mike T. said:
I am trying to force some of my users to log out of their workstations. I
have tried using the scheduler to run a batch file that simply contained the
command 'shutdown -l' but it never executes. If you just run the at command,
you can see the job there but it never kicks off. The workstations are
all
xp
pro and the users have local power user priviledges on their workstations.
Any help would be appreciated since this seems like a simple thing, but maybe
I'm just not getting something?
 
Ok,... just wanting to make sure you had though about it ;-)

I don't know of any utility to log them off other than the "shutdown"
command, and even with it I didn't really know that it was supposed to be
able to log them off without restarting. Remember that "logging off" may
trigger dialog boxes that some application may popup asking the user what to
do,...if no one is there to answer the prompts it won't complete the logoff.

--
Phillip Windell [MCP, MVP, CCNA]
www.wandtv.com
-----------------------------------------------------
Understanding the ISA 2004 Access Rule Processing
http://www.isaserver.org/articles/ISA2004_AccessRules.html

Microsoft Internet Security & Acceleration Server: Guidance
http://www.microsoft.com/isaserver/techinfo/Guidance/2004.asp
http://www.microsoft.com/isaserver/techinfo/Guidance/2000.asp

Microsoft Internet Security & Acceleration Server: Partners
http://www.microsoft.com/isaserver/partners/default.asp
-----------------------------------------------------



Mike T. said:
I'd prolly direct them to the 7 or so emails they were sent stating this
would be happening

Phillip Windell said:
What happens when you force a logout on someone higher up than you who gets
kicked off in the middle of an unsaved document after they have just spend 3
or 4 hours working on it and have now lost it? ...or maybe they weren't
even at their desk at the time and they come back and find it all "gone"?

--
Phillip Windell [MCP, MVP, CCNA]
www.wandtv.com
-----------------------------------------------------
Understanding the ISA 2004 Access Rule Processing
http://www.isaserver.org/articles/ISA2004_AccessRules.html

Microsoft Internet Security & Acceleration Server: Guidance
http://www.microsoft.com/isaserver/techinfo/Guidance/2004.asp
http://www.microsoft.com/isaserver/techinfo/Guidance/2000.asp

Microsoft Internet Security & Acceleration Server: Partners
http://www.microsoft.com/isaserver/partners/default.asp
-----------------------------------------------------


Mike T. said:
I am trying to force some of my users to log out of their workstations. I
have tried using the scheduler to run a batch file that simply
contained
the
command 'shutdown -l' but it never executes. If you just run the at command,
you can see the job there but it never kicks off. The workstations are
all
xp
pro and the users have local power user priviledges on their workstations.
Any help would be appreciated since this seems like a simple thing,
but
maybe
I'm just not getting something?
 
3c273 said:
Anyone who works on a document for 3 or 4 hours without saving it NEEDS to
lose that document. They won't ever let it happen again. :-)

Yes in theory, but if the guy has the power to tell you to find another job
it really doesn't matter what he "should" have done.

--
Phillip Windell [MCP, MVP, CCNA]
www.wandtv.com
-----------------------------------------------------
Understanding the ISA 2004 Access Rule Processing
http://www.isaserver.org/articles/ISA2004_AccessRules.html

Microsoft Internet Security & Acceleration Server: Guidance
http://www.microsoft.com/isaserver/techinfo/Guidance/2004.asp
http://www.microsoft.com/isaserver/techinfo/Guidance/2000.asp

Microsoft Internet Security & Acceleration Server: Partners
http://www.microsoft.com/isaserver/partners/default.asp
-----------------------------------------------------
 
You might want to look at the "psshutdown.exe" program that is part
of the PSTools package at sysinternals:
<http://www.sysinternals.com>
This routine has options for remotely logging out console user,
rebooting machine, or shutting it down altogether. There is an
option to force applications to quit (without saving) -- presumably
without specifying this option the program will allow a chance to
save data before shutdown/logout. The shutdown/logout can also be
delayed until a specified time or period with an annoying countdown
timer on the screen (to allow them to reboot on their own). It's
freeware so it comes with an implied money-back guarantee.

HTH,
John



I'd prolly direct them to the 7 or so emails they were sent
stating this would be happening

Phillip Windell said:
What happens when you force a logout on someone higher up than
you who gets kicked off in the middle of an unsaved document
after they have just spend 3 or 4 hours working on it and have
now lost it? ...or maybe they weren't even at their desk at the
time and they come back and find it all "gone"?

--
Phillip Windell [MCP, MVP, CCNA]
www.wandtv.com
-----------------------------------------------------
Understanding the ISA 2004 Access Rule Processing
http://www.isaserver.org/articles/ISA2004_AccessRules.html

Microsoft Internet Security & Acceleration Server: Guidance
http://www.microsoft.com/isaserver/techinfo/Guidance/2004.asp
http://www.microsoft.com/isaserver/techinfo/Guidance/2000.asp

Microsoft Internet Security & Acceleration Server: Partners
http://www.microsoft.com/isaserver/partners/default.asp
-----------------------------------------------------


Mike T. said:
I am trying to force some of my users to log out of their
workstations. I have tried using the scheduler to run a batch
file that simply contained the command 'shutdown -l' but it
never executes. If you just run the at command, you can see the
job there but it never kicks off. The workstations are all xp
pro and the users have local power user priviledges on their
workstations. Any help would be appreciated since this seems
like a simple thing, but maybe I'm just not getting something?
 
Back
Top