Discussion Locked

Logon script question

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

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?

3 replies

by toreador

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!

This discussion is closed to new replies.