title: How to check which SMB Version is enabled on Windows Server 2008 R2
body: <p>I want to find which version of SMB is enabled on Windows Server 2008 R2.</p>
  
  <p>I used the following command in PowerShell to know the smb versions installed: </p>
  
  <pre><code>sc.exe qc lanmanworkstation
  </code></pre>
  
  <p>In its output, the <code>DEPENDENCIES</code> shows two versions of SMB:</p>
  
  <ul>
  <li>MRxSmb10</li>
  <li>MRxSmb20</li>
  </ul>
  
  <p>Now the confusion is out of 2 versions installed, which SMB version is enabled on my server? As Server 2008 R2 does not support <code>Get-SMBConnection</code> I am unable to determine the specific version. </p>
  
  <p>I have also check the registry path, and there is no entry about SMB version.</p>
  
  <pre><code>HKEY_LOCAL_MACHINE\\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters 
  </code></pre>
  
  <p>Can anyone please tell me how to determine which SMB version is enabled on server if SMB versions are more than one?</p>