Enable SMB2 and SMB3 on Windows 11

To check if SMB2 and SMB3 are enabled on Windows 11, you can use PowerShell. Here's how to do it:

  1. Open PowerShell as Administrator:

    • Right-click the Start Menu (Windows logo) and select Windows Terminal (Administrator) or PowerShell (Administrator).
  2. Check the status of the SMB protocol:

    • Type the following command to check if SMB2 and SMB3 are enabled:
    powershell
    Code kopieren
    Get-SmbServerConfiguration | Select EnableSMB2Protocol

    This will show whether SMB2 and SMB3 are enabled. If the value is True, it means the protocols are enabled. If the value is False, they are disabled.

  3. Optional: Enabling SMB2/3:

    • If you find that SMB2 or SMB3 is disabled, you can enable it with the following command:
    powershell
    Code kopieren
    Set-SmbServerConfiguration -EnableSMB2Protocol $true

    Running this command will enable both SMB2 and SMB3, as SMB3 is built on top of SMB2.

  4. Restart the SMB service:

    • After enabling the protocols, it might be necessary to restart the SMB service. You can do this with the following command:
    powershell
    Code kopieren
    Restart-Service -Name "LanmanServer"

That's it! This is how you can check and enable SMB2 and SMB3 on Windows 11.