Hier der passende KB Artikel für die Oplocks: http://support.microsoft.com/kb/296264
Zur Abfrage der Einstellung:
reg query "HKLM\System\CurrentControlSet\Services\lanmanserv
er\parameters"
Zum Abschalten am Server:
reg add "HKLM\System\CurrentControlSet\Services\lanmanserver
\parameters" /v EnableOplocks /t REG_DWORD /d 0
Damit aber nicht genug. Denn es muss gleichzeitig noch SMB2 abgeschaltet werden. Ob man dies nun am Server oder am Client macht hängt davon ab, welche Clients ein Problem haben.
Auf die Schnelle kann man SMB2 auf dem Server abschalten, wenn man laut diesem Artikel http://www.petri.co.il/how-to-disable-smb-2-on-windows-vista-or-server-2008.htm# mittels
reg add "HKLM\System\CurrentControlSet\Services\lanmanserver
\parameters" /v Smb2 /t REG_DWORD /d 0
abschaltet. Ein zusätzliches Abschalten auf den Clients sollte eigentlich nicht notwendig sein, denn damit SMB2 verwendet wird, muss dieses auf beiden Seiten aktiv sein.
Infos zu SMB2: http://blogs.technet.com/b/josebda/archive/2008/12/05/smb2-a-complete-redesign-of-the-main-remote-file-protocol-for-windows.aspx
In Verbindung mit SMB2 und dessen spezifische Registrierungseinträge dürfte dieser Forumeintrag noch interessant sein: http://social.msdn.microsoft.com/Forums/en/os_fileservices/thread/832d395b-6e6f-4658-8dbb-120138a4cd7c
Da werden so tolle Dinge wie
============================================================================== All listed settings are in the following registry location: Key: HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\LanmanWorkStation\Parameters Value type: REG_* ============================================================================== Value type: REG_DWORD Group Policy settings are not applied on member computers that are running Windows Server 2008 or Windows Vista SP1 when certain SMB signing policies are enabled When a Server Message Block (SMB) version 1 client establishes a non-guest session or a non-anonymous session with a server, the client enables security signatures for the server. Later sessions then inherit the security signature sequence that is already established. To improve security, Windows Server 2008 and Windows Vista SP1 prevent server authenticated connections from being maliciously downgraded to a guest session or to an anonymous session. However, this improved security does not address the scenario that is described in the "Symptoms" section (Event ID: 1058). ============================================================================== Value type: REG_DWORD Used for increasing network file system performance. ============================================================================== Value type: REG_DWORD Used for increasing network file system performance. The caches are consistent when changes are made by the client, but if changes are made from another client, they may not be reflected until the cache times out. ============================================================================== Value type: REG_DWORD Used for increasing network file system performance. The caches are consistent when changes are made by the client, but if changes are made from another client, they may not be reflected until the cache times out. ============================================================================== Value type: REG_DWORD Performance Tuning Guidelines for Windows Server 2008. The default is 0. This setting is available starting with Windows Server 2008 SP2. By default, the SMB redirector throttles throughput across high-latency network connections in some cases to avoid network-related timeouts. Setting this registry value to 1 disables this throttling, enabling higher file transfer throughput over high-latency network connections.
Registry values
Value name: <name of value>
Default: <value if note present>
Vista, 2008, …
Value name: AllowGuestAuthWhenSigningRequired
Default: FALSE
http://support.microsoft.com/kb/950876
Vista, 2008, …
Value name: FileInfoCacheLifetime
Default: 10 (seconds)
The caches are consistent when changes are made by the client, but if changes are made from another client, they may not be reflected until the cache times out.
Vista, 2008, …
Value name: FileNotFoundCacheLifetime
Default: 5 (seconds)
Vista, 2008, …
Value name: DirectoryCacheLifetime
Default: 10 (seconds)
Vista, 2008, …
Value name: DisableBandwidthThrottling
Default: FALSE
http://go.microsoft.com/fwlink/?LinkId=121171
beschrieben.
Generell haben alle möglichen Leute Probleme damit: http://social.technet.microsoft.com/Forums/en-US/winservergen/thread/01ddd2c0-568d-457e-a229-8f51872610b0/
Dieser Hotfix http://support.microsoft.com/kb/2028965 ist im SP1 für Windows 7 und Server 2008 R2 enthalten. Die Frage ist nun aber bezüglich Windows Vista, welche Rolle er dort spielt?