sfonvill Posted July 19, 2005 Share Posted July 19, 2005 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 Link to comment Share on other sites More sharing options...
maniaq Posted July 19, 2005 Share Posted July 19, 2005 (edited) @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, 2005 by maniaq Link to comment Share on other sites More sharing options...
sfonvill Posted July 20, 2005 Author Share Posted July 20, 2005 (edited) 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, 2005 by sfonvill Link to comment Share on other sites More sharing options...
Martin Zugec Posted July 20, 2005 Share Posted July 20, 2005 Use unattend.txt directly... [Identification]DomainAdmin="domain_account"DomainAdminPassword="domain_password"JoinDomain = "domain_name" Link to comment Share on other sites More sharing options...
fly Posted July 20, 2005 Share Posted July 20, 2005 It's my understanding that network connectivity isn't "guarenteed" during GUIRunOnce. I think I read that at M$ anyway... Link to comment Share on other sites More sharing options...
sfonvill Posted July 25, 2005 Author Share Posted July 25, 2005 (edited) 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, 2005 by sfonvill Link to comment Share on other sites More sharing options...
tellus Posted August 28, 2005 Share Posted August 28, 2005 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 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now