How to Enable ‘Smb Server’ (SMB) in Windows 11 PC

Published on Aug. 22, 2023, 12:14 p.m.

SMB is a client-server protocol . This helps to share files on network from one device. By default, SMB is disabled on Windows 11 PC. Here is how you can enable SMB using various methods. The SMB protocol has three versions V1, V2 and V3 versions. If you enable V2, Windows will also enable V3.

How to Check SMB is Enabled from PowerShell

You can check SMB is already enabled on your PC.

You can type “powershell” in the box on Windows Search.

Click on the “Run as administrator” link to open the app in admin mode.

Type the following command into the following and press Enter key.

Get-SmbServerConfiguration | Select EnableSMB2Protocol

Check SMB Status in Windows PC

If the result shows as false, you need to enable it on your PC. As you can see the status is returned as “true”. This means that SMB is already enabled on the PC.

Note: The above command checks for SMB V2.

How to Enable SMB from PowerShell in Windows

Enable SMB from Windows PowerShell

Set-SmbServerConfiguration -EnableSMB2Protocol $true

Paste the command and press enter key. You will confirm the action.

Enable SMB from Windows PowerShell

You can also use the following command if you want to remove the SMB server from the list.

Set-SmbServerConfiguration -EnableSMB2Protocol $false