We've had some login issues in our computer lab environment. When a class of 15-30 people try to log in at the beginning of class, they sometimes have to wait upwards of 20 minutes to get a desktop. We've tracked most of this delay down to some DNS issues. However, whenever we want to run a test, we have to manually walk around the lab and log computers in. Is there a way we can script this? I come from a *nix background. I suspect this should be possible, but googling for "scripts" related to "logging in" only gives me threads about logon scripts.
We are running Windows Server 2008 R2 with Windows 7 clients. Ideally I would like to run a script that takes 30 test users and logs each one of them into one of the lab machines.