OSD Join Domain in Task Sequence (Full Version)

All Forums >> [Management Products] >> Operating System Deployment



Message


jagustin -> OSD Join Domain in Task Sequence (5/8/2008 1:59:28 PM)

I get the feeling this is a question with a very basic answer, but here goes, I'm trying to get my XP images to auto join to the domain. I have tried in the CS & BS.ini but that doesn't work. I tried in the sysprep.inf and unattend.txt but that doesn't seem to work either.

Is there somewhere within the TS itself that I can join the machine to the domain?

Joel




mseely -> RE: OSD Join Domain in Task Sequence (5/8/2008 2:24:41 PM)

The 'out-of-the-box'  Join Domain or Workgroup task
can be found under the Add\General\Join Domain or Workgroup
when editing a Task Sequence

Mark




jagustin -> RE: OSD Join Domain in Task Sequence (5/8/2008 3:12:40 PM)

Hey Mark,

thanks for the reply,

From within the TS these are my options

Add > General>
> Run Command Line
> Set TS Variable
> Run Command Line as
> Restart
> Gather
> Install Updates Offline
>Validate
>Install Application

Microsoft Deployment Workbench v4.1

hmm




jscheffelmaer -> RE: OSD Join Domain in Task Sequence (5/8/2008 3:24:25 PM)

Check your BDD.log and see why the joindomain is either not processing or not failing to proceed.   Feel free to post some of the log if you need assistance.




jagustin -> RE: OSD Join Domain in Task Sequence (5/8/2008 3:39:32 PM)

Hey Jason,

I just imaged a machine and watching it as it deployed. I noticed when running the mini-setup (XP) it applies the network settings and briefly (split second) shows the "Join Workgroup" or "Join Domain" screen before proceeding to the next step.

I just remembered when I initially captured this image my Sysprep.inf was _not_ set to join the domain.

This is a custom XP image, and I'm going to try and capture it again and make sure it's using a sysprep.inf that has the Join Domain fields populated.

This should fix it.




jagustin -> RE: OSD Join Domain in Task Sequence (5/8/2008 5:02:19 PM)

Spoke too soon. Machine was not joined to the domain.

I re-sysprep'ed the machine with a Sysprep.inf that told it to join to the domain but no luck.

Question: in my CS.ini I have SkipDomainMembership=NO however during the winPE process I select workgroup and bypass that screen anyways. My understanding is the image will use the Sysprep.inf and Unattend.txt as priority and will use those settings over any settings I have set during the winPE. Am I completely wrong on this assumption?

Joel




jagustin -> RE: OSD Join Domain in Task Sequence (5/9/2008 3:35:55 PM)

I have tried to add the machine to the Domain in a few ways: 1) Sysprep.inf, 2) Custom Settings, 3) Fill in information in WinPE boot.
None of these work, and if I fill in the information during the winPE menu's it locks out my account.
Here are a few logs that note this error and I'm not sure at what stage the lockout occurs.

In the netSetup.LOG it tries to join the domain with the correct credentials but returns a 0x52e error and I'm not sure what that means. It tries to join again, and gives the 0x775 error which I believe means the account is locked out.

NetSetup.LOG:
05/09 09:58:14 NetpDoDomainJoin
05/09 09:58:14 NetpMachineValidToJoin: 'CPUG040'
05/09 09:58:14 NetpGetLsaPrimaryDomain: status: 0x0
05/09 09:58:14 NetpMachineValidToJoin: status: 0x0
05/09 09:58:14 NetpJoinDomain
05/09 09:58:14     Machine: CPUG040
05/09 09:58:14     Domain: AGLC
05/09 09:58:14     MachineAccountOU: OU=Workstations,OU=CPUs,DC=aglc,DC=goa,DC=ds
05/09 09:58:14     Account: aglc.goa.ds\AdminID
05/09 09:58:14     Options: 0x40003
05/09 09:58:14     OS Version: 5.1
05/09 09:58:14     Build number: 2600
05/09 09:58:14     ServicePack: Service Pack 3
05/09 09:58:14 NetpValidateName: checking to see if 'AGLC' is valid as type 3 name
05/09 09:58:14 NetpCheckDomainNameIsValid [ Exists ] for 'AGLC' returned 0x0
05/09 09:58:14 NetpValidateName: name 'AGLC' is valid for type 3
05/09 09:58:14 NetpDsGetDcName: trying to find DC in domain 'AGLC', flags: 0x1020
05/09 09:58:29 NetpDsGetDcName: failed to find a DC having account 'CPUG040$': 0x525
05/09 09:58:29 NetpDsGetDcName: found DC '\\DC12' in the specified domain
05/09 09:58:29 NetUseAdd to \\DC12\IPC$ returned 1326
05/09 09:58:29 NetpJoinDomain: status of connecting to dc '\\DC12': 0x52e
05/09 09:58:29 NetpDoDomainJoin: status: 0x52e
-----------------------------------------------------------------
05/09 09:59:30 NetpDoDomainJoin

05/09 09:59:30 NetpMachineValidToJoin: 'CPUG040'
05/09 09:59:30 NetpGetLsaPrimaryDomain: status: 0x0
05/09 09:59:30 NetpMachineValidToJoin: status: 0x0
05/09 09:59:30 NetpJoinDomain
05/09 09:59:30     Machine: CPUG040
05/09 09:59:30     Domain: AGLC
05/09 09:59:30     MachineAccountOU: OU=Workstations,OU=CPUs,DC=aglc,DC=goa,DC=ds
05/09 09:59:30     Account: aglc.goa.ds\AdminID
05/09 09:59:30     Options: 0x40003
05/09 09:59:30     OS Version: 5.1
05/09 09:59:30     Build number: 2600
05/09 09:59:30     ServicePack: Service Pack 3
05/09 09:59:30 NetpValidateName: checking to see if 'AGLC' is valid as type 3 name
05/09 09:59:30 NetpCheckDomainNameIsValid [ Exists ] for 'AGLC' returned 0x0
05/09 09:59:30 NetpValidateName: name 'AGLC' is valid for type 3
05/09 09:59:30 NetpDsGetDcName: trying to find DC in domain 'AGLC', flags: 0x1020
05/09 09:59:45 NetpDsGetDcName: failed to find a DC having account 'CPUG040$': 0x525
05/09 09:59:45 NetpDsGetDcName: found DC '\\DC12' in the specified domain
05/09 09:59:45 NetUseAdd to \\DC12\IPC$ returned 1909
05/09 09:59:45 NetpJoinDomain: status of connecting to dc '\\DC12': 0x775
05/09 09:59:45 NetpDoDomainJoin: status: 0x775

In my SetupErr.LOG
Warning:
Setup was unable to change the password for user account Administrator because of the following error:
SamChangePasswordUser returned status c000006a.
***
Warning:
Setup was unable to change the password for user account Administrator because of the following error:
SamChangePasswordUser returned status c000006a.
***
Warning:
Setup was unable to change the password for user account Administrator because of the following error:
SamChangePasswordUser returned status c000006a.
***
Error:
NetSetup: Join domain AGLC in full unattended mode failed. Setup will proceed to join the default workgroup.
***




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.375