I am about connection Windows 7 workstations to a Windows Server 2012 R2 Standard with Essentials Services established which was newly added into our existing level 2003 AD.
The first workstation did well. It connects and user logon script is executed which mainly attaches network drives.
The second workstation wouldn't connect. It has previously "seen" a 2008 Essentials server, so I had to remove the workstation from both DNS and AD Computers and Users to make it connect.
It connects now, but the user logon script is ignored.
If I go to the DC\sysvol and browse to the folder with the script, I can double-click this and it runs and the mapped drives are established, so the script can run.
In Group Policy Object Editor the script is located under:
User Configuration, Windows Settings, Scripts (Logon/Logoff), folder Logon:
How can I debug this so the script will run again at logon?