I'm having a similar problem, it appears that the console tries to join the machine with the auto-generated name instead of the intended target name, when this fails, it falls back to "workgroup".
The task creates the object in AD fine with the right name, then when the machine comes up, it auto-generates a name, then the task attempts to join the machine to AD with the auto-name instead of the object it just created, this fails due to a GUID collision. It then seems that the task renames the computer and falls back to a work-group.
I've tried to get this to work everywhich way from sunday, I deleted the object in AD before starting the task, and not, I've elevated the console acct. to Domain Admin, I think I have tried about every possible combination of settings with the same end result.
If I run a configuration task, after the image task completes "with warnings", the machine is joined to domain, no problem.
-------------------------------------------------------------------------------------------------------------------------------------------
Task process listing
VE-MOD02 00-11-11-84-04-87 Update DOS system files 4/3/2007 9:53:27 AM Success
VE-MOD02 00-11-11-84-04-87 Update DOS Network Drivers 4/3/2007 9:53:27 AM Success
VE-MOD02 00-11-11-84-04-87 Create machine account 4/3/2007 9:53:28 AM Success
Details for: Create machine account
VE-MOD02,
LDAP://server.domain.EDU//DC=domain,DC=EDUAALTEST
VE-MOD02 00-11-11-84-04-87 Prepare configuration 4/3/2007 9:53:47 AM Success
VE-MOD02 00-11-11-84-04-87 To Virtual Partition 4/3/2007 9:54:55 AM Success
VE-MOD02 00-11-11-84-04-87 Clone 4/3/2007 10:01:07 AM Success
VE-MOD02 00-11-11-84-04-87 Configuration 4/3/2007 10:01:26 AM Success
VE-MOD02 00-11-11-84-04-87 To target operating system 4/3/2007 10:09:47 AM Success
VE-MOD02 00-11-11-84-04-87 Configuration 4/3/2007 10:09:47 AM WARNING
Details for: Configuration
Failed to join domain domain.edu: The security database on the server does not have a computer account for this workstation trust relationship.
VE-MOD02 00-11-11-84-04-87 Finish 4/3/2007 10:09:47 AM Success
----------------------------------------------------------------------------------------------------------------------------------------------
04/03/2007 11:58:18:609 -----------------------------------------------------------------
04/03/2007 11:58:18:609 NetpDoDomainJoin
04/03/2007 11:58:18:625 NetpMachineValidToJoin: 'LH-L7I9ZWZG3F8C'
04/03/2007 11:58:18:625 OS Version: 6.0
04/03/2007 11:58:18:625 Build number: 6000
04/03/2007 11:58:18:671 SKU: Windows Vista™ Enterprise
04/03/2007 11:58:18:671 NetpDomainJoinLicensingCheck: ulLicenseValue=1, Status: 0x0
04/03/2007 11:58:18:671 NetpGetLsaPrimaryDomain: status: 0x0
04/03/2007 11:58:18:671 NetpMachineValidToJoin: status: 0x0
04/03/2007 11:58:18:671 NetpJoinDomain
04/03/2007 11:58:18:671 Machine: LH-L7I9ZWZG3F8C
04/03/2007 11:58:18:671 Domain: domain.edu
04/03/2007 11:58:18:671 MachineAccountOU: (NULL)
04/03/2007 11:58:18:671 Account: (NULL)
04/03/2007 11:58:18:671 Options: 0xc1
04/03/2007 11:58:18:671 NetpLoadParameters: loading registry parameters...
04/03/2007 11:58:18:671 NetpLoadParameters: DNSNameResolutionRequired not found, defaulting to '1' 0x2
04/03/2007 11:58:18:671 NetpLoadParameters: status: 0x2
04/03/2007 11:58:18:671 NetpValidateName: checking to see if 'domain.edu' is valid as type 3 name
04/03/2007 11:58:19:015 NetpCheckDomainNameIsValid [ Exists ] for 'domain.edu' returned 0x0
04/03/2007 11:58:19:015 NetpValidateName: name 'domain.edu' is valid for type 3
04/03/2007 11:58:19:015 NetpDsGetDcName: trying to find DC in domain 'domain.edu', flags: 0x40001010
04/03/2007 11:58:19:078 [0000007c] NetpGetLsaPrimaryDomain: status: 0x0
04/03/2007 11:58:20:203 NetpDsGetDcName: failed to find a DC having account 'LH-L7I9ZWZG3F8C$': 0x525, last error is 0x79
04/03/2007 11:58:20:218 NetpDsGetDcName: status of verifying DNS A record name resolution for 'server.domain.EDU': 0x0
04/03/2007 11:58:20:218 NetpDsGetDcName: found DC '\\server.domain.EDU' in the specified domain
04/03/2007 11:58:20:234 NetpJoinDomain: status of connecting to dc '\\server.domain.EDU': 0x0
04/03/2007 11:58:20:250 NetpGetLsaPrimaryDomain: status: 0x0
04/03/2007 11:58:20:250 NetpGetDnsHostName: Read NV Hostname: LH-L7I9ZWZG3F8C
04/03/2007 11:58:20:250 NetpGetDnsHostName: PrimaryDnsSuffix defaulted to DNS domain name: domain.EDU
04/03/2007 11:58:20:265 NetpLsaOpenSecret: status: 0xc0000034
04/03/2007 11:58:21:031 Failed to validate machine account for LH-L7I9ZWZG3F8C against
\\server.domain.EDU: 0xc000018b
04/03/2007 11:58:21:031 NetpJoinDomain: w9x: status of validating account: 0x6fb
04/03/2007 11:58:21:031 NetpJoinDomain: initiaing a rollback due to earlier errors
04/03/2007 11:58:21:031 NetpLsaOpenSecret: status: 0x0
04/03/2007 11:58:21:343 NetpJoinDomain: rollback: status of deleting secret: 0x0
04/03/2007 11:58:21:343 [000001d8] NetpGetLsaPrimaryDomain: status: 0x0
04/03/2007 11:58:21:343 NetpJoinDomain: status of disconnecting from '\\server.domain.EDU': 0x0
04/03/2007 11:58:21:343 NetpDoDomainJoin: status: 0x6fb
04/03/2007 11:59:13:484 -----------------------------------------------------------------
04/03/2007 11:59:13:484 NetpDoDomainJoin
04/03/2007 11:59:13:484 NetpMachineValidToJoin: 'VE-MOD02'
04/03/2007 11:59:13:484 OS Version: 6.0
04/03/2007 11:59:13:484 Build number: 6000
04/03/2007 11:59:13:484 SKU: Windows Vista™ Enterprise
04/03/2007 11:59:13:484 NetpGetLsaPrimaryDomain: status: 0x0
04/03/2007 11:59:13:484 NetpMachineValidToJoin: status: 0x0
04/03/2007 11:59:13:484 NetpJoinWorkgroup: joining computer 'VE-MOD02' to workgroup 'WORKGROUP'
04/03/2007 11:59:13:484 NetpValidateName: checking to see if 'WORKGROUP' is valid as type 2 name
04/03/2007 11:59:16:484 NetpCheckNetBiosNameNotInUse for 'WORKGROUP' [ Workgroup as MACHINE] returned 0x0
04/03/2007 11:59:16:484 NetpValidateName: name 'WORKGROUP' is valid for type 2
04/03/2007 11:59:16:609 NetpSetLsaPrimaryDomain: for 'WORKGROUP' status: 0x0
04/03/2007 11:59:16:671 NetpJoinWorkgroup: status: 0x0
04/03/2007 11:59:16:671 NetpDoDomainJoin: status: 0x0
---------------------------------------------------------------------------------------------------------------------------------------------