HOW TO: Limit User Logon Time in a Domain in Windows Server 2003 has all the info you need i think
There is a section on changing times for users and groups as well as non standard hours
Well what the title says really!! Got a bit of a problem with kids coming in before there supposed to and sneeking into a room and doing all sorts of stuff on a computer.
I have looked at the the restrict logon hours but they are only in 1 hour blocks and i need it open at 8.30 for registration as some form tutors do bring the kids down to a computer room in registration.
No, that's no use.
But there is another way, if you can do VBS scripting, with AD.
Create two scripts:
1. Disables all user accounts
2. Re-Enables all user accounts
Schedule them to run (1) at 4:30pm (or whatever time the school closes), and to run (2) at 8:30am.
Make sure it doesn't disable your account, just the students.
This solution's a bit Heath Robinson, but works if pupils have no access to the power supply for the CPUs (a box secured over the plugs, or they're in a cupboard)
On each CPU mains socket involved put a simple timer (This sort of thing: QVS Electrical Supplies :: Twin Pack 24Hr Plug-in Timers) , setting the power to go on and off at the appropriate times. No power = no logon!
Make sure you have some sort of scripted shutdown in place for these machines that would be activated BEFORE the power goes off for the night.
I've looked about for a similar function, as none of our lessons equate to any 1 hour block, the only thin I found that I could use, was the fact we could allow people to logon, but not force logoff when they're out of time.
We've since been stopped from locking student accounts, by SLT.
We now, have lockable rooms, it cuts down on vandalism too, but I'm still tempted to put CCTV in all the computer rooms.
I have a logon script that will log the user off right away if they logon between a certain time.
If your interested give me shout
On the properties of the users profile there is a section to restrist what times they can logon etc.
I used todo it with the Kids playing Unreal Tournament, could only play or log onto the "Unreal" account after 4:30PM.
Worked a treat!
Sorry to bump an old forum post... But FN-GM any chance you still have that script its exactly what i need for something as one IT room keeps getting left unlocked at lunch and miss used by students.
There are currently 1 users browsing this thread. (0 members and 1 guests)