Logon Scripts _ Urgent Help!

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!!
 
P

Pegasus \(MVP\)

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top