Network share on same pc is not accessible when not connected to Domain
Hi, I have a corporate pc. For a project I need to have a network folder which I access through code. To test and develop this I have a networkfolder on my pc. When I try to open this networkfolder from my own pc it will not open, giving the error: Windows cannot access \\<pcname>\<sharename> Check the spelling of the name. Otherwise, there might be a problem with your network. To try to identify and resolve network problems, click Diagnose. Error code: 0x80070035 The network path was not found. Thus, a plain non saying error dialog... Though I can see my shared folder when I go to the \\<pcname>, I can't open it. But, when I am connected to the domain where my pc is part of, I don't have any problems. The share can be found. So I think this is a windows 7 setting I just can't find it... The only things mentioned on the internet are connecting between 2 different pc's, mostly with different win versions. But this is a network folder on my pc! Normally this can't be hard. On Windows vista,this worked... So, if anyone can help me. Please do!
January 25th, 2012 6:01am

Hmm, Just found something that can give somebody an extra hint: If I browse to \\127.0.0.1\<sharename> in stead of \\<pcname>\<sharename> I have no problem. This means that my pc thinks he is offline because he is not connected to the domain. Very strange. For me the problem is solved by doing this. But it would be better to find a way to solve this entire problem.
Free Windows Admin Tool Kit Click here and download it now
January 25th, 2012 8:30am

So you're saying that you can access the share on your own PC correctly when it's connected to your domain, but not when it's disconnected? And when it's disconnected you can access the share via the LOCALHOST address (127.0.0.1)? This sounds like... (wait for it...) a DNS issue. Here's a couple of different things you could try: Instead of using just the computer name in the path, use the FQDN of the computer, ie. instead of \\computername\share use \\computername.domainname.xxx\share (where .xxx is whatever you're using for your top-level domain, such as .com or .local). Add your computer's name and IP address to your c:\windows\system32\devices\hosts file. This will only work properly if your computer has a static IP address though. Also, you said you can't open the folder if you just browse to it using Explorer? Make sure your NTFS permissions are set correctly, and while you're at it, make sure the share permissions are correct too.
January 25th, 2012 2:08pm

Bob, I tried all those things and went on many sites trying to find an answer. at the end I found out that you have to use \\127.0.0.1 as your share name if not in the domain. It has to do with the setting that your pc is in a domain and not in a workgroup or homegroup or whatever they call it nowadays. The "workaround" of using my local IP-adress in stead of my computer name works fine. And it also works when in the domain. Ofcourse it would not work when connecting from an other pc. They would have to use the IP-adress that is given to me at the moment. But I didn't need it.
Free Windows Admin Tool Kit Click here and download it now
February 3rd, 2012 2:41am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics