I finally done it.
If @lserver = "\\srv1" is right. the backslashes must be there.
the other problem was, that the script needed time to be replicated to the different domain controllers. even if the *.kix file was there, there was an error message.
after lunch tried again, and everything works.
thanks again + good work
kurt