Hi,
Does anyone know how to stop pupils logging on to a teacher computer?
We want a script that shuts the computer down when the script see staff.txt
on the root of c:\
Any ideas
Printable View
Hi,
Does anyone know how to stop pupils logging on to a teacher computer?
We want a script that shuts the computer down when the script see staff.txt
on the root of c:\
Any ideas
If the teachers computers are in a specific OU, then in the group policy settings under computer settings and security there is an option to stop certain users/groups logging in locally. Add the students group into this setting and your students will not be able to log in.
Haven't got a Windows Machine with me at the moment so can't remember exactly where the setting is or what it is called but I'm sure somebody else will point it out.
Tom
Yes did it in GPO.
Thanks for the fast response.
Just wanted to be smart and shut the computer down when a pupils try to logon.:D
if exist c:\staff.txt shutdown /s /f /c "Mr Eric is coming with his clue bat, leave while escape is still possible."
Is it not easier to have your machines set up so who logs on determines the restrictions in place on that machine.
Here we are set up so staff or students can log on to any machine and how they can see things on that machine or use things is down to who they are (via scripts and GPO). That way it makes no difference if a student logs onto a staff computer.
Sometimes you need to block a certain group from logging into a set of machines though, our systems are all locked down in the way you describe but certain machines, like the office ones are locked to only office people as the teachers used to go in there after school and trash stuff - move chair settings, jam the printer etc. In the same way the students are not allowd to log on to the office machines as they should not be in there anyway. It is just one more barrier to prevent damage and/or nusance.