Logon Scripts _ Urgent Help!

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi
We have several servers in operation and all users use the same logon script
no matter where they are located. some users occasionally log onto a
Terminal Server and dont need the script to run. How do I get the script to
run all the time except when they log onto TS1? Something like an if command
if server=TS1 then end , Im not sure, im just guessing, please help!!
 
Mark said:
Hi
We have several servers in operation and all users use the same logon script
no matter where they are located. some users occasionally log onto a
Terminal Server and dont need the script to run. How do I get the script to
run all the time except when they log onto TS1? Something like an if command
if server=TS1 then end , Im not sure, im just guessing, please help!!

I wonder what the urgency is about such a simple
request. Some life-threatening disease perhaps?

You could test for the environment variiable
"ClientName". It seems to be set to the NetBIOS
name of the client PC.
 
Back
Top