Trilight Zone Forum Index Trilight Zone
Privacy & Anonymity is our specialty !
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Custom Silent Server 2003 Installation Part II

 
Post new topic   Reply to topic    Trilight Zone Forum Index -> windows
Author Message
digital8
Second Lieutenant


Joined: 29 Sep 2005
Posts: 1002

PostPosted: Fri Oct 07, 2005 11:24 am    Post subject: Custom Silent Server 2003 Installation Part II Reply with quote

By: Jeff Gilbert
Posted On: 3/7/2005

In my first article in this series (Custom Silent Server 2003 Installation Part I) I explained how to create the directory structure for a silent installation of Windows Server 2003. I showed you what the CD actually does, the file and folder structure for the CD, and what exactly those custom folders and oddly named files do. In this article I’ll show you examples for all the important files. The next, and last, article in this series, will show you how to make this CD bootable.

Custom, silent Server 2003 CD File Examples

AUTORUN.INF
[autorun]
open=Setup.exe
icon=Setup.exe
label=Windows Server 2003
shell\View Documentation\command=.\SUPPORT\SETUP\Instructions\pptview.exe /L ".\SUPPORT\SETUP\Instructions\playlist.txt"
(above line word wrapped)
shell\View Documentation=View Windows Server 2003 Documentation
******************************EOF*************************************

AUTORUN.INF (From the Support/Setup folder)
[autorun]
open=pptview.exe /L "playlist.txt"
******************************EOF*************************************

AVUPDATE.BAT
@ECHO OFF
Title=Antivirus Signatures Update
color 17
ECHO Please wait, updating AV Signatures to 20050223. This may take several minutes.
c:\windows\temp\20050223-007-x86.exe /Q
cls
ECHO Finished!
ECHO Antivirus definitions have been updated to 20050223!
pause
color
@ECHO ON
exit
******************************EOF*************************************

CMDLINES.TXT
[Commands]
".\update.bat"
******************************EOF*************************************

DEL.BAT
@ECHO OFF
DEL /S /F /Q *.*
@ECHO ON
EXIT
******************************EOF*************************************

INSTRUCTIONS.PPS
PowerPoint presentation (saved as .pps)

OEMINFO.INI
[General]
Manufacturer = Your Organization
Model = Organization address
[Support Information]
Line1 = For technical support call
Line2 = the Help Desk at:
Line3 = (999)999-9999
Line4 = from 8 A.M. to 6 P.M. EST
******************************EOF*************************************

OEMLOGO.BMP
150x110 pixel bitmap file

PLAY.TXT
@pptview.exe /L "playlist.txt"
******************************EOF*************************************

PLAYLIST.TXT
.\SUPPORT\SETUP\Instructions\Instructions.pps
******************************EOF*************************************

REGIMPORTS.REG(That huge block of hex is just for the quick launch bar if you can believe it!)
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce]
"AdminPW"="C:\\Windows\\Temp\\SETADMPW.BAT"
"AVUpdate"="C:\\WINDOWS\\Temp\\AVUPDATE.BAT"
"scr"="REGEDIT /S C:\\WINDOWS\\Temp\\scr.reg /S"
"del"="C:\\WINDOWS\\Temp\\DEL.BAT"

[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main]
"Start Page"="http://www.myitforum.com"

[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Streams\Desktop]
"TaskbarWinXP"=hex:0c,00,00,00,08,00,00,00,02,00,00,00,00,00,00,00,b0,e2,2b,\
d8,64,57,d0,11,a9,6e,00,c0,4f,d7,05,a2,22,00,1c,00,0a,01,00,00,1a,00,00,00,\
01,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,4c,00,00,00,01,14,02,00,00,\
00,00,00,c0,00,00,00,00,00,00,46,83,00,00,00,10,00,00,00,a0,b0,48,5e,89,8d,\
bd,01,00,d8,9e,e4,2a,8d,bd,01,00,45,fe,5e,89,8d,bd,01,00,00,00,00,00,00,00,\
00,01,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,13,01,14,00,1f,0f,e0,4f,\
d0,20,ea,3a,69,10,a2,d8,08,00,2b,30,30,9d,19,00,23,44,3a,5c,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,cd,97,15,00,31,00,00,00,00,00,af,24,5c,\
b9,10,80,57,69,6e,6e,74,00,00,20,00,31,00,00,00,00,00,af,24,a3,b9,10,00,50,\
72,6f,66,69,6c,65,73,00,50,52,4f,46,49,4c,45,53,00,19,00,31,00,00,00,00,00,\
c1,24,08,92,10,00,69,65,35,30,30,2e,30,30,30,00,00,28,00,31,00,00,00,00,00,\
c1,24,08,92,10,00,41,70,70,6c,69,63,61,74,69,6f,6e,20,44,61,74,61,00,41,50,\
50,4c,49,43,7e,31,00,21,00,31,00,00,00,00,00,c5,22,9d,91,10,00,4d,69,63,72,\
6f,73,6f,66,74,00,4d,49,43,52,4f,53,7e,31,00,29,00,31,00,00,00,00,00,d3,22,\
32,a6,10,00,49,6e,74,65,72,6e,65,74,20,45,78,70,6c,6f,72,65,72,00,49,4e,54,\
45,52,4e,7e,31,00,24,00,31,00,00,00,00,00,db,22,76,ba,10,00,51,75,69,63,6b,\
20,4c,61,75,6e,63,68,00,51,55,49,43,4b,4c,7e,31,00,00,00,8d,00,00,00,1c,00,\
00,00,01,00,00,00,1c,00,00,00,36,00,00,00,0d,f0,ad,ba,8c,00,00,00,1a,00,00,\
00,03,00,00,00,e7,18,2d,23,10,00,00,00,49,45,35,30,30,5f,58,31,43,00,43,3a,\
5c,57,49,4e,4e,54,5c,50,72,6f,66,69,6c,65,73,5c,49,45,35,30,30,2e,30,30,30,\
5c,41,70,70,6c,69,63,61,74,69,6f,6e,20,44,61,74,61,5c,4d,69,63,72,6f,73,6f,\
66,74,5c,49,6e,74,65,72,6e,65,74,20,45,78,70,6c,6f,72,65,72,5c,51,75,69,63,\
6b,20,4c,61,75,6e,63,68,00,00,10,00,00,00,05,00,00,a0,1a,00,00,00,a3,00,00,\
00,00,00,00,00,08,00,00,00,02,00,00,00,cc,00,00,00,01,00,00,00,03,00,00,00,\
4a,00,00,00,01,00,00,00,40,00,32,00,e6,01,00,00,c4,24,15,9f,20,00,4c,61,75,\
6e,63,68,20,49,6e,74,65,72,6e,65,74,20,45,78,70,6c,6f,72,65,72,20,42,72,6f,\
77,73,65,72,2e,6c,6e,6b,00,4c,41,55,4e,43,48,7e,32,2e,4c,4e,4b,00,00,00,40,\
00,00,00,02,00,00,00,36,00,32,00,48,02,00,00,c4,24,15,9f,20,00,4c,61,75,6e,\
63,68,20,4f,75,74,6c,6f,6f,6b,20,45,78,70,72,65,73,73,2e,6c,6e,6b,00,4c,41,\
55,4e,43,48,7e,31,2e,4c,4e,4b,00,00,00,36,00,00,00,00,00,00,00,2c,00,32,00,\
51,00,00,00,ec,22,46,39,20,00,53,68,6f,77,20,44,65,73,6b,74,6f,70,2e,73,63,\
66,00,53,48,4f,57,44,45,7e,31,2e,53,43,46,00,00,00,52,00,00,00,e0,00,00,00,\
00,00,00,00,16,00,00,00,00,00,00,00,00,00,00,00,16,00,00,00,00,00,00,00,01,\
00,00,00,01,00,00,00,aa,4f,28,68,48,6a,d0,11,8c,78,00,c0,4f,d9,18,b4,37,02,\
00,00,e0,00,00,00,00,00,00,00,16,00,00,00,00,00,00,00,00,00,00,00,16,00,00,\
00,00,00,00,00,01,00,00,00

[HKEY_LOCAL_MACHINE\Software\Microsoft\Internet Explorer\Desktop\General]
"BackupWallpaper"="c:\\windows\\web\\wallpaper\\Desktop.JPEG"
"Wallpaper"="c:\\windows\\web\\wallpaper\\Desktop.JPEG"

[HKEY_CURRENT_USER\Control Panel\Desktop]
"ConvertedWallpaper"="c:\\windows\\web\\wallpaper\\Desktop.JPEG"
"Wallpaper"="c:\\windows\\web\\wallpaper\\Desktop.JPEG"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup]
"SourcePath"="C:\\Windows\\"
"ServicePackSourcePath"="C:\\Windows\\"

[HKEY_CURRENT_USER\Control Panel\Screen Saver.Slideshow]
"ImageDirectory"="C:\\WINDOWS\\system32\\ss"
"PaintInterval"=dword:00000000
"ChangeInterval"=dword:00001770
"DisplayFilename"=dword:00000000
"MaxScreenPercent"=dword:00000064
"DisableTransitions"=dword:00000000
"AllowStretching"=dword:00000000
"AllowKeyboardControl"=dword:00000000
"MaxFailedFiles"=dword:000003e8
"MaxSuccessfulFiles"=dword:00010000
"MaxDirectories"=dword:000000c8
******************************EOF*************************************

SCR.BAT
@ECHO OFF
REGEDIT /S C:\Windows\Temp\scr.reg
@ECHO ON
EXIT
******************************EOF*************************************

SCR.REG
Windows Registry Editor Version 5.00

[HKEY_USERS\.DEFAULT\Control Panel\Desktop]
"SCRNSAVE.EXE"="C:\\WINDOWS\\System32\\ssmypics.scr"

[HKEY_CURRENT_USER\Control Panel\Desktop]
"SCRNSAVE.EXE"="C:\\WINDOWS\\System32\\ssmypics.scr"
******************************EOF*************************************

SETADMPW.BAT
@ECHO OFF
Title=Administrator Password Reset
ECHO Please define a unique local Administrator account password.
ECHO The password must be at least 10 characters long, and must contain characters
ECHO from three of these groups: uppercase letters, lowercase letters, numerals,
ECHO and punctuation symbols.
ECHO.
::Reset local Administrator password, repeating until successful.
FOR /L %%X IN (0,0,1) DO NET USER Administrator * && PAUSE && EXIT
@ECHO ON
EXIT
******************************EOF*************************************

UPDATE.BAT
@ECHO OFF
Title=Server 2003 System Update
color 17
::Merge Registry Edits
REGEDIT /S C:\update\regimports.reg
::Install Non-Slipstreamed Patches
ECHO Now patching Windows Server 2003
ECHO Date of last update: February 2005
ECHO Updated by Jeff Gilbert
ECHO.
ECHO Installing WindowsServer2003-KB828741
start /wait c:\update\WindowsServer2003-KB828741-x86-ENU.EXE /passive /norestart
::Repeat the above two lines for every Server patch you want to install
ECHO.
ECHO Finished patching!
ECHO.
ECHO.
::Create Local Source for i386 Directory
IF EXIST D:\WIN51IP.SP1 set CDROM=D:
IF EXIST E:\WIN51IP.SP1 set CDROM=E:
IF EXIST F:\WIN51IP.SP1 set CDROM=F:
IF EXIST G:\WIN51IP.SP1 set CDROM=G:
IF EXIST H:\WIN51IP.SP1 set CDROM=H:
md %systemroot%\Source\i386
CLS
ECHO Please wait, source files are being copied. This may take several minutes.
xcopy /Y /e %CDROM%\i386\*.* %systemroot%\i386\
del c:\windows\i386\winnt.sif
del c:\windows\i386\winnt.exe
del c:\windows\i386\winnt32.exe
del c:\windows\i386\winnt32.msi
del c:\windows\i386\setup.ex_
CLS
::Install Windows Server 2003 Resource Kit Tools
ECHO Please wait, installing Windows Server 2003 Resource Kit Tools
start /wait c:\update\rktools.msi /qb-
CLS
::Install Managed AntiVirus
cls
ECHO Please wait, installing managed AntiVirus. This may take several minutes.
start /wait msiexec /i "Symantec_AntiVirus.msi" SERVERNAME=[Antivirus Management Server Name] ENABLEAUTOPROTECT=1 RUNLIVEUPDATE=0 REBOOT=ReallySuppress /qb!-
::Cleanup
rd C:\update /S /Q
CLS
ECHO Finished!
color
@ECHO ON
Exit
******************************EOF*************************************

WINNT.SIF
;SetupMgrTag
[Data]
AutoPartition=1
MsDosInitiated="0"
UnattendedInstall="Yes"

[Display]
BitsPerPixel=24
Vrefresh=75
Xresolution=800
Yresolution=600

[Unattended]
UnattendMode=FullUnattended
UnattendSwitch=Yes
Repartition=Yes
FileSystem=ConvertNTFS
OemSkipEula=Yes
OemPreinstall=Yes
TargetPath=\WINDOWS
WaitForReboot=No
DriverSigningPolicy=Ignore

[GuiUnattended]
AdminPassword="Password00"
EncryptedAdminPassword=NO
AutoLogon=Yes
AutoLogonCount=1
OEMSkipRegional=1
TimeZone=35
OemSkipWelcome=1

[UserData]
ProductKey=[Valid CD Key (leave the –‘s in)]
FullName="User"
OrgName="[Organization Name]"
ComputerName=*

[LicenseFilePrintData]
AutoMode=PerSeat

[TapiLocation]
CountryCode=1
Dialing=Tone
AreaCode=999

[Identification]
JoinWorkgroup=SRV2003

[Networking]
InstallDefaultComponents=Yes
******************************EOF*************************************


Now you know how to create the basic folder structure and what the important customizaton files look like to create a bootable Windows Server 2003 CD.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Trilight Zone Forum Index -> windows All times are GMT
Page 1 of 1

 


Powered by phpBB © 2001, 2005 phpBB Group