Can't remote by computer name, but can by IP


Recommended Posts

  BudMan said:
Well as already gone over in this OLD thread the reasons for the OP problem can be multiple things.. It could be a firewall issue, it could be just that netbios is not enabled, etc.

I provided a link to how host name resolution works.

Why don't you start your own thread with DETAILS of exactly what is happening and how your machines are connected, and then we can get it worked out for you.

As you can see in this thread the OP never came back. Either they gave up or felt so stupid after enabling netbios or correctly configuring the software firewalls they were too embarrassed to come back ;)

I posted in this thread because I found it via google when searching for a solution. I believe it is a DNS problem with our server, but I cannot currently look at it. The machines in question are Windows 7 Ultimate 7600.16385 x64 on the same workgroup.

  Mathachew said:
Embarrassed? Hardly! The problem still does exist and what doesn't make any sense is that the problem occurs on clean install machines that were running XP; at one point the same machine ran both Vista and 7, and in both instances I was able to remote into the computer by its name without a problem. When I went back to XP (the why is a separate reason), the original problem occurred yet again.

So after trying a number of things, I certainly did give up.

Just a few basic suggestions, I doubt they will be of any help. On both computers, do you have File & Print Sharing enabled within Windows Firewall? Like Budman also mentioned, check things like NETBIOS as well. I believe it was mentioned earlier, that a "quick fix" for the issue would be to add an entry to your HOSTS file which would add a direct record in so whenever you UNC to that PC it will automactically be routed to that IP Address.

Don't know if this is along the right lines, but what DNS servers are you using? Your ISPs? I suspect you would need to add a DNS Server address in for your local LAN on both machines, which might then help resolve the host names?

Sometimes I just want to scream! This is NOT rocket science -- please read the info I provided on how host names are resolved on a windows network.

I highly doubt its a DNS problem -- are you running DNS on your local network?? What search domain are you using if you are? Are the records there for the host in question your trying to resolve?

For windows to use netbios to resolve names on the network via broadcast -- they need to be on the same segment for one. Firewalls can prevent the traffic. Oh and BTW your computer name can not exceed the netbios name limit of 15 characters.

And your node type can not be set to not use broadcast, ie P-node is peer to peer and will not broadcast.

On your vista or windows 7 machine meat of the info you need is given in the ipconfig /all output

C:\>ipconfig /all

Windows IP Configuration

Host Name . . . . . . . . . . . . : quadcore-w7

Primary Dns Suffix . . . . . . . : local.lan

Node Type . . . . . . . . . . . . : Hybrid

IP Routing Enabled. . . . . . . . : No

WINS Proxy Enabled. . . . . . . . : No

DNS Suffix Search List. . . . . . : local.lan

Ethernet adapter Local:

Connection-specific DNS Suffix . :

Description . . . . . . . . . . . : Realtek PCIe GBE Family Controller

Physical Address. . . . . . . . . : 00-21-9B-03-AC-A7

DHCP Enabled. . . . . . . . . . . : No

Autoconfiguration Enabled . . . . : Yes

IPv4 Address. . . . . . . . . . . : 192.168.1.100(Preferred)

Subnet Mask . . . . . . . . . . . : 255.255.255.0

Default Gateway . . . . . . . . . : 192.168.1.253

DNS Servers . . . . . . . . . . . : 192.168.1.4

NetBIOS over Tcpip. . . . . . . . : Enabled

You can also see if your dns suffix search list.. Now for example on my box if I do a simple ping to host name it fully resolves, since I am using local.lan as my search suffix and I am running a local dns

C:\>ping kidsdell

Pinging kidsdell.local.lan [192.168.1.101] with 32 bytes of data:

Reply from 192.168.1.101: bytes=32 time<1ms TTL=128

See how it added the dns suffix local.lan to the name.

But If I take out the search list by by putting a period on the end of the host name. Or just doing a nbtstat -a computer name you can see that it resolves using netbios

C:\>ping kidsdell.

Pinging kidsdell. [192.168.1.101] with 32 bytes of data:

Reply from 192.168.1.101: bytes=32 time<1ms TTL=128

Reply from 192.168.1.101: bytes=32 time<1ms TTL=128

C:\>nbtstat -a kidsdell

Local:

Node IpAddress: [192.168.1.100] Scope Id: []

NetBIOS Remote Machine Name Table

Name Type Status

---------------------------------------------

KIDSDELL <00> UNIQUE Registered

LOCAL <00> GROUP Registered

KIDSDELL <20> UNIQUE Registered

MAC Address = 00-13-20-14-B0-34

Please give us some details to work with - and happy to help you work out your name resolution issue. But keep in mind depending on how you have your firewall setup in vista or w7 can prevent netbios name resolution.. Are you set as a private network or public for starters.

Do you have anything in between these computers that might be doing nat, say a voip device or another router, etc. etc.

If you want dns to resolve your local hosts -- happy to help you set something like that up, but normally on a home network you would just use netbios to resolve hosts.. So this needs to be enabled, and your software firewalls have to allow for it.

Thanks for the info, I think it helped me figure out what I managed to do yesterday. On the remote host (tvpc), I disabled IPv4 while leaving IPv6 enabled. Before reenabling IPv4, my iPhone snagged the IP that tvpc had.

Result:

>ping tvpc

Pinging tvpc.lan [192.168.1.70] with 32 bytes of data:

Reply from 192.168.1.70: bytes=32 time=190ms TTL=64

>ping tvpc.

Pinging tvpc [fe80::496d:d8b1:7005:b2a9%11] with 32 bytes of data:

Reply from fe80::496d:d8b1:7005:b2a9%11: time<1ms

>nslookup 192.168.1.70

...

Name: omg-iphone-3g.lan

>nslookup 192.168.1.69 (tvpc's real IPv4 address)

...

Name: Unknown-02-15-af-22-5f-ce.lan

What does the nbtstat output mean though?

>nbtstat -a tvpc

...

Name Type Status

---------------------------------------------

TVPC <20> UNIQUE Registered

TVPC <00> UNIQUE Registered

WORKGROUP <00> GROUP Registered

WORKGROUP <1E> GROUP Registered

WORKGROUP <1D> UNIQUE Registered

..__MSBROWSE__.<01> GROUP Registered

And more confusingly:

>nbtstat -c

...

Name Type Host Address Life [sec]

------------------------------------------------------------

TVPC <00> UNIQUE 192.168.1.69 527

TVPC <20> UNIQUE 192.168.1.69 55

the nbtstat -c is your cache.. the 55 and 527 seconds are like the same as a TTL in dns.. Its how long it will be cached.

the <00> and <20> the suffixes tell you what function has been registered, here this should help

http://support.microsoft.com/kb/163409

The NetBIOS suffix is used by Microsoft Networking software to identify functionality installed on the registered device.

<computername> 00 U Workstation Service

<\\--__MSBROWSE__> 01 G Master Browser

<computername> 20 U File Server Service

<domain> 1E G Browser Service Elections

<domain> 1D U Master Browser

examples of the cache.. As you can see nothing in mine.. I then force a netbios lookup by doing a ping to the hostname, you then see the entry for that machine in my cache, I do the command again a few seconds latter and the seconds are counting down from the default 5 minutes.. You can preload names into your netbios cache with the use of the lmhost file, etc.

C:\>nbtstat -c

Local:

Node IpAddress: [192.168.1.100] Scope Id: []

No names in cache

C:\>ping kidsdell.

Pinging kidsdell. [192.168.1.101] with 32 bytes of data:

Reply from 192.168.1.101: bytes=32 time<1ms TTL=128

Reply from 192.168.1.101: bytes=32 time<1ms TTL=128

Reply from 192.168.1.101: bytes=32 time<1ms TTL=128

Reply from 192.168.1.101: bytes=32 time<1ms TTL=128

Ping statistics for 192.168.1.101:

Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),

Approximate round trip times in milli-seconds:

Minimum = 0ms, Maximum = 0ms, Average = 0ms

C:\>nbtstat -c

Local:

Node IpAddress: [192.168.1.100] Scope Id: []

NetBIOS Remote Cache Name Table

Name Type Host Address Life [sec]

------------------------------------------------------------

KIDSDELL <00> UNIQUE 192.168.1.101 597

C:\>nbtstat -c

Local:

Node IpAddress: [192.168.1.100] Scope Id: []

NetBIOS Remote Cache Name Table

Name Type Host Address Life [sec]

------------------------------------------------------------

KIDSDELL <00> UNIQUE 192.168.1.101 587

When they say domain, its the same as workgroup.. Which yours is just called Workgroup, as you can see from mine, my workgroup is called LOCAL

On a bit of side note -- are you USING IPv6? If not I would just disable it ;) I can currently see no use for it on a local home network, and just makes your ipconfig output more confusing ;) Unless you have some specific use for it, its not doing anything!

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Wish you could set the WiFi country without setting an SSID. This would stop the warning on every boot.
    • Huawei's Mate XT successor launches this year with a performance and camera boost by Hamid Ganji Last year, Huawei reimagined our perception of folding smartphones by launching the world's first tri-folding device, Mate XT. Contrary to regular folding smartphones like the Samsung Galaxy Z Fold 6, the Huawei Mate XT utilizes a dual-hinge mechanism that allows the device to fold into a "Z" shape. The success of the Mate XT has allegedly prompted Huawei to release a sequel this year. Chinese tipster Digital Chat Station on Weibo says Huawei will release a successor in the second half of 2025. While the folding and screen solution remain unchanged, the tipster claims the second-generation Mate XT gets a faster processor and upgraded camera setup. Digital Chat Station says Huawei will also improve the device's accessories. Last year's Mate XT included an Aramid Fiber Case with an integrated rotating stand in the box as official accessories. Though the tipster doesn't mention quality improvements, Huawei could reinforce the phone's folding endurance. As for the release date, the first-generation Mate XT was released in September 2024, and the Mate XT 2 might also be released at the same time. Interestingly, Huawei announced its Mate XT, the world's first tri-folding device, on September 10 last year, just one day after Apple announced its iPhone 16 series. If Huawei wants to tease Apple again, we can expect the Mate XT 2 to drop simultaneously with the iPhone 17 series. While these devices are not in the same category, Huawei's rivalry with Apple is common knowledge. Tri-folding smartphones provide bigger screens at a more compact size compared to tablets. For example, the Huawei Mate XT has a screen size of 10.2 inches when it's fully open and 7.9 inches when folded once. Also, when you fold it twice, you get a 6.4-inch screen like regular smartphones. Huawei is now the biggest contender in the tri-folding segment, but Samsung may also join the race with a tri-fold version of its Galaxy Fold devices.
    • You can now measure internet speed and download videos using PowerToys Run by Taras Buria PowerToys Run is among my favorite modules, which I use daily (some of them should be integrated into Windows 11). This powerful utility is great for finding stuff, launching apps, navigating the web, and a lot more. Third-party modules help expand PowerToys Run's functionality and add additional capabilities like controlling Spotify, asking ChatGPT, and more. Now, there are three new modules you may find useful: speed test, video downloader, and vocabulary. The SpeedTest module uses Ookla Speedtest CLI for local execution without third-party tracking or ads. It has a modern, theme-aware user interface, and runs with a single command: just open Run and type spt to measure your internet connection speed. The result will show up in a new window with the ability to copy the result URL. The module also supports x64 and ARM systems. The VideoDownloader plugin lets you download videos from YouTube and other websites. You can specify the video quality and format (audio-only, for example) and select where to save the video. To make it work, open PowerToys Run, type dl and add a video URL. Finally, the Definition plugin from the same developer works as a powerful vocabulary that offers word definitions, word pronunciations, phonetics and synonyms, usage examples, and more. Note that these modules are not available in PowerToys out of the box. You need to download them from GitHub and install them manually. Here is how to do that: Download SpeedTest, VideoDownloader, or Definition plugins from their GitHub repositories. Extract downloaded plugins into %LOCALAPPDATA%\Microsoft\PowerToys\PowerToys Run\Plugins\ Open PowerToys Run (Alt + Space is the default shortcut) and launch plugins using their corresponding shortcuts (spt, dl, or def, all three can be customized in settings). You can also configure plugins in PowerToys Run settings. You can find more third-party modules for PowerToys Run on GitHub.
    • Showing people how to self host their own media is harmful, according to YouTube by David Uzondu YouTube has taken down a video from tech creator Jeff Geerling that demonstrated how to use LibreELEC, a lightweight operating system for turning devices into media centers, on a Raspberry Pi 5 for 4K video playback. The video, titled "I replaced my Apple TV—with a Raspberry Pi", originally published in May 2024, was removed in June 2025 under YouTube's "Harmful or dangerous content" policy. According to the violation notice, YouTube claimed the video showed "how to get unauthorized or free access to audio or audiovisual content, software, subscription services, or games that usually require payment." Image via Jeff Geerling Geerling strongly refuted YouTube's claims. He stated clearly, "I purposefully avoid demonstrating any of the tools that are popularly used to circumvent purchasing movie, TV, and other media content." He also emphasized that his own Network Attached Storage, or NAS, contains only legally acquired content. This isn't Geerling's first run-in with YouTube over self-hosted media tools. Last October, his tutorial titled "Better than Disney+: Jellyfin on my NAS" was hit with a similar strike for showing how to set up Jellyfin, an open source media server for organizing and streaming personal media. That strike was quickly overturned after an appeal. But this time, YouTube rejected his appeal, even though the LibreELEC video had been live for over a year, had racked up over half a million views, and contained no promotion of anything illegal. This whole thing feels a lot like what happened with youtube-dl. It's a simple command-line tool for downloading videos, used by tons of people for perfectly legal reasons like saving public domain content or backing up their own uploads. But that didn't stop the RIAA from hitting it with a DMCA takedown on GitHub, calling it a piracy tool. The community pushed back hard, and eventually it was brought back, thanks in part to support from groups like the Electronic Frontier Foundation who pointed out that not everything that can be misused is automatically bad. Side note, the youtube-dl project appears to be unmaintained (the last release was in 2021), if you're looking for an alternative, consider its very popular fork, yt-dlp. After the appeal was rejected, YouTube required Geerling to complete "policy training" to avoid a more serious, permanent strike on his channel. He eventually gave in and took the training. Anyways, if you're interested, he has uploaded the removed LibreELEC video to Internet Archive for anyone to watch.
    • Thanks to Herr Musk being a total poison pill, they can't even give those pieces of scrap away.  They can't even ship them to the UK/EU because they're completely illegal over here.  
  • Recent Achievements

    • Week One Done
      luxoxfurniture earned a badge
      Week One Done
    • First Post
      Uranus_enjoyer earned a badge
      First Post
    • Week One Done
      Uranus_enjoyer earned a badge
      Week One Done
    • Week One Done
      jfam earned a badge
      Week One Done
    • First Post
      survivor303 earned a badge
      First Post
  • Popular Contributors

    1. 1
      +primortal
      436
    2. 2
      +FloatingFatMan
      237
    3. 3
      snowy owl
      219
    4. 4
      ATLien_0
      210
    5. 5
      Xenon
      152
  • Tell a friend

    Love Neowin? Tell a friend!