Thanks for your reply Coopra9,
My policies is defined as:
General:
- Type: Desktop Policies
- Name: Logon-logout_scripts
- Desktop language: nothing (empty)
- Desktop profile: nothing (empty)
- Logon scripts: test.bat
- Logout scripts: test.bat
Referencing object:
- user:toto
Here are the rights into scripts folder:
root@server:/# ls -altr /var/lib/samba/sysvol/mydomain.tld/scripts/
insgesamt 24
drwxrwx—+ 4 Administrator Administrators 4096 Apr 12 15:35 …
-rwxrwxrwx+ 1 Administrator Administrators 224 Apr 12 16:21 test.bat
drwxrwx—+ 2 Administrator Administrators 4096 Apr 12 16:21 .
root@server:/#
On my Windows 7 computer, i tried to change the group policy:
In the Local Group Policy Editor, go to “Computer Configuration” →
“Administrative Templates” → “System” → “Logon” → “Always wait for the network at computer startup and logon”In the Local Group Policy Editor go to “Computer Configuration” ->“Administrative Templates” → “System” → “Group Policy” → set “Startup policy processing wait time” to 120.
…but I still have the same problem …the script does not run on logon or logout !
Do you have another idea ?
Thanks