2 things.
1st is that you don't use the code tags provided by the board and that makes your post really messy [Big Grin]

what comes to labeling part, it's direct copy&paste from the label() udf and there seems to be timeout issues using it this way.

with persistent connections the other mapdrive() udf has proven to work quite well.
one solution is to just map the drives and then after that, use the label() to set the label.
this way there is delay which should take care of this thingie.

also runlogonscriptsync can affect that...
_________________________
!

download KiXnet