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.

The Author — Mitch Tulloch

Mitch Tulloch is a widely recognized expert on Windows administration, networking, and security. He has been repeatedly awarded Most Valuable Professional (MVP) status by Microsoft for his outstanding contributions in supporting users who deploy and use Microsoft platforms, products and solutions. Mitch has published over two hundred articles on different IT websites and magazines, and he has written or contributed to almost two dozen books and is lead author for the Windows 7 Resource Kit from Microsoft Press. For more information, see www.mtit.com .

Latest Contributions

Featured Links