July 19, 200521 yr I have created an unattended XP CD which has the following information:Winnt.sif; Generated by nLite 1.0 beta 5[Data]Autopartition = 0MsDosInitiated = 0UnattendedInstall = Yes[Unattended]UnattendMode = DefaultHideUnattendSwitch = YesOemPreinstall = YesOemSkipEula = YesFileSystem = *WaitForReboot = NoNoWaitAfterTextMode = 1NoWaitAfterGUIMode = 1TargetPath = WindowsDriverSigningPolicy = IgnoreNonDriverSigningPolicy = Ignore[Display]Xresolution = 1024Yresolution = 768BitsPerPel = 32Vrefresh = 75[GuiUnattended]EncryptedAdminPassword = NoAdminPassword = ""TimeZone = 110OEMSkipRegional = 1OemSkipWelcome = 1[Components][UserData]ProductKey = ""FullName = "Merconet"OrgName = "Merconet"[RegionalSettings]Language = 0409[Networking]InstallDefaultComponents = Yes[Identification]JoinWorkgroup = WorkgroupCMDLINES.TXT[COMMANDS]"Startup.cmd"STARTUP.CMD@Echo offSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Joining Merconet.be Domain" /fREG ADD %KEY%\005 /V 1 /D "cmd /c start /wait netdom.exe join %computername% /domain:merconet.be /UserD administrator /PasswordD *"It looks like it is executed, but the Computer isn't added to the domain, but when I manually execute 'startup.cmd' it is added to the domain as expected
July 19, 200521 yr @Echo offSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Joining Merconet.be Domain" /fREG ADD %KEY%\005 /V 1 /D "cmd /c start /wait netdom.exe join %computername% /domain:merconet.be /UserD administrator /PasswordD *"where is the /f at the end of the line.....i think it should be like this:@Echo offSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Joining Merconet.be Domain" /fREG ADD %KEY%\005 /V 1 /D "cmd /c start /wait netdom.exe join %computername% /domain:merconet.be /UserD administrator /PasswordD *" /fmaybe it will help...... Edited July 19, 200521 yr by maniaq
July 20, 200521 yr Author I added the /f at the end, but it didn't help anything.The computer still isn't added to the domain.Perhaps an alternative for adding a computer to the domain? Edited July 20, 200521 yr by sfonvill
July 20, 200521 yr Use unattend.txt directly... [Identification]DomainAdmin="domain_account"DomainAdminPassword="domain_password"JoinDomain = "domain_name"
July 20, 200521 yr It's my understanding that network connectivity isn't "guarenteed" during GUIRunOnce. I think I read that at M$ anyway...
July 25, 200521 yr Author I changed it to just the netdom part at RunOnceEx, but then nothing happens, just a cmd box with a blinking cursor which exits after a few seconds.Adding it in winnt.sif isn't an option, since we frequently change the password and this way it becomes more flexible Edited July 25, 200521 yr by sfonvill
August 28, 200521 yr Do you have netdom.exe on your system? it is not default in winXP SP2.Download Windows XP Service Pack 2 Support Tools end copy netdom.exe to system32 end tray it
Create an account or sign in to comment