Link to home
Start Free TrialLog in
Avatar of Donnie4572
Donnie4572Flag for United States of America

asked on

Log Off

Hi,
Hope someone can help with this.
I need to force log-off to every one in the domain at a specified time everyday.
Actually, I would really like to force log off after a couple hours idle time, but I didn't think this one was possible.

Thank You,
Donnie
Avatar of luv2smile
luv2smile

Just set logon hours in the user's profiles:

In AD users and computers....on user accounts...click on properties and then click on "account"...there you will see a tab for "logon hours".

In 2003, you can highlight all the users in an OU at the same time and make this setting for all of them at once.
SOLUTION
Avatar of luv2smile
luv2smile

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Donnie4572

ASKER

Thanks for reply.
This could be a problem since I do not want to prevet log-on but just to kick them off the system.
 Example:
Suppose someone is working at the time I forced a log-off. Then, I need to allow that person to log right back on.

Is there a way to accomplish this without GP?
ASKER CERTIFIED SOLUTION
Avatar of aflockhart
aflockhart
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
With the winexit screen saver that I mentioned...this can force a loggoff and won't prevent them from logging back on.

Other than that...I'm not sure of a way unless you go to thrid party software.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
If you want to daily schedule logoff operation, write simple .bat or .cmd file using command prompt syntax of "net session /delete" and add it's execution in "Control Panel\Scheduled Tasks" panel. Good luck.
I suppose I will have to use aflockhart suggesstion. I guess because it will take the least effort on my part.
Thanks for all the comments I could use any one of them so I will split points.
Thanks again,
Donnie