How to identify terminal server session in a log in script.
Posted on 2001-08-30
Hi fellow Experts!
I wonder if someone can help me with this.
I am managing Terminal Server in the Windows 2000 Domain.
I have users who sometimes log in to Windows 2000 Domain via Terminal Server. All users have a login script assign to them, but Terminal server users shouldn't execute most of the commands in the script. I would like to be able in the beginning of the script to find out if a user is coming via Terminal Server session and exit the script. If user is a "normal" user all script commands should be executed.