Joining Domain
#1
Posted 08 December 2005 - 02:53 AM
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
Posted 08 December 2005 - 03:12 PM
[Identification]
JoinDomain = YOURNETBIOSDOMAINNAMEHERE
DoOldStyleDomainJoin = YES
#3
Posted 08 December 2005 - 07:34 PM
#4
Posted 06 January 2006 - 07:35 AM
It seems like this isn't working anymore with new undocumented security feature introduced with SP1.
Quote
DoOldStyleDomainJoin = YES
I've searched a lot on google and I can't get it working.
#5
Posted 06 January 2006 - 08:41 AM
#6
Posted 06 January 2006 - 08:59 AM
cluberti, on Jan 6 2006, 09:41 AM, said:
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
Posted 06 January 2006 - 10:28 AM
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
Posted 06 January 2006 - 10:30 AM
cluberti, on Jan 6 2006, 11:28 AM, said:
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
Posted 06 January 2006 - 11:03 AM
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
Posted 06 January 2006 - 03:31 PM
#11
Posted 06 January 2006 - 03:50 PM
#12
Posted 06 January 2006 - 04:16 PM
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
Posted 06 January 2006 - 04:36 PM
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
hope this helps anyone...
This post has been edited by -I-: 06 January 2006 - 04:41 PM
#14
Posted 07 January 2006 - 12:20 AM
#15
Posted 08 January 2006 - 10:41 AM
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
Posted 08 January 2006 - 11:18 PM
#17
Posted 09 January 2006 - 07:19 AM
cluberti, on Jan 9 2006, 12:18 AM, said:
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
Posted 16 January 2006 - 12:10 PM
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!
- ← Unattended Change Computer Name
- Unattended RIS Installation
- Releasing: SysAngel DVD Generator (free) →



Help
Back to top











