Hello guys, We recently added Windows 10 machines on our domain on samba 4.1.2. So we have now a part of our machines who are in Window 7, and another part in Windows 10. Everything seems to be fine, except one thing : the windows 10 machines don't execute the logon script (common.bat) specified in the smb.conf by logon script = commun.bat, while the windows 7 machines do. Any idea on how to fix that ? Thanks in Advance jh
On Fri, 6 Jul 2018 09:53:04 +0200 Jean-Hugues Belpois via samba <samba at lists.samba.org> wrote:> Hello guys, > > We recently added Windows 10 machines on our domain on samba 4.1.2. > So we have now a part of our machines who are in Window 7, and > another part in Windows 10. > Everything seems to be fine, except one thing : the windows 10 > machines don't execute the logon script (common.bat) specified in the > smb.conf by logon script = commun.bat, while the windows 7 machines > do. > > Any idea on how to fix that ? > > Thanks in Advance > > jh > >Is this an NT4-style domain or an AD domain ? If the former, start accelerated plans to upgrade to AD, there have been reports that the latest Win10 will not even join an NT4-style domain. If it is the later, you do not use 'logon script' in an AD smb.conf. Rowland
Thanks for your answer. It is a non-AD domain, but Win10 machines join the domain without problems. No plan to move to AD shortly, any other idea to fix the problem? jh Le 06/07/2018 à 10:47, Rowland Penny via samba a écrit :> On Fri, 6 Jul 2018 09:53:04 +0200 > Jean-Hugues Belpois via samba <samba at lists.samba.org> wrote: > >> Hello guys, >> >> We recently added Windows 10 machines on our domain on samba 4.1.2. >> So we have now a part of our machines who are in Window 7, and >> another part in Windows 10. >> Everything seems to be fine, except one thing : the windows 10 >> machines don't execute the logon script (common.bat) specified in the >> smb.conf by logon script = commun.bat, while the windows 7 machines >> do. >> >> Any idea on how to fix that ? >> >> Thanks in Advance >> >> jh >> >> > Is this an NT4-style domain or an AD domain ? > > If the former, start accelerated plans to upgrade to AD, there have > been reports that the latest Win10 will not even join an NT4-style > domain. > > If it is the later, you do not use 'logon script' in an AD smb.conf. > > Rowland >
Am Freitag, 6. Juli 2018, 09:53:04 CEST schrieb Jean-Hugues Belpois via samba:> Hello guys, > > We recently added Windows 10 machines on our domain on samba4.1.2.> So we have now a part of our machines who are in Window 7, andanother> part in Windows 10. > Everything seems to be fine, except one thing : the windows 10 > machines don't execute the logon script (common.bat) specified in the > smb.conf by logon script = commun.bat, while the windows 7 machines > do. > > Any idea on how to fix that ?Windows 8.1 and 10 https://support.microsoft.com/en-us/help/2895815/logon-scripts-do-not-run-for-five-minutes-after-a-user-logs-on-to-a-wi> Thanks in Advance > > jh-- Gruss Harry Jede
Jean-Hugues Belpois
2018-Jul-09 14:35 UTC
[Samba] Windows 10 and logon script execution [solved]
Problem solved by a registry modification. Thank's to Arnaud for his solution, thank's to others of you who suggest tips to me. jh ------------------------------------------------------------------ > 6./7/2018, 09:53:04 CEST Jean-Hugues Belpois via > samba: Hello guys, We recently added Windows 10 machines on our domain on samba 4.1.2. So we have now a part of our machines who are in Window 7, and another part in Windows 10. Everything seems to be fine, except one thing : the windows 10 machines don't execute the logon script (common.bat) specified in the smb.conf by logon script = commun.bat, while the windows 7 machines do. Any idea on how to fix that ? Thanks in Advance jh