Some useful powershell commands to enable / disable SMB features on Windows 2012 server
See Config Client side –
get-SMBClientConfiguration
See Config Server Side –
get-SmbServerConfiguration
Server Side –
Oplocks is already disabled on the server side in Windows 2012 Server
If you wish to turn of MultiChannel run:-
Set-SmbServerConfiguration -EnableMultiChannel $false
Client side –
Set-SmbClientConfiguration -EnableMultiChannel $false
Set-SmbClientConfiguration -OplocksDisabled $True
Set-SmbClientConfiguration -UseOpportunisticLocking $False