Hi

Thanks for your answers so far:

Gargoyle.....At present our domain admins need to be able to run logon scripts. The reason being is they use this account for their day to day activities. I know this isn't best practice (as I am from a security background) but the file permissions etc in the company will break if I change this.

My current requirement is to check if the domain admin is logging onto a server (as opposed to their workstation) and if so quit. To answer Les....we have that many servers that it would be impossible to list them all, unless I could specify this in a text file and someone could tell me how to read this in and check for it?

Thanks Guys