General discussion


Logon script question

By toreador ·
Hi all, I am trying to configure a logon script to NOT run for any user on a particular server. Our security officer has a new program running on our proxy that alerts him if users are visiting unauthorized sites (porno, etc.) The problem is that when I log into the server for maintenance it will show my profile as visiting all of the sites the users are visiting until I log back off. This is not really a problem but it would be better if he did not have to research who was visiting the site during this time. What I am looking for is a simple

?if computer name = ?server1? then no logon script?

type of command to add to my logon script. Anyone have any suggestions?

This conversation is currently closed to new comments.

Thread display: Collapse - | Expand +

All Comments

Collapse -

by SyscoKid In reply to Logon script question

If computername="server1" goto End

rest of script here, then last line...


Collapse -

by toreador In reply to

Syscokid, I had tried something very close to this (I didn't have the :End). It took a few minutes to figure out that the first line you suggested "If computername="server1"" needed to have 2 equal signs "If computername=="server1"". It runs, or doesn't run, as needed now. Thanks!

Collapse -

by toreador In reply to Logon script question

This question was closed by the author

Related Discussions

Related Forums