Discussion Locked

Problem in Force Logoff

0 helpful
6 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I have defined logon hours to be denied from 3 - 4 am for all Users.

Under Default Domain Policy and Domain Controller Security Policy I have enabled Force Logoff when logon hours expire.

Most users leave their computer on overnight, but with the Force Logoff enabled, the users do not get logged off when their hours expire.

I have read around and have seen that the force logoff does not actually force logoff as the name suggests.

Help me that is there any thirs party software which may enforce logoff when time expires

Thanks in advance for any help.

6 replies

by jimklallsoo

If you type "net accounts" at a cmd line, I suspect you'll see the following line:

Force user logoff how long after time expires? :
Never

To set this use the following cmd:

net accounts /forcelogoff: /domain

Where "minutes" is the number of minutes ahead of the forced logoff to warn the user.

by imranmcse

It is not working when restricted time came users is still logged on not being logged off

by trockii

As far as I am aware active directory denial of logons only go into effect once a person logs out THEN attempts to log in during the denied time frame. You may have to make a script that totally reboots the system or turns off the system completely at a certain time.

This discussion is closed to new replies.