Jump to content

Recommended Posts

Posted

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.

Posted

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

Posted
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.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...