Jump to content

Joining Domain


Recommended Posts

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

Link to comment
Share on other sites


  • 4 weeks later...

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.

[identification]JoinDomain = YOURNETBIOSDOMAINNAMEHERE

DoOldStyleDomainJoin = YES

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

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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!

Edited by jfmartel
Link to comment
Share on other sites

"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?

Link to comment
Share on other sites

"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.

Link to comment
Share on other sites

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!

Link to comment
Share on other sites

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...

Edited by -I-
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...