Solved

Limit User AccessTtimes

Posted on 2009-06-28
8
307 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
Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

 
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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

The term "Bad USB" is a buzz word that is usually used when talking about attacks on computer systems that involve USB devices. In this article, I will show what possibilities modern windows systems (win8.x and win10) offer to fight these attacks wi…
SHARE your personal details only on a NEED to basis. Take CHARGE and SECURE your IDENTITY. How do I then PROTECT myself and stay in charge of my own Personal details (and) - MY own WAY...
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

828 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