Error accessing shared folders by server name (Not by IP)

When I access shared folders by \\servername it is showing the below error.
But if access it by ip it is working fine. and that even not all the pcs only 4/5 pcs.

'\severname is not accessible you might not have permission to use this network resource....contact the administrator....
Logon failure : the target account name is incorrect'

Your help is appreciated.

MAS
LVL 29
MAS (MVE)EE Solution GuideAsked:
Who is Participating?
 
MAS (MVE)EE Solution GuideAuthor Commented:
This is the only way I found as users started making problems.

MAS
0
 
de3mkaCommented:
Are you sure servername is resolvnig the right IP?
You can try also mapping a folder to some drive
In command prompt type
net use X: \\servername\sharedfolder /USER:username_which_has_access password

Open in new window

0
 
MAS (MVE)EE Solution GuideAuthor Commented:
I need that to be accessed by server name as it is an application server.
application is running  through the folders in that server.

MAS
0
Cloud Class® Course: Amazon Web Services - Basic

Are you thinking about creating an Amazon Web Services account for your business? Not sure where to start? In this course you’ll get an overview of the history of AWS and take a tour of their user interface.

 
andypunCommented:
Might be a problem with the computer account. Try disjoining the computer from the domain, delete computer account in Active directory, and then join domain again.

Also, try flushing dns ("ipconfig /flushdns" in command prompt) on PC's which are having trouble accessing \\servername.
0
 
MAS (MVE)EE Solution GuideAuthor Commented:
I am not able to disconnect/rejoin it from domain it is showing the same error.
'Logon failure : the target account name is incorrect'

I tried flushdns and register dns. no improvement.

MAS
0
 
Kentrix70Commented:
0
 
WolfhereCommented:
Kent is on this one. You can also try an entry in your hosts file.
0
 
MAS (MVE)EE Solution GuideAuthor Commented:
I am sorry I formatted the server and reinstalled a new dc as I don't have time to wait.
Thanks for all your kind support.

MAS
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.