VictorySabre,
thnx for the reply!
Actually it's kinda weird, a conflict of some kind going on. the log file says its joined the domain, then it joins it to the workgroup!
In the sysprep file, the identification section is blank.
In my scenario i setup a reference PC, added the driver path to the registry, copied sysprep folder to root of C:, then run the OSCapture CD, create OS package in SMS, setup target PC and deploy. All goes well except not joined back to Domain when completed. The last time i had this issue the Identification section in sysprep had joinworkgroup, removing it fixed it. So, this isnt my problem now. Log file below.
here is the log file:
08/28 10:07:57 -----------------------------------------------------------------
08/28 10:07:57 NetpValidateName: checking to see if 'WORKGROUP' is valid as type 2 name
08/28 10:07:57 NetpCheckNetBiosNameNotInUse: for 'WORKGROUP' returned: 0x858
08/28 10:07:57 NetpCheckNetBiosNameNotInUse for 'WORKGROUP' [ Workgroup as MACHINE] returned 0x858
08/28 10:07:57 NetpValidateName: name 'WORKGROUP' is valid for type 2
08/28 10:07:57 -----------------------------------------------------------------
08/28 10:07:57 NetpValidateName: checking to see if 'WORKGROUP' is valid as type 2 name
08/28 10:07:57 NetpCheckNetBiosNameNotInUse: for 'WORKGROUP' returned: 0x858
08/28 10:07:57 NetpCheckNetBiosNameNotInUse for 'WORKGROUP' [ Workgroup as MACHINE] returned 0x858
08/28 10:07:57 NetpValidateName: name 'WORKGROUP' is valid for type 2
08/28 10:07:58 -----------------------------------------------------------------
08/28 10:07:58 NetpValidateName: checking to see if 'WORKGROUP' is valid as type 2 name
08/28 10:07:58 NetpCheckNetBiosNameNotInUse: for 'WORKGROUP' returned: 0x858
08/28 10:07:58 NetpCheckNetBiosNameNotInUse for 'WORKGROUP' [ Workgroup as MACHINE] returned 0x858
08/28 10:07:58 NetpValidateName: name 'WORKGROUP' is valid for type 2
08/28 10:07:58 -----------------------------------------------------------------
08/28 10:07:58 NetpDoDomainJoin
08/28 10:07:58 NetpMachineValidToJoin: 'SULLIVAN-02YGOY'
08/28 10:07:58 NetpGetLsaPrimaryDomain: status: 0x0
08/28 10:07:58 NetpMachineValidToJoin: status: 0x0
08/28 10:07:58 NetpJoinWorkgroup: joining computer 'SULLIVAN-02YGOY' to workgroup 'WORKGROUP'
08/28 10:07:58 NetpValidateName: checking to see if 'WORKGROUP' is valid as type 2 name
08/28 10:07:58 NetpCheckNetBiosNameNotInUse: for 'WORKGROUP' returned: 0x858
08/28 10:07:58 NetpCheckNetBiosNameNotInUse for 'WORKGROUP' [ Workgroup as MACHINE] returned 0x858
08/28 10:07:58 NetpValidateName: name 'WORKGROUP' is valid for type 2
08/28 10:07:58 NetpSetLsaPrimaryDomain: for 'WORKGROUP' status: 0x0
08/28 10:07:58 NetpControlServices: open service 'NETLOGON' failed: 0x424
08/28 10:07:58 NetpJoinWorkgroup: status: 0x0
08/28 10:07:58 NetpDoDomainJoin: status: 0x0
08/28 10:08:15 -----------------------------------------------------------------
08/28 10:08:15 NetpValidateName: checking to see if 'SULLIVAN-02YGOY' is valid as type 1 name
08/28 10:08:15 NetpCheckNetBiosNameNotInUse for 'SULLIVAN-02YGOY' [MACHINE] returned 0x0
08/28 10:08:15 NetpValidateName: name 'SULLIVAN-02YGOY' is valid for type 1
08/28 11:35:21 -----------------------------------------------------------------
08/28 11:35:21 NetpValidateName: checking to see if 'SULLIVAN-02YGOY' is valid as type 1 name
08/28 11:35:21 NetpCheckNetBiosNameNotInUse for 'SULLIVAN-02YGOY' [MACHINE] returned 0x0
08/28 11:35:21 NetpValidateName: name 'SULLIVAN-02YGOY' is valid for type 1
08/28 11:35:59 -----------------------------------------------------------------
08/28 11:35:59 NetpValidateName: checking to see if 'WORKGROUP' is valid as type 2 name
08/28 11:35:59 NetpCheckNetBiosNameNotInUse for 'WORKGROUP' [ Workgroup as MACHINE] returned 0x0
08/28 11:35:59 NetpValidateName: name 'WORKGROUP' is valid for type 2
08/28 11:35:59 -----------------------------------------------------------------
08/28 11:35:59 NetpValidateName: checking to see if 'WORKGROUP' is valid as type 2 name
08/28 11:35:59 NetpCheckNetBiosNameNotInUse for 'WORKGROUP' [ Workgroup as MACHINE] returned 0x0
08/28 11:35:59 NetpValidateName: name 'WORKGROUP' is valid for type 2
08/28 11:35:59 -----------------------------------------------------------------
08/28 11:35:59 NetpValidateName: checking to see if 'WORKGROUP' is valid as type 2 name
08/28 11:35:59 NetpCheckNetBiosNameNotInUse for 'WORKGROUP' [ Workgroup as MACHINE] returned 0x0
08/28 11:35:59 NetpValidateName: name 'WORKGROUP' is valid for type 2
08/28 11:35:59 -----------------------------------------------------------------
08/28 11:35:59 NetpDoDomainJoin
08/28 11:35:59 NetpMachineValidToJoin: 'SULLIVAN-02YGOY'
08/28 11:35:59 NetpGetLsaPrimaryDomain: status: 0x0
08/28 11:35:59 NetpMachineValidToJoin: status: 0x0
08/28 11:35:59 NetpJoinWorkgroup: joining computer 'SULLIVAN-02YGOY' to workgroup 'WORKGROUP'
08/28 11:35:59 NetpValidateName: checking to see if 'WORKGROUP' is valid as type 2 name
08/28 11:35:59 NetpCheckNetBiosNameNotInUse for 'WORKGROUP' [ Workgroup as MACHINE] returned 0x0
08/28 11:35:59 NetpValidateName: name 'WORKGROUP' is valid for type 2
08/28 11:35:59 NetpSetLsaPrimaryDomain: for 'WORKGROUP' status: 0x0
08/28 11:35:59 NetpJoinWorkgroup: status: 0x0
08/28 11:35:59 NetpDoDomainJoin: status: 0x0
09/06 11:12:38 -----------------------------------------------------------------
09/06 11:12:38 NetpValidateName: checking to see if 'smstest' is valid as type 3 name
09/06 11:12:38 NetpCheckDomainNameIsValid [ Exists ] for 'smstest' returned 0x0
09/06 11:12:38 NetpValidateName: name 'smstest' is valid for type 3
09/06 11:12:48 -----------------------------------------------------------------
09/06 11:12:48 NetpDoDomainJoin
09/06 11:12:48 NetpMachineValidToJoin: 'SULLIVAN-02YGOY'
09/06 11:12:48 NetpGetLsaPrimaryDomain: status: 0x0
09/06 11:12:48 NetpMachineValidToJoin: status: 0x0
09/06 11:12:48 NetpJoinDomain
09/06 11:12:48 Machine: SULLIVAN-02YGOY
09/06 11:12:48 Domain: smstest
09/06 11:12:48 MachineAccountOU: (NULL)
09/06 11:12:48 Account: smstest\administrator
09/06 11:12:48 Options: 0x25
09/06 11:12:48 OS Version: 5.1
09/06 11:12:48 Build number: 2600
09/06 11:12:48 ServicePack: Service Pack 2
09/06 11:12:48 NetpValidateName: checking to see if 'smstest' is valid as type 3 name
09/06 11:12:48 NetpCheckDomainNameIsValid [ Exists ] for 'smstest' returned 0x0
09/06 11:12:48 NetpValidateName: name 'smstest' is valid for type 3
09/06 11:12:48 NetpDsGetDcName: trying to find DC in domain 'smstest', flags: 0x1020
09/06 11:12:48 NetpDsGetDcName: found DC '\\SMSDC' in the specified domain
09/06 11:12:48 NetpJoinDomain: status of connecting to dc '\\SMSDC': 0x0
09/06 11:12:48 NetpGetLsaPrimaryDomain: status: 0x0
09/06 11:12:48 NetpGetDnsHostName: Read NV Hostname: sullivan-02ygoy
09/06 11:12:48 NetpGetDnsHostName: PrimaryDnsSuffix defaulted to DNS domain name: smstest.com
09/06 11:12:48 NetpLsaOpenSecret: status: 0xc0000034
09/06 11:12:48 NetpGetLsaPrimaryDomain: status: 0x0
09/06 11:12:48 NetpLsaOpenSecret: status: 0xc0000034
09/06 11:12:49 NetpJoinDomain: status of setting machine password: 0x0
09/06 11:12:49 NetpGetComputerObjectDn: Cracking account name SMSTEST\SULLIVAN-02YGOY$ on \\SMSDC
09/06 11:12:49 NetpGetComputerObjectDn: Crack results: (Account already exists) DN = CN=SULLIVAN-02YGOY,OU=Test PCs,DC=smstest,DC=com
09/06 11:12:49 NetpModifyComputerObjectInDs: Initial attribute values:
09/06 11:12:49 DnsHostName = sullivan-02ygoy.smstest.com
09/06 11:12:49 ServicePrincipalName = HOST/sullivan-02ygoy.smstest.com HOST/SULLIVAN-02YGOY
09/06 11:12:49 NetpModifyComputerObjectInDs: Computer Object already exists in OU:
09/06 11:12:49 DnsHostName = sullivan-02ygoy.smstest.com
09/06 11:12:49 ServicePrincipalName = HOST/SULLIVAN-02YGOY HOST/sullivan-02ygoy.smstest.com
09/06 11:12:49 NetpModifyComputerObjectInDs: There are _NO_ modifications to do
09/06 11:12:49 ldap_unbind status: 0x0
09/06 11:12:49 NetpJoinDomain: status of setting DnsHostName and SPN: 0x0
09/06 11:12:49 NetpGetLsaPrimaryDomain: status: 0x0
09/06 11:12:49 NetpSetLsaPrimaryDomain: for 'SMSTEST' status: 0x0
09/06 11:12:49 NetpJoinDomain: status of setting LSA pri. domain: 0x0
09/06 11:12:50 NetpJoinDomain: status of managing local groups: 0x0
09/06 11:12:50 NetpJoinDomain: status of setting netlogon cache: 0x0
09/06 11:12:50 NetpJoinDomain: status of setting ComputerNamePhysicalDnsDomain to 'smstest.com': 0x0
09/06 11:12:50 NetpUpdateW32timeConfig: 0x0
09/06 11:12:50 NetpJoinDomain: status of disconnecting from '\\SMSDC': 0x0
09/06 11:12:50 NetpDoDomainJoin: status: 0x0
09/06 11:23:08 -----------------------------------------------------------------
09/06 11:23:08 NetpValidateName: checking to see if 'SMS' is valid as type 2 name
09/06 11:23:11 NetpCheckNetBiosNameNotInUse for 'SMS' [ Workgroup as MACHINE] returned 0x0
09/06 11:23:11 NetpValidateName: name 'SMS' is valid for type 2
09/06 11:23:21 -----------------------------------------------------------------
09/06 11:23:21 NetpUnJoinDomain: unjoin from 'SMSTEST' using 'smstest\administrator' creds, options: 0x4
09/06 11:23:21 OS Version: 5.1
09/06 11:23:21 Build number: 2600
09/06 11:23:21 ServicePack: Service Pack 2
09/06 11:23:21 NetpUnJoinDomain: status of getting computer name: 0x0
09/06 11:23:21 NetpApplyJoinState: actions: 0x2b805a
09/06 11:23:21 NetpDsGetDcName: trying to find DC in domain 'SMSTEST', flags: 0x1020
09/06 11:23:21 NetpDsGetDcName: found DC '\\SMSDC' in the specified domain
09/06 11:23:21 NetpApplyJoinState: status of connecting to dc '\\SMSDC': 0x0
09/06 11:23:22 NetpApplyJoinState: status of stopping and setting start type of Netlogon to 16: 0x0
09/06 11:23:22 NetpGetLsaPrimaryDomain: status: 0x0
09/06 11:23:22 NetpLsaOpenSecret: status: 0x0
09/06 11:23:22 NetpLsaOpenSecret: status: 0x0
09/06 11:23:22 NetpManageMachineAccountWithSid: status of disabling account 'SULLIVAN-02YGOY$' on '\\SMSDC': 0x0
09/06 11:23:22 NetpApplyJoinState: status of disabling account: 0x0
09/06 11:23:22 NetpSetLsaPrimaryDomain: for 'SMSTEST' status: 0x0
09/06 11:23:22 NetpApplyJoinState: status of setting LSA pri. domain: 0x0
09/06 11:23:22 NetpApplyJoinState: status of clearing ComputerNamePhysicalDnsDomain: 0x0
09/06 11:23:22 NetpApplyJoinState: status of removing from local groups: 0x0
09/06 11:23:22 NetpUpdateW32timeConfig: 0x0
09/06 11:23:23 NetpApplyJoinState: NON FATAL: status of removing DNS registrations: 0x0
09/06 11:23:23 NetpApplyJoinState: status of disconnecting from '\\SMSDC': 0x0
09/06 11:23:23 NetpUnJoinDomain: status: 0x0
09/06 11:23:23 -----------------------------------------------------------------
09/06 11:23:23 NetpDoDomainJoin
09/06 11:23:23 NetpMachineValidToJoin: 'SULLIVAN-02YGOY'
09/06 11:23:23 NetpGetLsaPrimaryDomain: status: 0x0
09/06 11:23:23 NetpMachineValidToJoin: status: 0x0
09/06 11:23:23 NetpJoinWorkgroup: joining computer 'SULLIVAN-02YGOY' to workgroup 'SMS'
09/06 11:23:23 NetpValidateName: checking to see if 'SMS' is valid as type 2 name
09/06 11:23:26 NetpCheckNetBiosNameNotInUse for 'SMS' [ Workgroup as MACHINE] returned 0x0
09/06 11:23:26 NetpValidateName: name 'SMS' is valid for type 2
09/06 11:23:26 NetpSetLsaPrimaryDomain: for 'SMS' status: 0x0
09/06 11:23:26 NetpJoinWorkgroup: status: 0x0
09/06 11:23:26 NetpDoDomainJoin: status: 0x0
09/07 12:27:50 -----------------------------------------------------------------
09/07 12:27:50 NetpValidateName: checking to see if 'SULLIVAN-02YGOY' is valid as type 1 name
09/07 12:27:50 NetpCheckNetBiosNameNotInUse for 'SULLIVAN-02YGOY' [MACHINE] returned 0x0
09/07 12:27:50 NetpValidateName: name 'SULLIVAN-02YGOY' is valid for type 1