NT 4.0 Domain with two Windows 2000 Terminal

  • Thread starter Thread starter Frank
  • Start date Start date
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
 
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
 
Back
Top