NTLM support dropped from Windows 11 24H2, SMB shares not accessible on home network

Hi Everyone,

I have a home network with one TrueNAS Scale server and four Windows workstations. The server is used for sharing/serving media using Plex and for backing up the Windows machines, all using SMB shares for storage. Everything’s been working great until my main Windows workstation upgraded to Windows 11 24H2. Microsoft has completely removed NTLM authentication from 24H2, forcing users to either employ Active Directory or Kerberos.

Does this mean I’m going to have to stand up a separate machine just to define an AD forest or a Kerberos realm so I can access the shares again? Seems a bit of overkill for a home network. I did try following some online suggestions to reconfigure the Windows box and the shares to support NFS connections, but that was also unsuccessful. I imagine I’m not the only person out here who is having this problem, but searching the forum has turned up nothing helpful… so I’m asking. Thanks.

Try to add to auxillary parameters in TrueNAS?

lanman auth = no
ntlm auth = no

Another potential gpo modification option:

Does any of this apply?
https://techcommunity.microsoft.com/blog/filecab/accessing-a-third-party-nas-with-smb-in-windows-11-24h2-may-fail/4154300

Says that signing and non-guest account was required (at least in the preview) and may need to be disabled.

I expect defaults to move to more secure options, but there are usually workarounds

Hi and welcome to the forums.

Are you using locally created users and groups on the TrueNAS system?

No they haven’t. Deprecated != removed.

Yes. I don’t have a domain controller and everything is defined locally on each machine.

Okay, so is there a document someplace that guides users toward making the appropriate changes to re-enable Windows clients to access SMB shares on a TruNAS server after this deprecation? I’ve searched and cannot find one.

I didn’t change anything and my shares are fine

Did you add those users under credentials in truenas to give them access to the dataset?

Yes. I’m even trying my sysadmin account which has permission for everything and it still fails…

This looks like you may have nonstandard GPO / registry settings on the SMB client. IIRC this can happen if someone / some software has reconfigured Windows to only use the very insecure NTLMv1 auth protocol. You’ll need to review your client settings. For example:
Network security LAN Manager authentication level - Windows 10 | Microsoft Learn

If your clients are being forced into NTLMv1, you should track down why this happened as it can be an indicator of malicious activity.

1 Like

I googled the error message and this was the first result:
https://answers.microsoft.com/en-us/windows/forum/all/authentication-failed-because-ntlm-authentication/582d1cda-1b7c-4de8-9d37-3cca4caa252b

It contains the same information that’s in the first response in this thread, but maybe this is less overwhelming.

Well, yeah, you shouldn’t generally have guest access enabled in shares otherwise you may have to degrade client security. This is covered in our documentation regarding this legacy feature.

I tried all the suggestions in the Microsoft post but no change in results.

Comment was directed to OP. I don’t recommend disabling signing, using NTLMv1, or SMB1. Microsoft is trying to prevent you from using an unsafe configuration.

  • Make sure TrueNAS SMB and all workstations are configured for the same Workgroup.
  • Disable SMB1 on TrueNAS SMB service
  • Disable NTLMv1 on TrueNAS SMB service
  • Make sure the TrueNAS share config you’re trying to access has guest access disabled
  • Make sure TrueNAS has a user configured for SMB
  • Make sure ACLs are set on the shared dataset for the SMB user in TrueNAS
1 Like

In the linked windows forum post above the user said the problem appeared
“after I removed Server 2016 essentials client connector from my window 11 home machine”

I checked all of these settings and they were already configured as listed.

I did check into this and the authentication level was set to Not Configured. I have tried changing it to levels 0, 1, and 3 and received the same result.

Do you have the ability to test SMB connectivity from a fresh Windows 11 install?

Take a look to whats happening server side, you should be able to intercept into the audit of truenas the connection attempt your client Is make