Which SMB is on my Network Solved

Page 1 of 2 12 LastLast
  1.    #1

    Which SMB is on my Network


    Well, trying to get more organized today. For the life of me I cannot find the website that had a command so that one could see a list of all computers on the network and which SMB version they were using.

    Does anyone know the command? I wanted to see and make sure that all my devices connected to my network were on SMB2/3 or 4. When I ran it I had some of my machines on including my newest FreeNAS v11 which the command listed it at running on 4.1. My Win 7 machine showed 2 and my Win10 1903 showed, if I recall 3. At that time I did not have all my machines on. Today, however, I have the family out of the house and it is a rare time where I can run everything, but not have them being used by someone.

    I did not save the site (my bad, but in a rush to work) so if someone has the command it would be greatly appreciated. Again, it was a command in CMD that shows all connected devices and showed each devices SMB version. Thanks
    Last edited by AirPower4ever; 4 Weeks Ago at 10:55. Reason: updating wording
      My ComputerSystem Spec

  2. Caledon Ken's Avatar
    Posts : 15,033
    Windows 10 Pro x64 Build 1809
       #2

    Is this what you are looking for?

    https://support.microsoft.com/en-gb/...windows-server


    Ken
      My ComputerSystem Spec

  3. Bree's Avatar
    Posts : 11,612
    10 Home x64 (1903) (10 Pro on 2nd pc)
       #3

    AirPower4ever said: View Post
    it was a command in CMD that shows all connected devices and showed each devices SMB version.

    To do that in an admin Powershell session use Get-SmbConnection

    Or you can use powershell Get-SmbConnection in a Command Prompt (Admin). Here is a mixed network, my BT router is on SMB 1.5, a W7 machine is using 2.1, while the W10 machines are all 3.1.1. NB: you have to be connected to a machine for it to appear in the list. A File Explorer window looking at the list of shares on a network PC is sufficient, so open File Explorer at Network then open each PC you see there in a new window.

    Click image for larger version. 

Name:	SMB connections.PNG 
Views:	49 
Size:	11.9 KB 
ID:	237275
    Last edited by Bree; 4 Weeks Ago at 11:47. Reason: screenshot
      My ComputersSystem Spec

  4. Bree's Avatar
    Posts : 11,612
    10 Home x64 (1903) (10 Pro on 2nd pc)
       #4

    Caledon Ken said: View Post
    Probably not, that tells you how to tell which flavour of SMB your PC supports, not what is being used on the machines(s) your PC is connected to.
      My ComputersSystem Spec

  5. Caledon Ken's Avatar
    Posts : 15,033
    Windows 10 Pro x64 Build 1809
       #5

    Actually when I run the command it shows me what I'm using. My NAS is not SMB1 enabled but SMB2.

    When I run command it shows me SMB1 false, it is enabled and SMB2 true.

    Click image for larger version. 

Name:	2019-06-15_12h37_23.png 
Views:	53 
Size:	1.7 KB 
ID:	237273


    Must say Bree I like the output from your command. Thanks.
      My ComputerSystem Spec

  6. Bree's Avatar
    Posts : 11,612
    10 Home x64 (1903) (10 Pro on 2nd pc)
       #6

    Caledon Ken said: View Post
    My NAS is not SMB1 enabled but SMB2...
    You're lucky, there are still a lot of older NAS in use that only use SMB1. My BTHub6 router has a usb HDD in its usb port as a 'cheap and cheerful' NAS, but even though it's their latest model it still only uses SMB1

    At least its a USB3 port on the router, so the HDD read/write speed is good
      My ComputersSystem Spec


  7.    #7

    Bree said: View Post
    To do that in an admin Powershell session use Get-SmbConnection
    Or you can use powershell Get-SmbConnection in a Command Prompt (Admin). Here is a mixed network, my BT router is on SMB 1.5, a W7 machine is using 2.1, while the W10 machines are all 3.1.1. NB: you have to be connected to a machine for it to appear in the list. A File Explorer window looking at the list of shares on a network PC is sufficient, so open File Explorer at Network then open each PC you see there in a new window.
    Hi Bree, can you think of any reason why neither of these commands would work on my system? ( on .557 ). there is no error or anything it simply goes back to the Prompt.

    Get-SmbServerConfiguration works but not either one above.

    KB

    .
      My ComputerSystem Spec

  8. Bree's Avatar
    Posts : 11,612
    10 Home x64 (1903) (10 Pro on 2nd pc)
       #8

    Kbird said: View Post
    Hi Bree, can you think of any reason why neither of these commands would work on my system? ( on .557 ). there is no error or anything it simply goes back to the Prompt.

    It will return to the prompt without displaying anything if you have no connections open for it to list. Here I ran it, then closed the connection, waited for a while then ran it again. I made the connection by using File Explorer to display the share name on the server, I closed the connection by closing File Explorer.


    Click image for larger version. 

Name:	SMB test.PNG 
Views:	40 
Size:	8.4 KB 
ID:	237305
      My ComputersSystem Spec

  9.    #9

    Bree said: View Post
    It will return to the prompt without displaying anything if you have no connections open for it to list. Here I ran it, then closed the connection, waited for a while then ran it again. I made the connection by using File Explorer to display the share name on the server, I closed the connection by closing File Explorer.
    Okay thanks , I was thinking since I could see them in the network window that I was connected but I can see now I actually have to go to each pc from there and open a folder or something to get it to show. Had to plug a USB Drive into my Router to see it.

    KB.

    .
      My ComputerSystem Spec

  10. Bree's Avatar
    Posts : 11,612
    10 Home x64 (1903) (10 Pro on 2nd pc)
       #10

    Kbird said: View Post
    Okay thanks , I was thinking since I could see them in the network window that I was connected...
    No. That list was delivered to you by the Master Browser, you didn't actually contact any of the machines. Asking for a list of shares is 'contact', so for each machine listed by File Explorer in Network, right-click on it and select 'Open in new window' to show its shares - that's sufficient.
      My ComputersSystem Spec


 
Page 1 of 2 12 LastLast

Related Threads
Hi, I upgraded my internet last week to 200/5 and the day I upgraded I couldn't reach above 100 Mbps. I started to check why I couldn't and then I thought maybe it's my Network Card and then I just bought a new card and checked if it shows above...
The question is clearly described in the Microsoft forums so I'll link it here. Basically, it is about getting back the "Network and Sharing" option in right click menu of the taskbar network icon instead of the new "Network and internet Settings"...
Hi all. Not too good with computer issues, but I have been reluctantly chosen as the household tech wizard. lol Husband updated his laptop to Windows 10 several months ago. So far it's been good, and he likes it...that is until this morning. He...
I can no longer see my Network Attached Storage in this build(10049) Enterprise. I have Network Discovery enabled and can get to the device by IP Address in a browser but am unable to map a drive to any share. Anyone else having these issues. I have...
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 04:08.
Find Us