Last active
January 23, 2026 15:40
-
-
Save omergorur/369abc366fc7579c566a4a1f2010ec43 to your computer and use it in GitHub Desktop.
Enable Guest Access to Samba Shares on Windows 11 24H2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Set-SmbClientConfiguration -RequireSecuritySignature $false | |
| Set-SmbClientConfiguration -EnableInsecureGuestLogons $true |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Enable Guest Access to Samba Shares on Windows 11 24H2
Issue:
Starting with Windows 11 24H2, Microsoft has disabled guest access to Samba (SMB) shares by default for security reasons. If you attempt to connect to a guest (passwordless) Samba share, you may receive an error such as:
Solution:
To re-enable guest access to Samba shares, open PowerShell as Administrator and run the following commands: