I have a laptop installed with Windows 7 that has problems in accessing network shares. Even if I am able to ping the computers containing the share then I get the infamous "Windows cannot access the ... share". At the beginning I hadn't netbios enabled so I was not able to reach the computers. After enabling netbios I ping the computers containing the shares correctly. I have an installation of VMPlayer, Virtual Box and Avira Antivir. No 3rd party firewall or other security software is installed.
The issue is not with DNS the issue is with NetBIOS
NetBIOS resolves local computer names(hostnames) to IP addresses like \\DAVES-PC to 192.168.1.190
The way NetBIOS resolves names is in this order
You can try to clean out the cache by
Clicking Start -> Type cmd -> Right Click and "Run As Administrator" -> Click Yes
Execute these commands
If you are still having issues make sure your computers are in the same workgroup this is typically named WORKGROUP
For Windows 7
Click Start -> Right Click on Computer -> Click Properties -> Click Advanced System Settings(on the left panel) -> Click Computer Name Tab -> Click Change
Here you can change the name of your workgroup make sure all your computers are in the same one.
You can add manual entries into your hosts file these entries will be loaded into your DNS client resolver cache which is the second thing checked.
Click Start -> Type Notepad -> Right Click "Run As Administrator" -> Click Yes -> File Menu -> Open -> Navigate to C:\Windows\System32\drivers\etc -> Open hosts ->
Add you entries at the end of the file in this format
This would work best with static IP addresses which are easy to configure but depend on the other OS you are using just google it.. it will work with DHCP as most home routers seem to repeatedly give the same IP to the same computer based on the MAC address at least in my experience... have changed OS's and kept the same IP on mine using DHCP lol.
Check Share Settings in "Network and Sharing Center"
Reset the TCP/IP Stack. This will revert all your settings back to default so you may need to change some back e.g. Static IP will be reset to DHCP
Check Services Computer Browser and TCP/IP NetBIOS Helper are running
Make sure Windows firewall is not blocking the connection.
User not in a Domain accessing share in a Domain
User in different Domain requires there to be trust between the two domains read here for more information
Try clearing the DNS cache. Run command prompt with elevated privilages and type
May also be worth checking the details your network adapter is given by typeing
look for the Ethernet controller and see what gateway and dns is has been given.
Also try using tracert to the name you are trying to reach, e.g.
I had some trouble with DNS, turns out my laptop was trying to use my Wireless connection instead of my Ethernet connection to access it.
are you using DHCP or static IP? if using static IP could you have entered a wrong DNS server? if using DHCP you can try to clear your DNS Cache by keying in at the command prompt:
Be sure the DNS Client service is set to automatic and is running (Windows Services)
You could hard code those IP's into your hosts file.
Open Notepad as an administrator, then use file > Open and navigate to
(you may need to set the browser window to "all files" to see the hosts file)
add your entries, save changes.