I also noticed that Win 7 logins seemed longer than XP, but not
excessively so. Part of that was that the login scripts and some other
things ran before the user saw the desktop. I recently set up a
Windows 2008 R2 member server for remote desktop and found the network
logins were REALLY slow. Even tho I did not have roaming profiles
enabled, I had to make a registry change as well. This is with
samba 3. I don't know if it is a Samba but or Windows bug, or just
some interplay of the two.
That doesn't really answer your question - I think it is just a known
issue and your solution is the appropriate one.
On 6/5/2014 6:43 AM, Klaus Hartnegg wrote:> Hi,
>
> I found that login to Samba4 PDC takes few seconds in XP, but very
> long in Win7.
>
> The Login in Win7 is fast when setting this:
> [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\System]
> "WaitForNetwork"=dword:00000001
>
> If I set it to 1, the login takes about 3 seconds. If I set it to 90
> (decimal), then the login takes more than 90 seconds. Setting it to 0
> means using the default, which is 30 seconds.
>
> But this parameter is supposed to affect only roaming profiles, and I
> have roaming profiles disabledi (logon path set to empty)!
>
> Should I report this as bug?
>
> Klaus