Preventing Logon Scripts for Particular Server

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

Guest

We configured Logon Scripts for drive mapping purpose for all the users in
our domain. But we dont want the Logon scripts to execute when user login to
a particular terminal server in the domain. How to disable Logon scripts for
a particular terminal server. The domain is windows server 2003 domain and
the Terminal server is running windows 2000

Thanks in Advance
 
We configured Logon Scripts for drive mapping purpose for all the users in
our domain. But we dont want the Logon scripts to execute when user login to
a particular terminal server in the domain. How to disable Logon scripts for
a particular terminal server. The domain is windows server 2003 domain and
the Terminal server is running windows 2000

Thanks in Advance

If the particular terminal server is name NoNever, then in the begining of the logon script, add:

if /i "%computername%" EQU "NoNever" goto :EOF

Jerold Schulman
Windows Server MVP
JSI, Inc.
http://www.jsiinc.com
http://www.jsifaq.com
 
Dear Jerold Schulman

Its working fine. Thanks a lot for your support

Regards
S.Pugazhendhi
 
Back
Top