News, Product Information, and Tips
Check out our free utlities in the downloads section

Remote Administration



Remote Administration For Windows. Easy remote access of Windows 7, XP, 2008, 2000, and Vista Computers

Click here to find out more

Create Outlook Profiles



No more setup wizards in Outlook. Setup Outlook Profiles automatically from the command line

Click here to find out more

Network Administrator



Reboot Hundreds of computers, disable flash drives, deploy power managements settings.

Click here to get your free copy of Network Administrator. Over 25 plugins to make your life easier

USB Disabler



Disable Flash Drives for specific users, or only allow specific drives.

Click here for your free trial

Search

Archives

Restrict User Logon Hours

by Steve Wiseman on April 8, 2008 · 1 comment

in Windows

We have a support contract with one of our software vendors. From time to time they need to login via Remote Desktop and make changes or updates for us.

I setup a special account that will notify me when they login to our server – that way I always know when they are on our system. They always work on it during business hours, and in the past they have always called us before doing any work.

This morning I see a notification email that they had logged in after 6pm last night. Grrr. I like them having their own account and password, and I don’t want to disable and enable their account each time they need to do work…so I decided to see if I could limit their allowed times for logging in.

It is actually much easier than I imagined. To do it you need to get on the domain controller, open up Active Directory Users and Computers, and double click on the user you want to limit (In this case I will use our support account)

Logon Hours Active Directory

Then move over to the accounts tab, and click on the button that says “Logon Hours”

Logon Hours Account Properties

Once you click on that button, a window will appear that allows you to select the hours the user can logon.

Logon Hours Windows Active Directory

Simply make your choice, and now the user is limited to logon the hours you selected. If they try to logon during a restricted time, they will be greeted with this message:

Logon Hours Restriction

Now you don’t have to worry about users sneaking in when they shouldn’t

Like this article? Then sign up for my newsletter to get free tips and software sent right to your inbox once a week. Like you, I hate spam – I will never spam, or sell your email address.

Related Articles:

{ 1 comment… read it below or add one }

1 rifaz January 18, 2010 at 9:11 am

thanks a lot this helped me a lot to understand about assignning log on hours for user accounts

Leave a Comment

Category Links - Windows Forum - Exchange Forum