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