How to switch from a call by IP address to a call by Device name on a home network?

Lev Gorinshteyn 21 Reputation points
2021-03-07T00:56:10.787+00:00

On my home network, I can log into the other two from my computer. In the first one I go by the command CD \ <Device name> \ <Folder>, and in the second - CD \ <IP address> \ <Folder>. Addressing the IP address is very inconvenient, since when the modem is restarted, IP address changes and each time after that I need to change the command. How to switch from a call by IP address to a call by Device name? What needs to be changed and where?

Windows 10 Network
Windows 10 Network
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Network: A group of devices that communicate either wirelessly or via a physical connection.
2,272 questions
0 comments No comments
{count} votes

Accepted answer
  1. MotoX80 31,581 Reputation points
    2021-03-14T15:00:36.637+00:00

    If you can't find any DNS settings in your router, or your ISP can't help you, here is one more thing that you can try.

    http://winrollup.com/enable-network-discovery-in-windows-10-creator-edition-without-using-the-netsh-command-in-powershell

    I consolidated the commands from that web site. Run Powershell_ISE as an administrator, and paste these commands into a script window and run it. Do this on the machines that can't see each other.

    Get-Service  -name "UPnP Device Host" | Set-Service -StartupType Automatic  
    Get-Service  -name "Function Discovery Resource Publication" | Set-Service -StartupType Automatic  
    Get-Service  -name "Function Discovery Provider Host" | Set-Service -StartupType Automatic  
    Get-Service  -name "SSDP Discovery" | Set-Service -StartupType Automatic  
      
       
    Get-Service  -name "DNS Client" | Start-Service  
    Get-Service  -name "UPnP Device Host" | Start-Service  
    Get-Service  -name "Function Discovery Resource Publication" | Start-Service  
    Get-Service  -name "Function Discovery Provider Host" | Start-Service   
    Get-Service  -name "SSDP Discovery" | Start-Service  
      
    Set-NetConnectionProfile -NetworkCategory Private -PassThru  
    Get-NetFirewallRule -DisplayGroup 'Network Discovery'|Set-NetFirewallRule -Profile 'Private, Domain' -Enabled true -PassThru|select Name,DisplayName,Enabled,Profile|ft -a  
    

    Then in explorer open up Network and press F5 to refresh. See if your PC's show up then.

    77502-capture.jpg

    0 comments No comments

11 additional answers

Sort by: Most helpful
  1. Lev Gorinshteyn 21 Reputation points
    2021-03-07T04:56:22.387+00:00

    I have verified that the services you specified - UPnP Device Host, SSDP Discovery, Feature Discovery Resource Publishing, DNS Client - are running on both computers.
    Also, both computers have a Private network marked for Network discovery in Allow applications to communicate.
    But I cannot enter the second computer by Device name.


  2. MotoX80 31,581 Reputation points
    2021-03-07T22:33:00.527+00:00

    In the network settings, did you check off the register this connection in DNS?

    75145-capture.jpg


  3. Lev Gorinshteyn 21 Reputation points
    2021-03-08T00:34:04.677+00:00

    In the network settings, did you check off the register this connection in DNS?
    No, in all my computers the “Register this connection’s addresses in DNS” are check on, as on your picture.


  4. Lev Gorinshteyn 21 Reputation points
    2021-03-08T05:23:13.027+00:00

    75205-vr1600v.jpg

    0 comments No comments