Re: Force disconnect when logon hours expire

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


Date: Sun, 24 Oct 2004 18:07:55 +0200

enghps1 wrote:

> Thanks but still no joy, this IS set in the Default Domain Policy and I have
> BOTH these enabled:
> Computer config/windows/security/local policies/security options/MS Network
> Server/Disconnect clients when logon hours expire
> Computer config/windows/security/local policies/security options/Network
> Security/Force logoff when logon hours expire
>
> So am still confused
Hi

I'm not sure what you put into the word "disconnect" in this setting,
but if you mean a actual logoff of the user account on the client
computer, this policy is not about that.

This means that you can't use this policy 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.

-- 
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/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: Domain Password Policy
    ... So I guess it is kind of a server, ... I thought the domain policy would override the tick that never expires. ... This is good to know so we can create one service account where the password ... click do not expire and this truly wont expire with the domain policy. ...
    (microsoft.public.windows.server.general)
  • Re: Forcing Logoff...
    ... You can't use this Group Policy setting for console logoff. ... This forced logoff policy is a policy for SMB server, ...
    (microsoft.public.windowsxp.security_admin)
  • Re: Disabling password expiration
    ... How is this "And it still says the passwords will expire" said? ... Check on the client with gpresult /v if the policy is applied. ... I do not want there to be expiration on the the users password, ... So I went into domain policy settings on the server, ...
    (microsoft.public.windows.server.active_directory)
  • Re: User Login Time Restrictions
    ... > This forced logoff policy is a policy for SMB server, ... > policy, if enabled on a server, ends the users session with the ... > server when their logon hours expire. ...
    (microsoft.public.windowsxp.general)