DaveXP Posted October 6, 2003 Share Posted October 6, 2003 Microsoft Windows 2000 UnattendedQuick Guide for people who wish to make a Unattended Windows 2000 CD Setup!Lets start with copying your windows 2000 pro cd to a folder on C:\ called Win2k and then remove the folders called VALUEADD, SUPPORT, SETUPTXT, DISCOVER & BOOTDISK and then you can remove these folder for the i386 folder LANG, COMPDATA, WIN9XMIG, WIN9XUPG and WINNTUPG. This should leave you with about 189MB of Windows Files.Now we need to get some files to help setup the Windows 2000 Unattended CD.Download Here <----This File contains the setupmgr.exe to make your Unattended Answer File,deptool.chm the help guide for the Windows 2000 Unattended CD and an Example WINNT.SIF file tohelp you with your CD. Also the file called unattend.doc contains information on different valuesfor the WINNT.SIF, and they is a Win2k_Pro ISO Image it the download to make your CD bootable.The Winnt.sifHere is an example Winnt.sif for you to look that and see how to make your own.;SetupMgrTag[Data] AutoPartition=0 MsDosInitiated="0" UnattendedInstall="Yes"[Unattended] UnattendMode=FullUnattended OemSkipEula=Yes OemPreinstall=Yes TargetPath=\WINNT DriverSigningPolicy=Igorne OemPnPDriversPath=drivers\001;drivers\002;drivers\003[GuiUnattended] AdminPassword=* AutoLogon=Yes AutoLogonCount=1 OEMSkipRegional=1 TimeZone=85 OemSkipWelcome=1[UserData] FullName="Your Name" OrgName=Org Name ComputerName=Your Computer Name ProductID=*****-*****-*****-*****-*****[Display] BitsPerPel=32 Xresolution=800 YResolution=600[TapiLocation] CountryCode=44 Dialing=Tone AreaCode=0116[RegionalSettings] LanguageGroup=1 SystemLocale=00000809 UserLocale=00000809 InputLocale=0809:00000809[Identification] JoinWorkgroup=Your Workgroup[Networking] InstallDefaultComponents=YesThis winnt.sif has been made so that you can install your other applications using the WindowsUpdate Method.In your win2k directory where you placed your win2k setup files make your $OEM$\$1\Install folderfor your applications like in the Windows XP Unattended Setup. And also to include your drivesmake the folder $OEM$\$1\drivers like in the Windows XP Unattended Setup.Now Slipstreaming the SP4 service pack to your Win2k Unattended CD this can be found HEREall that remains is the hotfixes but i do not know of a method to do that yet will update wheni have tested some methods.Its seems that cmdlines.txt is supported in Windows 2000 so you dont need i bacth file under [GuiRunOnce].Now to install your applications make a cmdlines.txt in the $OEM$ directory and add this to it[COMMANDS]".\install.CMD"::NOTE:: to add a user account add this extra line to the cmdlines.txt.".\user.cmd"To use the Windows Update Method that Fisrt boot we must now make a file called install.cmdin the $OEM$ folder in that file add this:CLS@echo offECHO.ECHO Adding Windows Update MethodREGEDIT /S %systemdrive%\install\Setup.regECHO.::NOTE:: to make a user account make another file called user.cmd in the $OEM$ directoryfolder and add this to it:CLS@echo offECHO.ECHO Adding User Your Name...net user Your Name /addnet localgroup "administrators" Your Name /addECHO.Where is says your name put your name for the user account.Next to make your applications install we need a file called setup.regto create a setup.reg open notepad and put this that the top and then save it in the$OEM$\$1\Install folder.Windows Registry Editor Version 5.00[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx]Title = "Unattended CD Setup"Here is an example of how to install applications just add this as the next line to installyour application but you will need to edit the path to the program and the Program name to fit your needs[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\zz110]"1"="C:\\Install\\DirectX9b\\dxsetup.exe /opk"@="DirectX 9b"[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\zz120]"1"="C:\\Install\\NetFramework\\netfx.msi /QN"@="Dot NET Framework v1.1"[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\zz130]"1"="C:\\Install\\Sygate\\setup.exe -r"@="Sygate Personal Firewall"[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\zz140]"1"="C:\\Install\\NAV\\NAVCE.MSI /QB"@="NAV Corp v7.6" Link to comment Share on other sites More sharing options...
warhawk Posted December 17, 2003 Share Posted December 17, 2003 Dave XP,The download link for the "setupmgr.exe" isn't working. Could you add a new link or fix the old one?Thanks Link to comment Share on other sites More sharing options...
homiebrah Posted December 17, 2003 Share Posted December 17, 2003 CODEWindows Registry Editor Version 5.00[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx]Title = "Unattended CD Setup"Here is an example of how to install applications just add this as the next line to installyour application but you will need to edit the path to the program and the Program name to fit your needsCODE[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\zz110]"1"="C:\\Install\\DirectX9b\\dxsetup.exe /opk"@="DirectX 9b"[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\zz120]"1"="C:\\Install\\NetFramework\\netfx.msi /QN"@="Dot NET Framework v1.1"[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\zz130]"1"="C:\\Install\\Sygate\\setup.exe -r"@="Sygate Personal Firewall"[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\zz140]"1"="C:\\Install\\NAV\\NAVCE.MSI /QB"@="NAV Corp v7.6"I was not successful in using the method above to install apps during an unattended install of Win2K. All that happens is the Windows Update box opens, and each item is quickly highlighted. No apps are installed after the reboot. Link to comment Share on other sites More sharing options...
DarkBringer Posted December 18, 2003 Share Posted December 18, 2003 Also, where can one get an updated DEPLOY.CAB for Windows 2000? Link to comment Share on other sites More sharing options...
disgraceful33 Posted December 18, 2003 Share Posted December 18, 2003 alright this is a goofy question but still related, but a few years ago i redid my win2k cd and added the cd key to the install so i wouldn't have to keep putting it in. and for the life of me i can't find the directions on how to find it, so i can make a winnt.sif file now to remake the cd again unattended.without me digging through a dozen boxes i still havent opened since i moved to find the original cd and case with the key, is there any other file on the cd the key might be stored in so i can do this? Link to comment Share on other sites More sharing options...
utln Posted December 18, 2003 Share Posted December 18, 2003 alright this is a goofy question but still related, but a few years ago i redid my win2k cd and added the cd key to the install so i wouldn't have to keep putting it in. and for the life of me i can't find the directions on how to find it, so i can make a winnt.sif file now to remake the cd again unattended.without me digging through a dozen boxes i still havent opened since i moved to find the original cd and case with the key, is there any other file on the cd the key might be stored in so i can do this?Download KeyFinder. Link to comment Share on other sites More sharing options...
homiebrah Posted December 18, 2003 Share Posted December 18, 2003 Also, where can one get an updated DEPLOY.CAB for Windows 2000?Deploy tools for SP4 can be found here. Link to comment Share on other sites More sharing options...
DaveXP Posted December 18, 2003 Author Share Posted December 18, 2003 umm sorry ppl i have not had much time to check the post, i will try and make a web page like the XP one which Aaron has done for you later on when i get a hoilday from college and work. Link to comment Share on other sites More sharing options...
bowulf Posted December 20, 2003 Share Posted December 20, 2003 Here is my current post SP4 hotifx script (current through December):CLS@echo offREM start /wait %systemdrive%\install\Hotfixes\msjavwu.Exe /Q:A /R:N ECHO.ECHO Installing MS03-023start /wait %systemdrive%\install\Hotfixes\Q823559.EXE_W2K_x86_ENU.exe -u -z -qECHO.ECHO Installing MS03-033start /wait %systemdrive%\install\Hotfixes\Q823718_MDAC_x86_ENU.exe /Q:A /R:N /C:"dahotfix.exe /Q /N" ECHO.ECHO Installing MS03-034start /wait %systemdrive%\install\Hotfixes\Windows2000-KB824105-x86-ENU.exe -u -z -qECHO.ECHO Installing MS03-039start /wait %systemdrive%\install\Hotfixes\Windows2000-KB824146-x86-ENU.exe -u -z -qECHO.ECHO Installing MS03-040start /wait %systemdrive%\install\Hotfixes\WindowsMedia-KB828026-x86-ENU.exe /passive /norestart /quietECHO.ECHO Installing MS03-041start /wait %systemdrive%\install\Hotfixes\Windows2000-KB823182-x86-ENU.exe -u -z -qECHO.ECHO Installing MS03-042start /wait %systemdrive%\install\Hotfixes\Windows2000-KB826232b-x86-ENU.exe -u -z -qECHO.ECHO Installing MS03-043start /wait %systemdrive%\install\Hotfixes\Windows2000-KB828035b-x86-ENU.exe -u -z -qECHO.ECHO Installing MS03-044start /wait %systemdrive%\install\Hotfixes\Windows2000-KB825119-x86-ENU.exe -u -z -qECHO.ECHO Installing MS03-045start /wait %systemdrive%\install\Hotfixes\Windows2000-KB824141b-x86-ENU.exe -u -z -qECHO.ECHO Installing MS03-048start /wait %systemdrive%\install\Hotfixes\IE501SP4_q824145.exe /Q:A /R:N ECHO.ECHO Installing MS03-049start /wait %systemdrive%\install\Hotfixes\Windows2000-KB828749-x86-ENU.exe /passive /norestart /quietECHO.ECHO Running Qchainstart /wait %systemdrive%\install\Hotfixes\qchain.exeEXIT Link to comment Share on other sites More sharing options...
gareththegod Posted December 20, 2003 Share Posted December 20, 2003 talking of dead oses win 2k server is being removed. Link to comment Share on other sites More sharing options...
OldMan Posted February 9, 2004 Share Posted February 9, 2004 homie, I was having the same problem as you so I did some research and found out the the RunOnceExe does not support value type REG_EXPAND_SZ, hence we cannot use environment variables during the installation. To get around this (you have to excuse me if I commit a FUBAR here as the reference I´m quoting is from a French site and my French is not that sharp) you would use a parse.bat script and a file called sed.exe. Sed.exe converts a plain text file into a reg file with full use of environment variables. Here is what mine looks like:parse.bat@echo offecho INSTALLATION PARAMETERSecho .echo INSTALLATION...echo .echo PLEASE BE PATIENTtype %systemdrive%\winapps\reg\runonce.txt|%windir%\system32\sed.exe 's/\%%systemdrive\%%/%systemdrive%/g'>%systemdrive%\winapps\reg\runonce.regNote: between sed.exe and 's/\%%..... there is only one space and not a ENTER. I had to split it this way for a better graphic representation.Having done this I now create a runonce.txt file and dump it to \winapps\reg folderMy runonce.txt file looks like this:runonce.txtWindows Registry Editor Version 5.00[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx]TITLE = "Unattended Application Setup"[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\zz100]"1"="%systemdrive%\\WINAPPS\\Chipset\\Setup.exe -s -f1%systemdrive%\\winapps\\Chipset\\setup.iss"@="Intel 875 Chipset Driver"[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\zz110]"1"="%systemdrive%\\WINAPPS\\NVIDIA\\Setup.exe -s -f1%systemdrive%\\winapps\\setup.iss"@="NVIDIA Graphics Driver"[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\zz140]"1"="%systemdrive%\\WINAPPS\\OfficeXP\\PROPLUS.MSI /QB"@="Office XP Professional with FrontPage"[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\zz150][HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\zz160]"1"="%systemdrive%\\WINAPPS\\CloneCD\\clonecd.vbs"@="Elby CloneCD 4202"[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\zz190]"1"="%systemdrive%\\WINAPPS\\JASC\\JPSP8.msi /qn"@="JASC Photoshop 8 Pro"[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\zz215]"1"="%systemdrive%\\WINAPPS\\CDRWin\\cdr39.exe /s"@="CDRWin 3.9"[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\zz220]"1"="%systemdrive%\\WINAPPS\\ISOBuster\\IsoBuster15.exe /VERYSILENT /SP-"@="ISOBuster 1.5""2"="pskill.exe isobuster.exe"[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\zz255]"1"="%systemdrive%\\WINAPPS\\INNO\\ISetup4011.exe /VERYSILENT /SP-"@="INNO Setup 4.0.0.1"I then create a runonce.bat file and place it in $OEM$ as I will execute it from cmdlines.txt file. It looks like this:runonce.bat@echo offecho System Parametersecho .echo Installation...echo .echo Please be patient%windir%\regedit.exe /s %systemdrive%\winapps\reg\runonce.regMy cmdlines.txt looks like this:cmdlines.txt[COMMANDS]".\ie6.bat"".\register.bat".\usracnts.bat"".\parse.bat"".\runonce.bat"Only glitch is I have to manually reboot the machine after all apps are installed. Have found a reboot.exe file but it does not work with W2K. Open to suggestions...The Old Dude SED.EXE Link to comment Share on other sites More sharing options...
OldMan Posted February 9, 2004 Share Posted February 9, 2004 homie, If you are feeling Frenchie, here is the web site:http://perso.crans.org/~martin/Doc/Divers/TMS/select the .pdf file which has the full instructions, in French of course.The Old Dude Link to comment Share on other sites More sharing options...
Blackboost Posted February 15, 2004 Share Posted February 15, 2004 Can I use the [GuiRunOnce] method used in the XP Unattended to install the applications? Link to comment Share on other sites More sharing options...
evilvoice Posted March 1, 2004 Share Posted March 1, 2004 in reply to OldMan - I added an extract reg.exe from windows xp to windows 2000 along with shutdown.exe and it works fine - imports the keys fine and everything. Link to comment Share on other sites More sharing options...
Scruge Posted September 7, 2004 Share Posted September 7, 2004 Microsoft Windows 2000 UnattendedDaveXP great walkthru.I came across a procedure from ms found in the deploy.cab "unattend.doc" on my Win2kpro disk that I thought would be easy to try. Basically it made light of using your standard win2k setup disk to boot from and then using a floppy to provide the winnt.sif file. However I've not had much luck with this method. I keep getting the error "Line 1 invalid in INF file" .Do you know what could be causing this problem? according to the instructions the file is basically an unattended.txt file thats been renamed to winnt.sif. The structure is the same as any other answer file MS uses in their other examples. I actually tried using the sample files they provided and the wizard as well only to get the same error.The way I understand it. The pc boots off the win2k cd but in the first few seconds the windows installer checks the a: drive for the winnt.sif file, if present, its loaded. Mine loads but always yeilds the error.FYI My Win2k disk has been slip streamed with sp4. Is there any chance this has had any effect on the installer?Appreciate any help you can provide.scrugeWINNT.SIF follows:[Data]AutoPartition =0MsDosInitiated = 0UnattendedInstall = Yes[unattended]FileSystem = LeaveAloneTargetPath = WINNTDriverSigningPolicy = ignoreOemPnPDriversPath = drivers\AGP\nvidia;drivers\AGP\sis;drivers\AGP\VIA;drivers\Audio\CMI973xOemSkipEula = yes[GuiUnattended]timezone = 020[userData]computerName = 00000FullName = scrOrgName = [Display]BitsPerPel = 16Vrefresh = 60XResolution = 1024YResolution = 768[TapiLocation]AreaCode = 281[Networking][identification]DomainAdmin = ADMINJoinWorkgroup = WORKGROUP 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