Solved

Logon Failure: The target account name is incorrect.

Posted on 2013-01-22
10
1,649 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 92

Expert Comment

by:John Hurst
ID: 38806251
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
ID: 38806262
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
ID: 38806278
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 92

Assisted Solution

by:John Hurst
John Hurst earned 150 total points
ID: 38806340
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
ID: 38806962
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
VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

 
LVL 16

Assisted Solution

by:choward16980
choward16980 earned 350 total points
ID: 38807046
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
ID: 38807049
Aslo, just for kicks, make sure there is no entry in the workstation's host file.
0
 

Author Comment

by:silentreproach
ID: 38819775
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
ID: 38990636
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 92

Expert Comment

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

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
AD health monitoring 2 71
What are your guildelines for replacing network hardware? 8 82
Link Quickbooks point of sale to server 12 107
ADMT Intra Forest migration questions 7 132
A common practice in small networks is making file sharing easy which works extremely well when intra-network security is not an issue. In essence, everyone, that is "Everyone", is given access to all of the shared files - often the entire C: drive …
This is the first one of a series of articles I’ll be writing to address technical issues that are always referred to as network problems. The network boundaries have changed, therefore having an understanding of how each piece in the network  puzzl…
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

861 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

23 Experts available now in Live!

Get 1:1 Help Now