Tips – Problema di Share di Rete SMB 1.0 e Windows 7

Ho avuto modo di imbattermi in dei problemi di accesso a share di rete che supportano SMB 1.0, create con Samba, e client con Windows 7. 

I problemi presentatesi sono di disconnessione, problemi nel salvataggio dei documenti ed aperture dei file (word ed excel) che rimanevano "appesi" nell'apertura.

La questione è tuttora aperta ma segno nel blog dei tips o articoli che utilizzo o utilizzerò per affrontare la questione al meglio:

1.) You cannot save documents to a folder or change the permission settings of folders on a SMB 1.0-based remote server from a Windows-based computer that has security update 980232 (MS10-020) installed



2.) A computer that is running Windows 7 or Windows Server 2008 R2 takes four minutes to open a Microsoft Office 2003 document from a network share



MANY MANY companies have had this issue with Windows 7 and Office 2007. I have the problem with Office 2010, because I skipped Offcie 2007 on our network.  I went back and tried again disabling SMB2 on Server 2008 and on the Windows 7 clients . . which was a soluton for others with this problem.
Disabling SMB2 on the server and the client fixed this issue.   This problem has been around for a year and many people wonder, like I do why Microsoft has not fixed this problem.  (An internet search on this subject has many forums addressing the same problem)

3.) Dal blog di Petri IT
To disable SMB 2.0. You need to do so on both the "client" and the "server" operating systems. To disable SMB 2.0 for Windows Vista, Windows 7 or Windows Server 2008 systems that are the “client” systems run the following commands:
sc config lanmanworkstation depend= bowser/mrxsmb10/nsi
sc config mrxsmb20 start= disabled

Note there's an extra " " (space) after the "=" sign.
To enable back SMB 2.0 for Windows Vista or Windows Server 2008 systems that are the “client” systems run the following commands:
sc config lanmanworkstation depend= bowser/mrxsmb10/mrxsmb20/nsi
sc config mrxsmb20 start= auto

Again, note there's an extra " " (space) after the "=" sign.
In order to disable SMB 2.0 on the server-side computer, follow these steps:
Warning!
This document contains instructions for editing the registry. If you make any error while editing the registry, you can potentially cause Windows to fail or be unable to boot, requiring you to reinstall Windows. Edit the registry at your own risk. Always back up the registry before making any changes. If you do not feel comfortable editing the registry, do not attempt these instructions. Instead, seek the help of a trained computer specialist.
  1. Run "regedit" on Windows Server 2008 based computer.
  2. Expand and locate the sub tree as follows.
HKLM\System\CurrentControlSet\Services\LanmanServer\Parameters
  1. Add a new REG_DWORD key with the name of "Smb2" (without quotation mark)
Value name: Smb2
Value type: REG_DWORD
0 = disabled
1 = enabled
  1. Set the value to 0 to disable SMB 2.0, or set it to 1 to re-enable SMB 2.0.
  2. Reboot the server.


Though Office 2010 is not specifically listed I have a feeling that the fix is similar.

My guess is that the only change required will be to replace:

"HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Common\Open Find"
with:
 "HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Common\Open Find"

5.) Ecco alcuni link messi insieme:

Windows 7
A computer that is running Windows 7 or Windows Server 2008 R2 takes four minutes to open a Microsoft Office 2003 document from a network share

http://support.microsoft.com/kb/981872


AND


982860 A computer that is running Windows 7 or Windows Server 2008 R2 takes four minutes to open a Microsoft Office 2003 document from a network share


http://support.microsoft.com/default.aspx?scid=kb;EN-US;982860



Server:

981964 You experience low performance when you access many small files on an SMB version 1 protocol-enabled remote server from a Windows Vista or Windows Server 2008-based client computer

http://support.microsoft.com/default.aspx?scid=kb;EN-US;981964


AND


983458 You cannot save documents to a folder or change the permission settings of folders on a SMB 1.0-based remote server from a Windows-based computer that has security update 980232 (MS10-020) installed


http://support.microsoft.com/default.aspx?scid=kb;EN-US;983458