Hate to be that guy... make my ship go

Well low and behold! Thanks to this fella (Grandjean) This worked for me:

  • Put the script in /var/lib/samba/sysvol/daxqhome.intranet/scripts/login.bat
  • Make sure you can access it via Windows File manager \daxqhome.intranet\netlogon
  • Logon to a windows client as Administrator of the Domain and open the login.bat file with notepad
  • Resave it - (Apparently using ms-dos format from nano was not good enough)
  • Logon to Univention web interface, open the user you want to use the script and go to the “Account” tab. There you have a field called “Windows logon script”. Enter the name of your script (login.bat) into this field and save the user.
  • Reboot the desktop (client) and boom it was running my login.bat script.

So far that’s what worked for me.