Disabling Oplocks SMB2 Win7 2008

Armin57
Armin57 used Ask the Experts™
on
Is it possible to disable oplocks in SMB2? I know you can disable SMB2 in the server entirely by editing the registry and running the commands for Win7, but once it's disabled, can you actually also disable opslock?

We run an old software that is built around SMB1 architecture, with XP and 2003 we had to disable oplocks in order to avoid network hangs when using the software; but now we need to do the same with Win7 and 2008.

My reference is this white paper:
opslock white paper
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Top Expert 2012

Commented:
If you are running the same older software then I would recommend using SMB1 and disable SMB2 because of performance issues.

You must disable SMB2 to disable oplocks.

Author

Commented:
Yes I have already disabled SMB2, which then forces both sides to use SMB1, my question is can you then also disable oplocks on both sides by those old registry edits that existed for XP and 2003? disabling SMB2 does not disable oplocks...
Top Expert 2012
Commented:
Yes, you can then go in and disable Oplocks after disabling SMB2.

Once you are using SMB1 after disabling SMB2 then you would go through the same procedures to disable Oplocks as you would on Windows XP

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial