Posted on 2011-09-20
We have just implemented a terminal server and I am playing around with the login scripts.
Now we have a few restrictions which I am putting in place through command line.
So I want to add these commands in the login script for the users, however it needs to run ONLY if the user is logging into the TS and no otherwise.
I do remember seeing something like...
IF COMPUTERNAME == TS GO TO...
And using label to run a bunch of commands for TS.
However, I don't remember it anymore and can't work it out after playing with commands for one hour or so.
So can someone help me here please?
Its rather urgent as the danm thing goes live tomorrow....