General discussion


Automatic log-off of users not working

By ppoll ·
I have a windows 2000 network, with windows 2000 servers and workstations. I want all users to be logged off by 3:00 am so that there won't be any open files that the backup will skip when it runs at 3:30. I'v told all users to shut their computers every night, but there are always those who forget and leave programs and files open. I therefor set all users not to be allowed to log on between 3:00 and 6:00 and I created a group policy applying to all domain users to automatically log off users when their log on time expires. For some reason this is not working. I often come in in the morning and find that the backup skipped many files, because there were users who left them open all night. when I go to computer manager and look at
the open sessions- I see that there are users who are logged on since yesterday. Do you have any ideas why the automatic logoff isn't working? What can I do to make sure all users are logged off so that the backup can run properly?

This conversation is currently closed to new comments.

Thread display: Collapse - | Expand +

All Comments

Collapse -

by TPCosmo In reply to Automatic log-off of user ...

I have been fighting with this same situation for months now.
I ended up writing a Kistart Script, and a .bat file to kick it off.
It works very well. If you need any help, let me know, and i can forward the files.

Collapse -

by TPCosmo In reply to

Here's a bettter way.

right click in the desktop, and create a new shortcut.
In the location line type: shutdown -l -t 0 -f Name it and click ok.
Then schedule a task to run that short cut.
Or create a BAT file with the same line, and schedule the .bat file.

want to reboot 'shutdown -r -t 0 -f' and that's a zero at the end, not a 'O'
shutdown? 'shutdown -s -t 0 -f '

Collapse -

by ppoll In reply to

I rated this as acceptable because this solution does work, but I found an even easier solution to this problem. I created a batch file to disconnect all open sessions on the server. I scheduled it to run right before the backup is scheduled to run. The command for the batch file is as follows: NET SESSION /DELETE /Y /Y

Collapse -

by ppoll In reply to Automatic log-off of user ...

This question was closed by the author

Related Discussions

Related Forums