MSFN Forum: Joining Domain - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Joining Domain Rate Topic: -----

#1 User is offline   Our Michael 

  • Newbie
  • Group: Members
  • Posts: 12
  • Joined: 11-November 05

Posted 08 December 2005 - 02:53 AM

Hi all, i scoured the threads quickly and couldn't find one related to this, so a general question please. I use Setup Manager in Windows and the wizards to create either unattend files or RIS answer files, and then modify them later if i need to

Why is there no option when creating a RIS answer file to join a domain, as there is with an unattend? Does anyone know how to modify a remboot.sif to enable a computer to join a domain?

Thanks


#2 User is offline   cluberti 

  • Gustatus similis pullus
  • Group: Supervisor
  • Posts: 11,001
  • Joined: 09-September 01
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 08 December 2005 - 03:12 PM

Instead of JoinWorkstation, use the following:

[Identification]
JoinDomain = YOURNETBIOSDOMAINNAMEHERE
DoOldStyleDomainJoin = YES

#3 User is offline   RogueSpear 

  • OS: SimplyMEPIS
  • Group: Supreme Sponsor
  • Posts: 1,529
  • Joined: 18-September 04

Posted 08 December 2005 - 07:34 PM

Take a peek at the sample .SIF file that I included in my RIS guide. Should steer you in the right direction.

#4 User is offline   jfmartel 

  • Member
  • PipPip
  • Group: Members
  • Posts: 195
  • Joined: 01-December 04

Posted 06 January 2006 - 07:35 AM

Anyone here using RIS on a 2003 SP1 server?

It seems like this isn't working anymore with new undocumented security feature introduced with SP1.

Quote

[Identification]JoinDomain = YOURNETBIOSDOMAINNAMEHERE
DoOldStyleDomainJoin = YES


I've searched a lot on google and I can't get it working.

#5 User is offline   cluberti 

  • Gustatus similis pullus
  • Group: Supervisor
  • Posts: 11,001
  • Joined: 09-September 01
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 06 January 2006 - 08:41 AM

Works just fine here, with many Server 2003 SP1 (and now some Server 2003 R2) RIS servers - I'd say the problem lies not within RIS, but somewhere else in your AD. Does the user account you are using have the rights to add machines to the domain?

#6 User is offline   jfmartel 

  • Member
  • PipPip
  • Group: Members
  • Posts: 195
  • Joined: 01-December 04

Posted 06 January 2006 - 08:59 AM

View Postcluberti, on Jan 6 2006, 09:41 AM, said:

Works just fine here, with many Server 2003 SP1 (and now some Server 2003 R2) RIS servers - I'd say the problem lies not within RIS, but somewhere else in your AD. Does the user account you are using have the rights to add machines to the domain?


Yes, for testing purpose, I'm using the domain "Administrator" account. Can't be more powerful than that...

Here is my SIF file:

;SetupMgrTag
[Data]
	AutoPartition=0
	MsDosInitiated="1"
	UnattendedInstall="Yes"
	floppyless="1"
	OriSrc="\\%SERVERNAME%\RemInst\%INSTALLPATH%"
	OriTyp="4"
	LocalSourceOnCD=1
	AutomaticUpdates=yes

[SetupData]
	OsLoadOptions="/noguiboot /fastdetect"
	SetupSourceDevice="\Device\LanmanRedirector\%SERVERNAME%\RemInst\%INSTALLPATH%"

[Unattended]
	UnattendMode=FullUnattended
	OemSkipEula=Yes
	OemPreinstall=Yes
	OemPNPDriversPath=*
	DriverSigningPolicy=Ignore
	TargetPath=\WINDOWS
	FileSystem=LeaveAlone
	NtUpgrade=No
	OverwriteOemFilesOnUpgrade=No
	UnattendSwitch=Yes
	Hibernation=No
	DUDisable=Yes
	Repartition=Yes

[GuiUnattended]
	AdminPassword=SomeEncryptedPassword
	EncryptedAdminPassword=Yes
	OEMSkipRegional=1
	TimeZone=%TIMEZONE%
	OemSkipWelcome=1
	ProfilesDir="%SYSTEMDRIVE%\Usagers"

[UserData]
	ProductID=AAAAA-11111-AAAAA-11111-AAAAA
	FullName="ADMIN"
	OrgName=%MACHINEDOMAIN%
	ComputerName=%MACHINENAME%

[TapiLocation]
	CountryCode=107
	Dialing=Tone
	AreaCode=418

[RegionalSettings]
	LanguageGroup=1
	SystemLocale=00000c0c
	UserLocale=00000c0c
	InputLocale=0c0c:00001009

[Identification]
	JoinDomain = %MACHINEDOMAIN%
	CreateComputerAccountInDomain = No
	DoOldStyleDomainJoin = Yes

[Networking]
	InstallDefaultComponents=Yes
	ProcessPageSections=Yes

[RemoteInstall]
	Repartition=Yes

[OSChooser]
	Description="Windows Professionel SP2 - Machine Type"
	Help="Will install Windows SP2 on Machine Type"
	LaunchFile="%INSTALLPATH%\%MACHINETYPE%\templates\startrom.com"
	ImageType=Flat

[Shell]
	DefaultThemesOff=Yes
	DefaultStartPanelOff=Yes

[Components]
	msnexplr=Off
	zonegames=Off

[Display]
	BitsPerPel = 32
	XResolution = 800
	YResolution = 600

[GuiRunOnce]
	"\\%SERVERNAME%\SHARE$\Script\wksn.cmd"
	"\\%SERVERNAME%\SHARE$\Script\cleanup.cmd"


For my domain, it's a brand new. Got a DNS andDHCP, that's all.

I know my DHCP is working and machine gets added to the Domain with the CIW.

Is there any log file I can search to get information about my possible problem. Event viewer has nothing logged about that.

Thanks!

This post has been edited by jfmartel: 06 January 2006 - 09:01 AM


#7 User is offline   cluberti 

  • Gustatus similis pullus
  • Group: Supervisor
  • Posts: 11,001
  • Joined: 09-September 01
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 06 January 2006 - 10:28 AM

"CreateComputerAccountInDomain = No"

Since we're using the "old" NT4-style domain join in a Winnt.sif file, this is technically what is causing your issue. It needs to add the machine to the domain AND write the SID to the computer account. If you remove this option, it should start working again.

Are the computer accounts prestaged in the AD console for RIS?

#8 User is offline   jfmartel 

  • Member
  • PipPip
  • Group: Members
  • Posts: 195
  • Joined: 01-December 04

Posted 06 January 2006 - 10:30 AM

View Postcluberti, on Jan 6 2006, 11:28 AM, said:

"CreateComputerAccountInDomain = No"

Since we're using the "old" NT4-style domain join in a Winnt.sif file, this is technically what is causing your issue. It needs to add the machine to the domain AND write the SID to the computer account. If you remove this option, it should start working again.

Are the computer accounts prestaged in the AD console for RIS?


Thanks for the answer. I'll try it right now.

For the pre-staged thing, I don't know how this work.

I've read about this, but I don't know where to get the GUID and I don't have MAC address of all the computer I got.

#9 User is offline   jfmartel 

  • Member
  • PipPip
  • Group: Members
  • Posts: 195
  • Joined: 01-December 04

Posted 06 January 2006 - 11:03 AM

Still doesn't work. Is there any log file somewhere I can check to see what's going inside the process of the RIS on my workstation?

I'm starting to think about a complete full reinstall of my test environment.

This is driving me nut.

Ill keep a backup of my Windows distribution and retry on a clean reinstall.

I'll keep you updated on the situation.

Thanks!

#10 User is offline   RogueSpear 

  • OS: SimplyMEPIS
  • Group: Supreme Sponsor
  • Posts: 1,529
  • Joined: 18-September 04

Posted 06 January 2006 - 03:31 PM

Try doing IPCONFIG /ALL from a command prompt to get the MAC address. Alternatively, you could go to the DHCP snapin and look at the leases to find it.

#11 User is offline   cluberti 

  • Gustatus similis pullus
  • Group: Supervisor
  • Posts: 11,001
  • Joined: 09-September 01
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 06 January 2006 - 03:50 PM

The Setup*.log files in the Windows directory should show what (if anything) was logged during the install.

#12 User is offline   jfmartel 

  • Member
  • PipPip
  • Group: Members
  • Posts: 195
  • Joined: 01-December 04

Posted 06 January 2006 - 04:16 PM

Thanks

Here is the error I got from setuperr.log

Netsetup:Join domain XXXXXXXX in full unattended mode failed. Setup will proceed to add the workstation to the default domain

#13 User is offline   -I- 

  • win2k Freak
  • PipPipPipPip
  • Group: Members
  • Posts: 639
  • Joined: 23-November 04

Posted 06 January 2006 - 04:36 PM

what exactly is your domainname.
if had this problem myself, 1 time and not (completely) understould what it was, that exactly caused my problem (but than again im not authorized to change any networkwide policys, or even have access to them.....

but i do know that in some cases Unatanded Add-domain options fail to resolve the DNS records for a domain, but instead of :::

[ for example]
  • using the full domain name:
    Like: users.mysite.company.lan (

  • using the old netbui ... name (dosname????)
    Like: shortname
seams to solve many isues...

hope this helps anyone...

This post has been edited by -I-: 06 January 2006 - 04:41 PM


#14 User is offline   cluberti 

  • Gustatus similis pullus
  • Group: Supervisor
  • Posts: 11,001
  • Joined: 09-September 01
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 07 January 2006 - 12:20 AM

What is the %domainname% variable pointing to? If it's an FQDN, the domain join will also fail. Perhaps hard-coding it (for testing purposes) may tell us more?

#15 User is offline   jfmartel 

  • Member
  • PipPip
  • Group: Members
  • Posts: 195
  • Joined: 01-December 04

Posted 08 January 2006 - 10:41 AM

First of all, I'd like to thank everyone for helping me out.

I switched in my sif sif the variable %machinedomain% for my short domain name and it worked.

So my problem has maybe somehting to do with my DNS

#16 User is offline   cluberti 

  • Gustatus similis pullus
  • Group: Supervisor
  • Posts: 11,001
  • Joined: 09-September 01
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 08 January 2006 - 11:18 PM

Your problem likely has EVERYTHING to do with DNS :). Glad to hear you've got a bandaid solution in place now, though.

#17 User is offline   jfmartel 

  • Member
  • PipPip
  • Group: Members
  • Posts: 195
  • Joined: 01-December 04

Posted 09 January 2006 - 07:19 AM

View Postcluberti, on Jan 9 2006, 12:18 AM, said:

Your problem likely has EVERYTHING to do with DNS :). Glad to hear you've got a bandaid solution in place now, though.


Yeah, but since this is in a testing environment, I'll not work on this issue because my real DNS is working and fully functional.

Thanks again!

#18 User is offline   jfmartel 

  • Member
  • PipPip
  • Group: Members
  • Posts: 195
  • Joined: 01-December 04

Posted 16 January 2006 - 12:10 PM

Got my problem...

This is what happen when you are only working with your stuff and doon't see what other are doing.

My DHCP wasnt configured with the option to give the DNS ip address. Added those two option in my DHCP are it's working flawlessly.

Thanks again!

#19 User is offline   cluberti 

  • Gustatus similis pullus
  • Group: Supervisor
  • Posts: 11,001
  • Joined: 09-September 01
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 16 January 2006 - 03:28 PM

Cool.

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy