Solved

Logon Failure: The target account name is incorrect.

Posted on 2013-01-22
10
1,661 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
  • 3
10 Comments
 
LVL 94

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
Connect further...control easier

With the ATEN CE624, you can now enjoy a high-quality visual experience powered by HDBaseT technology and the convenience of a single Cat6 cable to transmit uncompressed video with zero latency and multi-streaming for dual-view applications where remote access is required.

 
LVL 94

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
 
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 94

Expert Comment

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

Featured Post

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

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

Suggested Solutions

Have you ever set up your wireless router at home or in the office to find that you little pop-up bubble in the bottom right-hand corner of Windows read "IP Conflict - One of more computers on the network have been assigned the following IP address"…
Are you one of those front-line IT Service Desk staff fielding calls, replying to emails, all-the-while working to resolve end-user technological nightmares? I am! That's why I have put together this brief overview of tools and techniques I use in o…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

730 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