Quote:

I need to write a script that will run on all the servers in my domain




Why does it it have to run on every server? Would it not be adequate to run on one admin wksta and touch every server?

This could be easily done as well with the cusrmgr.exe reskit util.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.