Windows 11 already speaks SMB, the protocol Samba servers use, so to enable Samba you open File Explorer, type \\server-name\share-name in the address bar and sign in with the Samba user's credentials.
This guide covers the SMB versions Windows 11 ships with, how to turn on SMB 1.0 for an old server, how to map a share, how to share a Windows folder over SMB, and the 24H2 signing and guest errors that block NAS connections.
How to enable Samba on Windows 11
There is no separate Samba package to install on Windows 11. SMBv2 and SMBv3 are built in and on by default, and they are what a current Samba server or NAS expects.
- Note the Samba server's name or IP address and the share name, for example
nas01andmedia. - Open File Explorer with Windows logo key + E.
- Click the address bar, type
\\nas01\mediaand press Enter. - When Windows asks for credentials, type the user name and password of an account that exists on the Samba server.
- Tick the option to remember the credentials if you want Windows to reconnect without asking.
- Select OK. The share opens as a normal folder you can browse, copy to and save into.
If Windows says the share needs the obsolete SMB1 protocol, the server is too old for the defaults. The SMB1 section below shows how to switch it on, and why updating the server is the better fix.
Understanding Samba and SMB on Windows 11
Samba is open-source software that lets Linux, macOS and NAS devices serve files over SMB (Server Message Block). Windows uses SMB natively, so the two talk without extra software.
| SMB version | Introduced with | State on a clean Windows 11 install | Use it for |
|---|---|---|---|
| SMBv1 | Legacy Windows and old Samba releases | Not installed (client and server both absent) | Only devices that cannot be updated past SMBv1 |
| SMBv2 (2.02, 2.1) | Windows Vista and Windows Server 2008 | Installed and enabled | Any current Samba server or NAS |
| SMBv3 (3.0, 3.02, 3.1.1) | Windows 8 and Windows Server 2012 | Installed and enabled | Encryption, multichannel and the best performance |
SMBv2 and SMBv3 share one stack, so turning one on or off changes the other too. SMBv1 has known ransomware and malware weaknesses, and Microsoft deprecated it in 2014.
How to check SMB version in Windows 11
Run these in PowerShell after you open a Samba share. The Dialect column shows the SMB version the connection actually negotiated.
- Open the Samba share in File Explorer so a connection exists.
- Open PowerShell as administrator from the Start menu.
- Run
Get-SmbConnectionand read the Dialect value next to the server name, for example3.1.1. - Run
Get-SmbServerConfiguration | Select EnableSMB2Protocoland confirm it returns True. - Run
Get-WindowsOptionalFeature -Online -FeatureName SMB1Protocoland read the State line to see whether SMB 1.0 is installed.
A dialect of 2.02 or higher means SMB1 is not involved and can stay off. You can run PowerShell as administrator from the Start menu search too.
How to enable SMB1 on Windows 11 for an old Samba server
Do this only when a device that supports nothing but SMBv1 refuses to connect, and the maker has no firmware update. Microsoft recommends updating the server instead of reinstalling SMBv1.
- Open Control Panel and select Programs and Features.
- Under Control Panel Home, select Turn Windows features on or off to open the Windows Features dialog.
- Scroll down to SMB 1.0/CIFS File Sharing Support and tick its checkbox.
- Expand the entry and keep only the client sub-feature ticked if the PC only needs to connect to the old server, not serve files to it.
- Select OK and wait while Windows applies the change.
- Select Restart now on the confirmation page.
After the restart, open \\server-name\share-name again. Plan to remove SMB1 once the old device is replaced.

Enable SMB 1.0 with PowerShell in Windows 11
The same feature can be added from an elevated PowerShell window. Windows restarts after the command runs, so save open work first.
Enable-WindowsOptionalFeature -Online -FeatureName SMB1Protocol
Installs the SMB 1.0/CIFS File Sharing Support optional feature. Check the result first with Get-WindowsOptionalFeature -Online -FeatureName SMB1Protocol.
You should see: After the restart, Get-WindowsOptionalFeature -Online -FeatureName SMB1Protocol reports State : Enabled.
Enable SMB2 and SMB3 on Windows 11 with PowerShell
SMBv2 and SMBv3 are on by default. If a script, a past tweak or a troubleshooting session turned them off, this puts them back without a restart.
Set-SmbServerConfiguration -EnableSMB2Protocol $true
Turns SMBv2 and SMBv3 back on for the Windows SMB server component, which other devices use to reach shares on this PC.
You should see: Get-SmbServerConfiguration | Select EnableSMB2Protocol returns True.
The client side is controlled by the mrxsmb20 driver. From an elevated Command Prompt, sc.exe config lanmanworkstation depend= bowser/mrxsmb10/mrxsmb20/nsi followed by sc.exe config mrxsmb20 start= auto re-enables it; restart the PC afterwards. On a PC without SMB1 installed, leave mrxsmb10 out of the first command, so it reads depend= bowser/mrxsmb20/nsi.
How to map a Samba share as a network drive in Windows 11
A drive letter keeps the Samba share one click away in This PC and reconnects after sign-in. You can map a network drive from File Explorer, or use PowerShell.
- Open Terminal from the Start menu (no admin rights are needed for a drive mapping).
- Run
New-SmbMapping -LocalPath "X:" -RemotePath "\\nas01\media" -Persistent $true, replacing the server and share names with yours. - Add
-UserNameand-Passwordif the Samba account differs from your Windows sign-in. - Check that the Status column shows OK.
- Open File Explorer and select This PC. The share appears as drive X:.
Remove the mapping later with Remove-SmbMapping -LocalPath "X:".

How to share a folder over SMB from Windows 11
This is the other direction: a Linux or Mac machine running a Samba client opens a folder that lives on the Windows 11 PC. Windows needs network discovery and file sharing on first.
- Open Settings, type manage advanced sharing settings in the Find a setting box and select Manage advanced sharing settings.
- Under Private networks, turn on Network discovery and File and printer sharing.
- In File Explorer, right-click the folder and select Show more options.
- Select Give access to > Specific people.
- Select a user on the network, or Everyone to give all network users access, and confirm.
- Connect from the other machine with its SMB client, using the Windows PC's name, the folder name and a Windows account name and password.
Mark the network as private first; you can set the network profile to Private in Settings. You can also share files and folders over a network with other Windows PCs the same way.

Windows 11 can't access Samba share
Each message below points to one cause. Fix the server side where you can, because Microsoft advises against weakening Windows SMB security to reach an old device.
"This share requires the obsolete SMB1 protocol, which is unsafe"
The Samba server or NAS only offers SMBv1, which Windows 11 does not install.
- Check the device maker's support site for firmware or a Samba update that adds SMB 2.02 or later.
- If no update exists, add SMB 1.0/CIFS File Sharing Support as shown above and restart.
- Replace the device when you can, then remove SMB1 again.
Error 0xc000a000, STATUS_INVALID_SIGNATURE or "The cryptographic signature is invalid"
Windows 11 version 24H2 Pro, Enterprise and Education require SMB signing, and the Samba server has signing turned off.
- Open the NAS or Samba server's SMB settings and turn on SMB signing.
- Update the device firmware if it has no signing option.
- Run
Get-SmbClientConfiguration | FL RequireSecuritySignatureon the PC. True means the PC requires signing, which is the secure default to keep.
"You can't access this shared folder because your organization's security policies block unauthenticated guest access"
The share allows guest access only, and Windows 11 Pro and later builds reject insecure guest logons by default.
- Create a named user with a password on the Samba server or NAS.
- Give that user permission on the share.
- Connect again with
\\server-name\share-nameand enter the new user name and password.
Error 0x80070035: "The network path was not found"
Microsoft lists this among the errors a blocked guest-only share returns; a wrong server name or an offline server gives it too.
- Try the server's IP address instead of its name, for example
\\192.168.1.20\media. - Confirm the server is on the same network and the share name is spelled correctly.
- If the share is guest-only, add a named user on the server as in the previous fix.
The Samba server does not appear under Network in File Explorer
Network browsing used the Computer Browser service, which depends on SMBv1 and is removed with it.
- Type the
\\server-name\share-namepath directly in the address bar instead of browsing. - Map the share to a drive letter so it stays in This PC.
- To browse Windows PCs, open Services and set Function Discovery Provider Host and Function Discovery Resource Publication to Automatic (Delayed Start), then turn on network discovery.

How to disable SMB1 on Windows 11
Remove SMB1 as soon as the old device is gone. SMBv2 and SMBv3 keep working for every current Samba server.
- Open Control Panel > Programs and Features.
- Select Turn Windows features on or off.
- Clear the checkbox for SMB 1.0/CIFS File Sharing Support and select OK.
- Select Restart now when Windows finishes.
- Or run
Disable-WindowsOptionalFeature -Online -FeatureName SMB1Protocolin an elevated PowerShell window; the PC restarts afterwards.

Samba on Windows 11 FAQ
Does Windows 11 support Samba shares?
Yes. Windows 11 includes SMBv2 and SMBv3 clients and servers, which current Samba releases use. Open the share as \\server\share in File Explorer and sign in with an account from the Samba server.
Is Samba the same as SMB?
No. SMB is the file-sharing protocol, and Samba is open-source software that implements it on Linux, macOS and NAS devices. Windows talks SMB natively, so it needs no Samba software to reach a Samba server.
Is SMB1 enabled by default in Windows 11?
No. A clean installation of any Windows 11 edition contains neither the SMBv1 client nor the SMBv1 server. You add it from Turn Windows features on or off only when an old device needs it.
Is SMB2 enabled by default in Windows 11?
Yes. SMB versions 2.02, 2.1, 3.0, 3.02 and 3.1.1 are installed and enabled by default. Get-SmbServerConfiguration | Select EnableSMB2Protocol returns True on a standard setup.
Do I need to restart after enabling SMB1?
Yes. Windows asks you to select Restart now after you add SMB 1.0/CIFS File Sharing Support in Windows Features, and the PowerShell Enable-WindowsOptionalFeature command restarts the PC as well.
Why can't Windows 11 24H2 connect to my NAS anymore?
Windows 11 version 24H2 Pro, Enterprise and Education require SMB signing by default. A NAS or Samba server with signing off fails with 0xc000a000. Turn on signing on the device, or update its firmware.
Does Windows 11 Home require SMB signing?
No. Microsoft states that Windows 11 version 24H2 Home edition does not require outbound or inbound SMB signing. Pro, Enterprise and Education editions require both.
Can Windows 11 connect to a guest-only Samba share?
Not by default on Windows 11 Pro and later builds, which reject insecure guest logons. Create a named user with a password on the Samba server and connect with that account.





