What's with %LOGONSERVER%? Is this a logon script or startup script?

Try \\domain.tld\NetLogon\ instead.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.