Solved

Limit User AccessTtimes

Posted on 2009-06-28
8
304 Views
Last Modified: 2013-12-04
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
0
Comment
Question by:m_jundi
  • 3
  • 2
8 Comments
 
LVL 31

Accepted Solution

by:
Henrik Johansson earned 150 total points
ID: 24739160
No, logon hours feature is as name indicate limited to only handle full hour intervals like 08:00aM-5:00PM and can't be splitted up in minute intervals. What you want to do is not possibly.
0
 
LVL 31

Expert Comment

by:Paranormastic
ID: 24739252
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

0
 
LVL 31

Expert Comment

by:Paranormastic
ID: 24739329
0
Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

 
LVL 31

Expert Comment

by:Henrik Johansson
ID: 24739434
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.
0
 
LVL 31

Expert Comment

by:Henrik Johansson
ID: 24743199
I see a minor typo in my last post. The binary structure is 7*24bits (24 hour per day and 7 days)
0
 

Author Comment

by:m_jundi
ID: 25002112
Hi,I know how to do it per hour using net user, but there is no answer to my question
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
SSL certificate pack 6 150
Task with PowerShell Script is failing with 0x41301 7 83
server DNS address could not be found 22 124
Server Backup on 2016 Essentials Box 1 34
OfficeMate Freezes on login or does not load after login credentials are input.
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
I designed this idea while studying technology in the classroom.  This is a semester long project.  Students are asked to take photographs on a specific topic which they find meaningful, it can be a place or situation such as travel or homelessness.…
Need to grow your business through quality cloud solutions? With everything required to build a cloud platform and solution, you may feel like the distance between you and the cloud is quite long. Help is here. Spend some time learning about the Con…

929 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

11 Experts available now in Live!

Get 1:1 Help Now