Disabling User Accounts with a scheduled time?

Posted on 2006-05-22
Last Modified: 2010-04-18
Seems to me this was available in Win2K Server, but not Server 2003.

We have (2) Win2003 Servers (WORKGROUP SERVERS, not DOMAIN) and occasionally need to disable accounts.  This is no problem through the User Manager, but wasn't there a timetable that allowed you to schedule times Users could be accessing the network?  Or was this under SHARES?  I need to do a lock-out of an account soon, but it needs to happen as the clock strikes 12pm in a few weeks.

Anyone have an idea?

Thank you,
Question by:baamold
    LVL 48

    Accepted Solution

    Hi baamold,

    create that in a VBS script and set as a scheduled task :)
    LVL 77

    Assisted Solution

    by:Rob Williams
    You can change the user's logon hours in the user's profile.
    In active directory Users and computers on the User's profile, under account, click on Logon Hours. This will let you set the hours the user may or may not logon. It will only allow control by the days of the week and time, but that would allow you to set the blocking rules up to 7 days ahead. Then you would have to manually disable the account before the cycle looped again.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    This may not be a text book method to resolve VSS backup issues but it seemed to have worked on few of the Windows 2003 servers we had issues while performing a Volume Shadow Copy backup. If you have issues while performing a shadow copy backup usin…
    On July 14th 2015, Windows Server 2003 will become End of Support, leaving hundreds of thousands of servers around the world that still run this 12 year old operating system vulnerable and potentially out of compliance in many organisations around t…
    Internet Business Fax to Email Made Easy - With eFax Corporate (, you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
    Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

    758 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    13 Experts available now in Live!

    Get 1:1 Help Now