NT 4.0 Domain with two Windows 2000 Terminal

F

Frank

Hy,
I have a NT 4.0 Domain with two Windows 2000 Terminal
Server. On this server i have installed Citrix Metaframe
XP 1.0.
How i can disable a domain logon script when my user
connect to a terminal server session ?
In this moment every user run a logon script two times;
one when they logon to a domain e another when they open a
terminal server session.

Thanks
 
V

Vera Noest [MVP]

You can jump out of the script if you detect that the user is running
a TS session:

REM ** Jump out of the script if this is a TS-session,
REM ** Variable %CLIENTNAME% is undefined during a normal
REM ** domain logon, and equals the local workstation name
REM ** in a TS session
IF NOT "A%CLIENTNAME%A" == "AA" goto end

:end
 

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