Espada Posted December 6, 2007 Posted December 6, 2007 Right, what is the best way to do this? I want to be able to enforce seating plans in my classroom by either preventing users from logging in to the wrong machine or by logging them off. I could easily write a script to do this but that would require a lot of time and I was wondering if there was an easier way.
Midget Posted December 6, 2007 Posted December 6, 2007 vbs script is easiest quickest and dirtiest way dim foo = some user dim bar = some computer if user == foo and computername <> bar logout else don't logout
Espada Posted December 6, 2007 Author Posted December 6, 2007 That is very similar to the way I would do it, though I don't know vb that well. Is there an easy way in vb to get the name of the user on a remote machine, that way it could be controlled from my laptop and I don't need to worry about setting up timetables.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now