atomatic loguot

  • Thread starter Thread starter Ahmed Osama
  • Start date Start date
A

Ahmed Osama

hi all

any one know tools or option to logout the user automatic when ideal

my server run win2000 AD domain

AHMED
 
I have not tested this, but there is a setting, that appears to log off
users when the "logon hours expire", perhaps you could use this to enfore
that clients log off.

Computer Configuration->Windows Settings->Security Settings->Local
Policy->Security options->Force Logoff when logon hours expire

If this does not work, you could write a script that logs the user off that
you schedule to run.

Here is a sample script on how to do this using WMI

Set oWin32_OperatingSystem =
GetObject("winmgmts:{impersonationLevel=impersonate,(Shutdown)}").ExecQuery(
"select * from Win32_OperatingSystem")
for each Operatingsystem in oWin32_Operatingsystem
OperatingSystem.win32Shutdown 0,4
Next

Good luck

Niclas Lindblom
 
i know this policy but
i asked about logof the user when desktob ideal something like screensaver

Ahmed
 
Ahmed,

I am not really clear what your requirement is, Would you like to enforce
logout after a period a period of inactivity or at a specific time ?

Regards

Niclas Lindblom
 
Hi

I don't know if this is the sort of thing you are after but there is a
screen saver that will log the user off after a set amount of time
that can be configured.

Do a search for Winexit.scr

Sean
 
Back
Top