Windows 11 SMB shares stop working after update

A Windows update will sometimes cause previously-working SMB shares to stop working. This is usually caused by the activation of “SMB Signing.”

Within an elevated Powershell:

Set-SmbClientConfiguration -RequireSecuritySignature $false