Windows Server 2008 R2 Thread, Forceably Logoff User in Technical; Hi folks,
Every now and then we have the situation where a student has logged on somewhere in the school, ...
-
1st February 2012, 12:10 PM #1
Forceably Logoff User
Hi folks,
Every now and then we have the situation where a student has logged on somewhere in the school, forgotten to logoff, and then needs to logon elsewhere. Hence we need to log them off from all PCs in the school, so they can then logon.
Google shows a variety of methods of doing this, but they either apply to old versions of server, or are complex.
I just wanted to check with the latest version of server whether there was yet an elegant way to do this, or whether it's still complex?
(We use Ranger, just in case that has a tool for doing this)
TIA
-
-
IDG Tech News
-
1st February 2012, 12:13 PM #2 Does it need to be done server side? There are plently of simple ways of doing it via script with WMI calls (or programs like EduRemote in my signature).
Just sends a WMI command to force logoff. (Unless Ranger blocks that for any reason?)
Steve
-
Thanks to Steve21 from:
Gongalong (1st February 2012)
-
1st February 2012, 12:39 PM #3 pslogged on from pstools will find the machine, psshutdown will log them off.
-
Thanks to strawberry from:
Gongalong (1st February 2012)
-
1st February 2012, 12:39 PM #4 Ideally server side, as the problem is trying to hunt down which PC the student is logged into.
I've tried EduRemote but get "Access denied" errors have tested it on one of the PCs here, albeit with an administrator that should have cross-domain rights.
-
-
1st February 2012, 12:44 PM #5 
Originally Posted by
strawberry
pslogged on from pstools will find the machine, psshutdown will log them off.
psloggedon looks good, although is proving very slow in practise to identify where users are logged on.
-
-
1st February 2012, 12:47 PM #6 Why do the students need to log out before they log in again?
-
-
1st February 2012, 12:50 PM #7 The way I solved it was by using data collected by Lansweeper to check which computer they logged on to last. However, if you don't have any software currently tracking logons, it does make it quite tricky.
-
-
1st February 2012, 01:18 PM #8 would it not be possible to get a script that on logon added the pcname to the users description field. You can certainly add pc specs info taht way on pc bootup see no reason why the same logic cant be applied to users
-
-
1st February 2012, 01:20 PM #9 
Originally Posted by
p858snake
Why do the students need to log out before they log in again?
Somewhere it is set so they can only be logged on once (Ranger possibly?).

Originally Posted by
AngryTechnician
The way I solved it was by using data collected by Lansweeper to check which computer they logged on to last. However, if you don't have any software currently tracking logons, it does make it quite tricky.
All we have over and above Windows Server is Ranger. I'm checking with RM whether it has any of this functionality.
-
-
1st February 2012, 01:35 PM #10 Ranger's LAN Ranger Server > Network Explorer has a variety of views of logged on students, and can forceably log them off, as well as restart and shut down a PC. Hurrah!
-
-
1st February 2012, 01:38 PM #11 we have a startup script that creates a hidden file called logincookie.dat this has date and time machine name
on log off it deletes the file
if the file exists the system displays a message and says you are logged on to machine name then logs the user off
-
-
27th June 2012, 01:40 PM #12 
Originally Posted by
strawberry
pslogged on from pstools will find the machine, psshutdown will log them off.
I'm not sure if psshutdown is Windows 7 compatible :-$
-
-
27th June 2012, 01:42 PM #13 
Originally Posted by
rinzwind
Also was looking for a way to do this: try this small utility:
LogoffStandby @rinzwind, are you the author of this software?
-
-
27th June 2012, 01:43 PM #14 
Originally Posted by
Davit2005
I'm not sure if psshutdown is Windows 7 compatible :-$
It is. Use it here all the time.
-
-
27th June 2012, 01:55 PM #15
-
SHARE: 
Similar Threads
-
By carvjo in forum Windows 7
Replies: 1
Last Post: 14th July 2010, 09:20 AM
-
By cgiuk in forum Windows Server 2008
Replies: 0
Last Post: 23rd April 2010, 09:31 AM
-
By RogerL in forum Windows
Replies: 4
Last Post: 22nd September 2009, 12:15 PM
-
By Dos_Box in forum How do you do....it?
Replies: 63
Last Post: 13th November 2006, 07:02 PM
-
By Dos_Box in forum General Chat
Replies: 4
Last Post: 3rd July 2005, 09:44 PM
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules