# Allow insecure guest logons (Win11 blocks Guest by default) Set-SmbClientConfiguration -EnableInsecureGuestLogons $true -Force ⁠ # Also set the policy value (covers more cases) New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\LanmanWorkstation' -Force | Out-Null New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\LanmanWorkstation' ` -Name 'AllowInsecureGuestAuth' -PropertyType DWord -Value 1 -Force | Out-Null ⁠ # Restart the Workstation service (often enough; reboot if it still refuses) Restart-Service LanmanWorkstation -Force ⁠ # Allow legacy servers that don't do SMB signing properly (common in Win11 24H2) Set-SmbClientConfiguration -RequireSecuritySignature $false -Force ⁠ # If your share is GUEST/anonymous (only if needed) Set-SmbClientConfiguration -EnableInsecureGuestLogons $true -Force ⁠ # Optional: make sure encryption isn't being forced Set-SmbClientConfiguration -RequireEncryption $false -Force ⁠ Get-SmbClientConfiguration | Select EnableInsecureGuestLogons,RequireSecuritySignature,RequireEncryption