1. Copy your netlogon.bat (or batch file) to C:\Windows or any other folder.
  2. Open regedit.
  3. Navigate to HKLM\Software\Microsoft\Windows\CurrentVersion\Run
  4. Create newString Value and name it Logon with a data C:\Windows\netlogon.bat
  5. Exit Registry Editor
  6. Log off then log in to test it.