OS Deployer - Knowledge base

The target account name is incorrect!

Problem

You can see the error message "The target account name is incorrect" on the screen when you try to do either of the following:

  • When installing image creator component.
  • When you are trying to access a remote machine's share.

Cause

  1. If the two computers, each from two different domain of the same network have the same computer name.
  2. This issue may occur because of the replication latencies due to change in domain.
  3. Due to improper trust relationship between two domains.
  4. Issues in DNS

Resolution

To resolve this problem, follow the solutions given below,

Execute the following commands in the target computer one by one,

  • ipconfig /flushdns 
  • ipconfig /registerdns
  • net stop netlogon
  • net start netlogon.

(Or)

Download this text file, rename it as a bat file and run this bat file to execute the command automatically. If you get this errror due to any of the above causes specifically, please find the solutions for each causes below,

Cause 1:

Rename the computer in one of the domain.

Cause 2:

Wait till the replication completes after change in domain.

Cause 3:

Reset the trust relationship between the two domains. To reset it execute the following command in any of the domain controller machine,
netdom trust /d:Domain1 Domain2 /Ud:Domain1\Username /reset
The /reset parameter synchronizes the appropriate shared secrets if they are not already synchronized.
 
Cause 4:
 
In the target computer, execute the command "netdiag -v" from a command prompt. This will create a netdiag.log file in the same directory that Netdiag was run. View netdiag.log file, check for any errors and resolve the DNS errors.
 

Keywords: Incorrect target computer name, rename computer name.