In our Active Directory we’ve configured a logon script for the user Administrator but it wasn’t executed after logon. The script’s path was accessible via the network and could successfully be executed manually.
However, the problem was that somebody changed the script’s path in the Active Directory account from a simple logon.cmd to %LOGONSERVER%\netlogon\logon.cmd. Although the latter is the correct path for the script it wasn’t executed. After changing back the path to only the filename, it magically worked again 🙂
The problem with the absolute path above is, that the environment variable %LOGONSERVER% is not set until the logon script runs so the path could not be resolved beforehand to call the script.