Windows 2012 server SMB Protocol oplocks disable

Some useful powershell commands to enable / disable SMB features on Windows 2012 server

See Config Client side –


See Config Server Side –


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

Leave a Reply