My ghost event log gives this:
Wake on Lan - Success
Create Machine Account - Success
Prepare configuration - Success
To virtual partition - Success
Clone - Success
Configuration - Success
To target operating system - Success
Configuration - Warning
(Details for: Configuration, Failed to join Domain 'mydomain' : Domain does not exist or cannot contact this domain (roughly translated from dutch)
Finish - Success
The ghost user has all the right to put machines on the domain, also when I log on to the machine I can put it on the domain manually. It also has put the machine in the active directory but when I check the properties of that name its empty (does not see which OS, version etc).
I have created the image from another PC with the following options: Clone, Configuration, Use Wake on Lan and most important I think: Remove image from domain while taking this image.
After these errors I decided to make the image again with the same parameters but I did not enable the function: Remove image from domain. This time
Success at every step, but the PC is left in a state where I can only log in to a local account - domain
logins result in an error message saying the PC can't connect to the domain because the DC is down or the computer account was not found.
(thread about this)
The sysprep part about the domain looks like this:
[Identification]
JoinDomain='domain'
DomainAdmin='user'
DomainAdminPassword='password'
My netsetup file on the client looks like this when I use the first option (remove machine from domain before taking image)
04/11 17:06:13 -----------------------------------------------------------------
04/11 17:06:13 NetpDoDomainJoin
04/11 17:06:13 NetpMachineValidToJoin: 'Machine name'
04/11 17:06:13 NetpGetLsaPrimaryDomain: status: 0x0
04/11 17:06:13 NetpMachineValidToJoin: status: 0x0
04/11 17:06:13 NetpJoinDomain
04/11 17:06:13 Machine: Machine Name
04/11 17:06:13 Domain: DOMAIN
04/11 17:06:13 MachineAccountOU: (NULL)
04/11 17:06:13 Account: (NULL)
04/11 17:06:13 Options: 0xc1
04/11 17:06:13 OS Version: 5.1
04/11 17:06:13 Build number: 2600
04/11 17:06:13 ServicePack: Service Pack 2
04/11 17:06:13 NetpValidateName: checking to see if 'DOMAIN' is valid as type 3 name
04/11 17:06:15 NetpCheckDomainNameIsValid for DOMAIN returned 0x54b
04/11 17:06:15 NetpCheckDomainNameIsValid [ Exists ] for 'DOMAIN' returned 0x54b
04/11 17:06:15 NetpDoDomainJoin: status: 0x54b
If I use the second option (don't remove machine from domain before taking image) then no new lines get added in the netsetup files
(also stated in thread)
I have googled the error 0x45b and found some pointers to DNS problems. Some thing about the AD zone type must be set to Primary and not Active Directory-Integrated, else the records from the text file are not uploaded to the DNS server. Im not sure how to do this and if this is my problem, so any help is appreciated.