[Samba] Windows 10 clients slow remapping drives and somewhat inconsistent in reconnecting to the saved map drives
L.P.H. van Belle
belle at bazuin.nl
Thu Jun 7 14:59:31 UTC 2018
> > The two primary errors that the windows 10 client receives are:
> > 1) "The account is not authorized to log in from this station" -
> > not true I see this issue mostly after the windows 10 system comes
> > out of sleep mode. And the only way to get the connection
> to succeed
> > is reboot the windows 10 client.
> > 2) "there is a time and/or date difference between the client and
> > server" - yes by like 3 seconds I see this issue mostly after the
> > windows 10 system has been powered off. If I check the time between
> > the fileserver and the windows 10 client I see up to 3 second time
> > difference. IF I get the windows 10 client to update its time from
> > the network time server the connection reconnects fine then. The
> > windows clients are not dual boot systems, they use just the single
> > OS. # I thought that the time difference could be up to 5 minutes #
> > TimeZones seem to be set properly on the Servers and client Windows
> > systeminfo reports: Time Zone: (UTC-05:00) Eastern
> > Time (US & Canada) Adjust for Daylight savings
1) Try, go into the bios of that computer, and check the bios time.
set it close to the AD DC time.
2) see 1. and that did not help, did you see this in the even log of the PC?
Can you post the exact id the event info.
Yes, you "should" have 5 min, but the event log should show that.
> Here is the relevant portions of the samba file server config:
> My ideal config makes use of the highest level of security features
> available while maintaining compatibility between the two different
> client versions of windows and the samba server.
That's my ideal config also, but i've thats in the samba case not always the best setting.
I also suggest you upgrade you samba as Rowland also told and then remove almost everything you posted of that member config.
> realm = dom.example.com
> security = ADS
> kerberos method = secrets and keytab
> dedicated keytab file = /etc/krb5.keytab
> winbind refresh tickets = yes
And a few things you can try without upgrading samba.
Disable the "Show first sign-in animation" setting through GPO.
If you use any loginscript, what if you disable them, and you can do almost anything with GPO also if you really need.
If you dont use onedrive. Disable it by GPO.
Computer Policy > Computer Configuration > Administrative Templates > Windows Components > OneDrive.
Turn of Animation of every start menu item. ( disable all live-tiles )
Go throug every windows settting in privacy. Disable as much as you can.
Tip. If you disable for example background apps. Follow this order.
Disable every single app, then disable it with the top button. The advantage of this is.....
If MS enables the background apps again, now all others keep disabled ;-)
I follow this for every privacy setting.
And this result in a about 10% faster windows.
Turn off the sleep function.
Disable fast start. https://www.windowscentral.com/how-disable-windows-10-fast-startup
The location maybe be in an other place..
Last, remove /disable smb1 from you win10 if you did not do that already.
So a few thing you can try.
Most things i showed above wil reduce outgoing connections to the internet.
If you take care of most, you wil notice you pc is faster now.
More information about the samba