Partilhar via


Set Logon Hours

Applies To: Windows Server 2008

Membership in Account Operators, Domain Admins, or Enterprise Admins, or equivalent, is the minimum required to complete this procedure. Review details about using the appropriate accounts and group memberships at Local and Domain Default Groups (https://go.microsoft.com/fwlink/?LinkId=83477).

To set logon hours using the Windows interface

  1. To open Active Directory Users and Computers, click Start, click Control Panel, double-click Administrative Tools, and then double-click Active Directory Users and Computers.

  2. In the console tree, click Users.

    Where?

    • Active Directory Users and Computers/domain node/Users
  3. Right-click the user account, and then click Properties.

  4. On the Account tab, click Logon Hours, and then set the permitted or denied logon hours for the user.

Additional considerations

  • To perform this procedure, you must be a member of the Account Operators group, Domain Admins group, or Enterprise Admins group in Active Directory Domain Services (AD DS), or you must have been delegated the appropriate authority. As a security best practice, consider using Run as to perform this procedure.

  • Another way to open Active Directory Users and Computers is to click Start, click Run, and then type dsa.msc.

  • To modify the logon hours for multiple users, press and hold down CTRL, and then click each user. Right-click the selected users, and then click Properties. On the Account tab, click Logon Hours, and then set the permitted or denied logon hours for the user.

Additional references