Cannot access shared drive on Win 2012 server

Attila Mosonyi
Attila Mosonyi used Ask the Experts™
on
I cannot access a shared drive from Win 10 Pro PC on a Win 2012 server.
Troubleshooting done:
- Pinged server successfully by IP address
- Pinged server unsuccessfully by NetBIOS name
- Did an ipconfig /flushdns still not able
- From the server can ping the workstation by both IP address and NetBIOS name.
- It is a workgroup environment
Please help!
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
How are you trying to access it?

Have you tried:
start
run
\\<server ip address>
Attila MosonyiIT Support Specialist

Author

Commented:
Yes, I tried to access it by \\<server ip address>\sharename and \\<server NetBIOS Name>\sharename both unsuccesstull.
As far as ping is concerned, I can ping by the servers IP address, but not by the NetBIOS name
JohnBusiness Consultant (Owner)
Most Valuable Expert 2012
Expert of the Year 2018

Commented:
It is a workgroup environment  

Better if you set it up as a Domain.

Does the Server 2012 share have a $ in it (like C$)?  You cannot do that natively on a serve share as a normal user. Check this.
Become a Certified Penetration Testing Engineer

This CPTE Certified Penetration Testing Engineer course covers everything you need to know about becoming a Certified Penetration Testing Engineer. Career Path: Professional roles include Ethical Hackers, Security Consultants, System Administrators, and Chief Security Officers.

"Pinged server unsuccessfully by NetBIOS name": that may well be a DNS issue.

Are you able to get to the server's shares from any other computer?

What do you get when you go to File Explorer, Network?

On the server, check that the Function Discovery Resource Publication is set as Automatic and is running.
I would agree with John about a Domain being preferable.  I'm assuming that you have good reasons to stay with a Workgroup.

To what does the workstation point for DNS?
Attila MosonyiIT Support Specialist

Author

Commented:
Hi CompProbSolv, I have dynamic IP and DNS settings.
When I ping the server from the workstation by the ip address with /a I am getting the correct NetBIOS name of the server, however when I ping the server with the NetBIOS name I am getting no reply and in brackets is showing like an external IP.
" I have dynamic IP and DNS setting": yes, but to which device (server, router, ?) is the DNS pointing?  This is relevant to some of your issues, but not to the main one of not being able to access shares on the server with \\<IP address>.

John raised a good point about Workgroup vs. Domain.  Is there a good reason not to go with a Domain?  This can work as a Workgroup, but many advantages to AD.

What response do you get when you do start, run, \\<ip address>?
Attila MosonyiIT Support Specialist

Author

Commented:
I found my own solution, the hosts file was corrupted, somehow the server name was associated with an external IP Address. Thanks for trying, closing this ticket.
IT Support Specialist
Commented:
Found my own solution, the hosts file was corrupted, somehow the server name was associated with an external IP Address. Could of been a malicious party. Thanks for trying, closing this ticket.
That would certainly cause issues with accessing the server by name.  I have no clue how it would have affected connecting by IP address.  That seems very odd.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial