Solved

Logon Failure: The target account name is incorrect.

Posted on 2013-01-22
10
1,642 Views
Last Modified: 2013-03-15
In an SBS 2008 environment, when any workstation (including the server) tries to access a shared folder on a specific Windows 7 box:
- using UNC path (eg. \\JACK-WIN7), the error "Logon Failure: The target account name is incorrect" occurs.
- using FQDN (eg. \\JACK-WIN7.mydomain.local), I can successfully access the shares.

I've read numerous articles and most lead to DNS issues. I tried removing the DNS A record related to JACK-WIN7 using the DNS Manager on the server and then ipconfig /flushdns and ipconfig /registerdns on the offending Win7 box.

One clue is, when I:
- ping -a JACK-WIN7 it pings the ip address of a different computer (which has a different computer name)
- ping -a JACK-WIN7.mydomain.local it pings the correct ip address.
0
Comment
Question by:silentreproach
  • 4
  • 3
  • 3
10 Comments
 
LVL 90

Expert Comment

by:John Hurst
Comment Utility
Why would pinging one name come up with the wrong computer? There does not seem to be enough here to say why. Is there another computer named JACK-WIN7? or was there one?

You are trying to connect to a Windows 7 machine.  I use the form:

NET USE Z: \\xxx-WIN7PRO\DriveC where DriveC has been permitted to the list of users allowed to use it.

In your example, you are not using a folder name and that may be part of the issue.

.... Thinkpads_User
0
 
LVL 16

Expert Comment

by:choward16980
Comment Utility
Make sure on both the host and server that netbios is enabled and that both are receiving the correct DNS suffix.
0
 

Author Comment

by:silentreproach
Comment Utility
Same result occurs if I use a folder name. If I try to access \\JACK-WIN7\Foldername I get the error. If I try to access \\JACK-WIN7.mydomain.local\Foldername then I can access the data okay.

I believe ping resolves to the wrong ip address (and tracert for that matter) due to a DNS record somewhere on the server, but I can't find it yet. This user previously had an XP computer, but I believe it was named JACK-XP.
0
 
LVL 90

Assisted Solution

by:John Hurst
John Hurst earned 150 total points
Comment Utility
There is an article with some information about prior computers. Look through this article below as it may point you to how remove DNS records, or put the old computer in a different OU for a period of time and then delete.

http://serverfault.com/questions/114802/cleaning-up-ad-and-dns-on-windows-sbs-2008

... Thinkpads_User
0
 

Author Comment

by:silentreproach
Comment Utility
I used this free Active Directory Cleanup tool: http://www.cjwdev.co.uk/Software/ADTidy/Info.html but did not see any duplicate computers. I did disable a couple of old, unrelated computer names.

Still feel like it's a DNS issue but I'm not sure, working on it.
0
Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

 
LVL 16

Assisted Solution

by:choward16980
choward16980 earned 350 total points
Comment Utility
Go into your reverse lookup zones in the DNS management console on your SBS 2008 server and delete the corresponding records for the incorrect netbios addresses.
0
 
LVL 16

Accepted Solution

by:
choward16980 earned 350 total points
Comment Utility
Aslo, just for kicks, make sure there is no entry in the workstation's host file.
0
 

Author Comment

by:silentreproach
Comment Utility
CHoward, thanks for the DNS tip. I looked and did not see any records in the reverse lookup zones corresponding to the computer in question Anything else to look for?
0
 

Author Closing Comment

by:silentreproach
Comment Utility
There were entries in c:\windows\system32\drivers\etc\hosts that must have been put there by a prior administrator. These were outdated compared to DNS and I also cleaned up invalid entries in DNS. Thanks!
0
 
LVL 90

Expert Comment

by:John Hurst
Comment Utility
@silentreproach - Thank you and thanks for the update.
.... Thinkpads_User
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Downtime reduced, data recovered by utilizing an Experts Exchange Business Account Challenge The United States Marine Corps employs more than 200,000 active-duty Marines with operations in four continents, all requiring complex networking system…
Many of us in IT utilize a combination of roaming profiles and folder redirection to ensure user information carries over from one workstation to another; in my environment, it was to enable virtualization without needing a separate desktop for each…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now