my localadmin does not solve anything.
it just checks wether the current user is in local administrators group.
in local wksta's local admin group.

\\wksta\administrators that is.

but, as a matter of fact, haven't tested it [Wink]
I rarely test my scripts but nobody has said that it wouldn't have worked [Razz]
_________________________
!

download KiXnet