title: How to find out what version of SMB is installed on windows 7
body: <p>I am using Windows 7 and want to find out if SMB is installed and if so what version.  How can I do this? </p>
  
  <p>I found this article but it doesn't seem to return anything: <a href="https://support.microsoft.com/en-gb/help/2696547/how-to-detect-enable-and-disable-smbv1-smbv2-and-smbv3-in-windows-and" rel="nofollow noreferrer">https://support.microsoft.com/en-gb/help/2696547/how-to-detect-enable-and-disable-smbv1-smbv2-and-smbv3-in-windows-and</a></p>
  
  <p>I have ran the following commands in Powershell as described in the article and have done it for SMB1 and also tried changing it to SMB2</p>
  
  <pre><code>Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters" SMB1 -Type DWORD -Value 1 –Force
  </code></pre>
  
  <p>Entries have been created in regedit:</p>
  
  <p><a href="https://i.stack.imgur.com/3FgeV.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/3FgeV.png" alt="enter image description here"></a></p>
  
  <p>but when I run this command which is meant to detect a version it just returns nothing and just moves to another line in the powershell window:</p>
  
  <pre><code>Get-ChildItem HKLM:\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters | ForEach-Object {Get-ItemProperty $_.pspath}
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/e38pS.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/e38pS.png" alt="enter image description here"></a></p>
  
  <p>If the reason it is not showing is because it is not installed then how can I install it for windows 7?  </p>
  
  <p>Thanks</p>