Link to home
Start Free TrialLog in
Avatar of Mahmoud Al Jundi
Mahmoud Al JundiFlag for Jordan

asked on

Limit User AccessTtimes

Hi
How can I limit user access times in Windows 2003 Server ? we don't have active directory,I  tried Net User with Times switch but it is limited to 1 hour increment, I need to setup access times like this   : 7:45AM  To 5:15PM.
Is this possible ?

Thanks
ASKER CERTIFIED SOLUTION
Avatar of Henrik Johansson
Henrik Johansson
Flag of Sweden image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Paranormastic
Not sure offhand how to do that without being on the hour, I would think there is a registry setting to change that - will see what I can dig up.

Here's at least something you can do for now...
Create allowed logon from 7:00AM-6:00PM
Create a scheduled task to logoff every minute - can assign permissions to the task if need to share the computer with other users that do have permission after hours - this article goes into it a little bit more:
http://grownupgeek.com/how-to-force-logout-time-windows-xp

With some third scripting it might work and the config nead to be stored somewhere, but the native feature is using a 24bit binary property on the user object flagging 1 or 0 if user is allowed to logon during the specific hour.
I see a minor typo in my last post. The binary structure is 7*24bits (24 hour per day and 7 days)
Avatar of Mahmoud Al Jundi

ASKER

Hi,I know how to do it per hour using net user, but there is no answer to my question