Windows 7 and SAMBA/CIFS access

Windows 7 and SAMBA/CIFS access does not properly work out of the box. At least with my two QNAP NAS servers. There is an excellent article here:

http://www.tannerwilliamson.com/2009/09/windows-7-seven-network-file-sharing-fix-samba-smb/

but it only works on Windows 7 Ultimate or Professional due to the fact you have to modify some security policies. If you have, like myself, Windows 7 Home Premium do the following:

Copy and paste the following text into a text file with the extension .reg, for example win7smbfix.reg:

Windows Registry Editor Version 5.00

; Reference: http://wiki.samba.org/index.php/Windows7

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\LanManWorkstation\Parameters]
"DNSNameResolutionRequired"=dword:00000000
"DomainCompatibilityMode"=dword:00000001

; Reference: http://www.tannerwilliamson.com/2009/09/windows-7-seven-network-file-sharing-fix-samba-smb/

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa]
"LmCompatibilityLevel"=dword:00000001

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\MSV1_0]
"NtlmMinClientSec"=dword:00000000
"NtlmMinServerSec"=dword:00000000


then double click on the file to add the registry keys to your Windows registry. Next, reboot and try to map the shares as your drives.

Please note, I still have occasional hangs-ups of Windows Explorer when Samba shares have been mounted. I'm still looking for a solution. Some users don't have any problems at all. I tried various firewalls (build-in, McAfee, Kaspersky), but no luck.

Comments

Popular Posts