Azzershaw
Thanks for the advice, i can see I will have problems. First I use macros and the script also uses about 4 udf's.
I cannot put this script in the logon scripts, they don't always use them.
I can compile either a list of PC's or Ip address's but i do not know how to referance the list.
I am very new to script writing so Hints would be a great help.
I have a few things to add to the script and i will try and post today, if not on Monday. please take a look and let me know what you think.

thanks
Ricky