2

I used to have a network share on an external Samba server named mysmb. The network share itself was accessed via \\mysmb\myshare.

I connected to it from my new Windows 8.1 laptop, copied its content to a local folder (same name), then shared it. So far so good. I can access it from my laptop the old SMB way, using 127.0.0.1\myshare.

I now want to access this local share the old way: \\mysmb\myshare.

For that, I changed c:\windows\system32\drivers\etc\hosts to point mysmb to 127.0.0.1 by adding the line:

127.0.0.1   mysmb 

I can now ping mysmb fine, returning pings from the very same laptop (i.e. not that Samba server, as it has been turned off).

But if I try to access mysmb as a share, i.e. \\mysmb\myshare, "Windows Security" keeps prompting me for "Enter network credentials".

Which tells me that my laptop's Windows 8.1 somehow remembers the old IP address of the mysmb computer name.

I tried deleting all cached IPs using arp -a -d then rebooting, but that didn't help.

In Windows 2000/XP there used to be a view called My Network Places that memorized & listed all previously used connections. If I delete one, this would prevent the "Duplicate Name Exists" Error.

Where does Windows 8.1 store this kind of caching and how can I make it forget that history?

ih8ie8
  • 145

1 Answers1

1

Flush your dns cache.

Ipconfig /flushdns 

If your computer is contacting the wrong address, flushing dns should do the trick.

Doing the arp command removes cached Mac addresses rather than dns entries, which is why I think this would work while the previous did not.

FoxDeploy
  • 341