Allow Windows 11 to Access Samba Guest Shares on Rocky Linux

We need Windows 11 to be able to connect to Samba shares hosted on Rocky Linux that do not require a username and password.

The Problem

Windows 11 may refuse to connect to Samba guest shares because newer SMB client defaults restrict guest access and SMB signing behaviour.

The Solution

Allow guest SMB logons and disable SMB signing requirements.

Run PowerShell as Administrator:

Set-SmbClientConfiguration -EnableInsecureGuestLogons $true -Force
Set-SmbClientConfiguration -RequireSecuritySignature $false -Force
Set-SmbClientConfiguration -EnableSecuritySignature $false -Force

Verify the configuration:

Get-SmbClientConfiguration | Select EnableInsecureGuestLogons,RequireSecuritySignature,EnableSecuritySignature

Leave a Reply

Your email address will not be published. Required fields are marked *