|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
#1 |
|
Professional gadfly
|
Local logon time restrictions
Is it possible to set up logon time restrictions for a group on a local Windows XP Pro computer that's not using Active Directory? What I want to do is set it up so that members of the Users group can't log on at certain times. The only way I have found of doing this is using Group Policy Editor (N/A in this case) or by using the NET USER /TIMES command (doesn't apply to groups, and I don't want to do it for every user on a machine). NET LOCALGROUP doesn't have the TIMES switch. Any ideas?
|
|
|
|
|
|
#2 |
|
Member (9 bit)
Join Date: Jan 2006
Posts: 343
|
I have a suggestion, after researching various net commands, and coming up empty for a login solution:
Create a batch file like: shutdown.exe -l -f -c "System usage is not allowed at this time." Go to system tools >> scheduled tasks. Schedule this batch file to run at (login?) starting at say 9 pm and run for say, 10 hours. Hope this helps. |
|
|
|
|
|
#3 |
|
Professional gadfly
|
Yeah, I did think about that. That may be what I end up doing, setting up a scheduled task to run for everybody at 7 PM if it is still on.
|
|
|
|
|
|
#4 |
|
Member (9 bit)
Join Date: Jan 2006
Posts: 343
|
you can set up the permissions so some users/groups can only read the task, while others can read and execute, etc. just like setting NTFS file permissions.
|
|
|
|
|
|
#5 |
|
Member (9 bit)
Join Date: Jan 2006
Posts: 343
|
I have a solution for windows XP (might work on 2K, but I'm not sure) type in:
netuser {the target user account} /time:M-F,7am-10pm you cannot use any spaces in the command. Legal day values are: M,T,W,Th,F,Sa,Su to force logoff after a certain period: net accounts /forcelogoff:{minutes} Last edited by DynamicTech; 04-05-2006 at 10:14 AM. |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|