Logon hours on standalone machines

by Mitch Tulloch [Published on 27 Sept. 2007 / Last Updated on 27 Sept. 2007]

How to configure logon hours for local users on standalone machines in a workgroup

In an Active Directory environment, you can use the Active Directory Users and Computers to specify log on hours for a user i.e. which times the user can log on and which times he or she is prevented from logging on. Can you do the same for standalone Windows machines in a workgroup?

Yes but not using the UI. Instead, you can use the net user command with the /times switch to set and display the logon hours for a user account. Type net help user for more info.

***

Mitch Tulloch is lead author for the Windows Vista Resource Kit from Microsoft Press, which is THE book for IT pros who want to deploy, maintain and support Windows Vista in mid- and large-sized network environments. Mitch is also the author of Introducing Windows Server 2008, the first book from Microsoft Press about the exciting new server platform. For more information on these and other books written by Mitch, see www.mtit.com.

Featured Links