Re: Forcing Logoff...

From: Torgeir Bakken \(MVP\) (Torgeir.Bakken-spam_at_hydro.com)
Date: 05/10/04


Date: Mon, 10 May 2004 20:39:03 +0200

Chris wrote:

> On the Domain Controller I think there is a domain Group Policy
> setting to Force Logoff after a certain period. Look under the
> Group policy>computer config>Security
Hi

You can't use this Group Policy setting for console logoff.

This forced logoff policy is a policy for SMB server, i.e. the computer
which has a network share accessible from a network. This policy, if
enabled on a server, ends the users session with the server when their
logon hours expire.

Here is a quote from the documentation for Windows XP's
"Net accounts" found at
http://www.microsoft.com/technet/treeview/default.asp?url=/technet/prodtechnol/winxppro/proddocs/net_accounts.asp

<quote>

/forcelogoff:{minutes | no}

    Sets the number of minutes to wait before ending a user's session
    with a server when the user account or valid logon time expires.
    The default value, no, prevents users from being forced to log off.
</quote>

-- 
torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway
Administration scripting examples and an ONLINE version of
the 1328 page Scripting Guide:
http://www.microsoft.com/technet/community/scriptcenter/default.mspx


Relevant Pages

  • Re: Force Log Off When Logon Hours Expire
    ... >You can't use this setting for console logoff. ... >This forced logoff policy is a policy for SMB server, ... >torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway ...
    (microsoft.public.windows.group_policy)
  • Re: Force disconnect when logon hours expire
    ... > Server/Disconnect clients when logon hours expire ... but if you mean a actual logoff of the user account on the client ... This means that you can't use this policy for console logoff. ... This forced logoff policy is a policy for SMB server, ...
    (microsoft.public.windowsxp.security_admin)
  • Re: Terminal server log
    ... if you have enabled auditing of logon and logoff ... I don't changed the policy, the server is just installed and i ... No, if you haven't enabled auditing of security events, there's no ... MCSE, CCEA, Microsoft MVP - Terminal Server ...
    (microsoft.public.windows.terminal_services)
  • Re: How to allow users to create groups and shares
    ... Add the user/group to the Computer configuration, windows settings, security settings, Local policies, "Allow logon locally" in the Default domain controllers policy and on a existing or new created policy for the member servers. ... Filtering: Not Applied ... check with GPMC on the server or from a client the policy settings. ...
    (microsoft.public.windows.server.active_directory)
  • Domain Controller Security Policy errors
    ... Security Policy or the Domain Controller Security Policy. ... The DC is also a print and file server. ... The domain controller for Group Policy operations is not available. ...
    (microsoft.public.win2000.active_directory)