I do not want my scripts to run when admins log into NT servers. I added the section below to my script to try to prevent this. It worked fine until I added the @productsuite case. I want the scripts to run if it is a terminal server, but that is the only type of server I want them to run on. I guess I am not sure about a couple of things.
One - how to use the @productsuite macro (do I use the number or the name?)
Two - If win2k terminal server in admin mode is enabled is this going to make the @productsuite = 16 or "terminal server" true?
Here is the script:
;Checks for NT Server OS and exits if true -checks if terminal server first and skips if true
Case @PRODUCTSUITE = 16
GOTO "resume0"
Case @PRODUCTTYPE = ("Windows NT Server")
exit
Case @PRODUCTTYPE = ("Windows 2000 Server")
exit
Endselect
:resume0thanks
Clay Hilton
_________________________
Clay