The logon scripts dont work on slow link when "allow local user profiles only" setting is enabled
SO when users login for the first time the scripts dont get executed.
When they login for the second time it works.
If we disable or even leave the "allow local user profiles" setting as not configured it works in the first go without having to log off.
It is a slow link and slow link detection and fast logon optimization have been disabled.