automatically log off users logon time not working

Discussion in 'Scripting' started by Joe, Feb 15, 2005.

  1. Joe

    Joe Guest

    Hello,
    I have all user accounts in an OU container within the windows 2000 domain
    created. I applied denied logon hours between 2-4am Sunday thru Saturday.
    I enabled the " Automatically Log Off Users When Logon Time Expires" on the
    default Domain Group Policy object within the Security Options node. I have
    the backup starting at 2:10am -4am only Sunday thru Saturday. The database
    accessed needs to be closed for the backup to occur and backup it's data.
    Still getting errors that the database is not closed and backed up do to
    open files. How can I audit the user accounts to ensure they are logged off
    to force these files to close. Is there another way to check this. Any
    suggestions are appreiciated. Thank you.
    Joey
     
    Joe, Feb 15, 2005
    #1
    1. Advertisements

  2. Hi

    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.

    So this policy will not log off the user from the console, and I would
    think it doesn't shut down the database server connections either.

    So you might need to look into configure a scheduled task that does a
    forced shutdown of the computers at 1:00am or something like that.
     
    Torgeir Bakken \(MVP\), Feb 15, 2005
    #2
    1. Advertisements

  3. You are asking for disaster if it did work.
     
    Phillip Windell, Feb 16, 2005
    #3
  4. Most database applications have a command to kick all users out, i.e.
    force all usersessions to log off.
    You might want to schedule such a command.

    Or the other way around: you could make a 'dump'-file from your
    running database and make a backup of the dumpfile.
     
    Corné Bogaarts, Feb 18, 2005
    #4
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.