Preventing Logon Scripts for Particular Server

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
 
J

Jerold Schulman

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
 
G

Guest

Dear Jerold Schulman

Its working fine. Thanks a lot for your support

Regards
S.Pugazhendhi
 

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