Windows 11 SMB Direct feature has stopped working

Peter Boulton 26 Reputation points
2024-05-08T09:23:13.7166667+00:00

My Windows 11 23H2 machine is behind a NAT router in a WORKGROUP type network. Previously, I could browse shared folders on it from other machines on my network using UNCs like "\dev9\Downloads".

Recently, this feature has stopped working. In Windows File Explorer on the other machine I can actually see my Windows 11 machine (DEV9) but when I double-click to drill to the shared folders from another machine on the network I see the following error message:

smb-issue

Both machines have 'SMB Direct' enabled and 'SMB 1.0/CIFS File Sharing Support' disabled. The 'Diagnose' button concludes there is no problem.

If I enable 'SMB 1.0/CIFS File Sharing Support' on both machines then accessing shared folders on DEV9 works, but my understanding is that this option is insecure and that 'SMB Direct' should be used (and previously was successfully working).

If I set up a shared folder on another networked Windows machine that only has 'SMB Direct' enabled (not 'SMB 1.0/CIFS File Sharing Support') then that works - i.e. I can access it from DEV9.

Both machines are always logged in with the same user name and password (and no authentication UI is presented).

I have tried unchecking, rebooting and rechecking the 'SMB Direct' option on DEV9 but to no success and have run out of ideas. I cannot pinpoint the exact time at which the functionality stopped working, but definitely in the last few weeks. So possibly a Windows Update issue, though Googling has not been helpful in this case.

So, if anyone has a solution or some suggestions I'd be very grateful indeed. Thanks!

Pete

Windows Network
Windows Network
Windows: A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.Network: A group of devices that communicate either wirelessly or via a physical connection.
670 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,492 questions
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Wesley Li 5,555 Reputation points
    2024-05-15T07:50:34.2866667+00:00

    Hello,

    Disable SMB Direct and SMB1.0 on both computers to see if you can access the share successfully.

    If not, use the command in the link below to see which version of SMB is enabled on the two computers. Then set the SMB version to the same on both computers to see if the problem can be successfully resolved.

    https://learn.microsoft.com/en-us/windows-server/storage/file-server/troubleshoot/detect-enable-and-disable-smbv1-v2-v3?tabs=server

    0 comments No comments

  2. Wesley Li 5,555 Reputation points
    2024-05-15T07:50:41.87+00:00

    Hello,

    Disable SMB Direct and SMB1.0 on both computers to see if you can access the share successfully.

    If not, use the command in the link below to see which version of SMB is enabled on the two computers. Then set the SMB version to the same on both computers to see if the problem can be successfully resolved.

    https://learn.microsoft.com/en-us/windows-server/storage/file-server/troubleshoot/detect-enable-and-disable-smbv1-v2-v3?tabs=server


  3. Peter Boulton 26 Reputation points
    2024-05-17T11:58:43.0366667+00:00

    OP here. I have found my own solution (based on the Powershell SMB informational commands referenced in Wesley Li's original answer.

    I noticed that EnableSMB2Protocol was reported as 'False' on DEV9 and 'True' on the VM. I therefore executed the following Powershell command on DEV9 (at Administrator level):

    Set-SmbServerConfiguration -EnableSMB2Protocol $true
    

    This command enables SMB2 and now shared folders work perfectly on both machines!

    0 comments No comments