查看單個文章
舊 2003-07-15, 01:24 AM   #1
psac
榮譽會員
 
psac 的頭像
榮譽勳章
UID - 3662
在線等級: 級別:30 | 在線時長:1048小時 | 升級還需:37小時級別:30 | 在線時長:1048小時 | 升級還需:37小時級別:30 | 在線時長:1048小時 | 升級還需:37小時級別:30 | 在線時長:1048小時 | 升級還需:37小時級別:30 | 在線時長:1048小時 | 升級還需:37小時
註冊日期: 2002-12-07
住址: 木柵市立動物園
文章: 17381
現金: 5253 金幣
資產: 33853 金幣
預設 全自動windows 2003 的安裝

Fully automatic windows server 2003 installation

Here are the steps to make a "fully" automatic MICROSOFT WINDOWS SERVER 2003, ENTERPRISE EDITION installation without user intervention.
You can do two things.


1. Copy and paste next text into any text editor (notepad) and save the file called "winnt.sif" and put this file into the Windows Server 2003 in the "i386" directory in your ISO editor (Winiso). Make a new bootable CDROM and you have a fully userless installation.

------- copy and paste begin ------ <-- dont copy and paste this line ;-)
;SetupMgrTag
[Data]
AutoPartition=0
MsDosInitiated="0"
UnattendedInstall="Yes"

[Unattended]
UnattendMode=FullUnattended
OemSkipEula=Yes
OemPreinstall=No
TargetPath=\WINDOWS

[GuiUnattended]
AdminPassword=*
EncryptedAdminPassword=NO
AutoLogon=Yes
AutoLogonCount=1
OEMSkipRegional=1
TimeZone=20
OemSkipWelcome=1

[UserData]
ProductKey=xxxxx-xxxxx-xxxxx-xxxxx-xxxxx
FullName="MICROSOFT WINDOWS SERVER 2003, ENTERPRISE EDITION"
OrgName=""
ComputerName=MICROSOFTWINDOWSSERVER2003ENTERPRISEEDITION

[Display]
Xresolution=1024
YResolution=768

[LicenseFilePrintData]
AutoMode=PerServer
AutoUsers=5

[TapiLocation]
CountryCode=1
AreaCode=03

[RegionalSettings]
LanguageGroup=13,17,3,2,5,16,4,12,15,7,8,10,11,9,6,14,1
SystemLocale=00000409
UserLocale=00000409
InputLocale=0409:00000409

[Branding]
BrandIEUsingUnattended=Yes

[url]
Home_Page=http://www.msn.com/
Help_Page=http://www.msn.com/
Search_Page=http://www.msn.com/

[Proxy]
Proxy_Enable=0
Use_Same_Proxy=1

[Identification]
JoinWorkgroup=WORKGROUP

[Networking]
InstallDefaultComponents=Yes

[FavoritesEx]
Title1="Neowin.url"
URL1="http://www.neowin.net"
Title2="WiNBETA.url"
URL2="http://www.winbeta.org/"
Title3="Microsoft.url"
URL3="http://www.microsoft.com/"
Title13="Google.url"
URL13="http://www.google.com"
------ copy and paste end -----------
in the section
[UserData]
ProductID=XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
you have to fill in your own win2k3 code!

2. To make this file with your own settings etc, please go to the directory on your CD rom \Support\Tools
Her you find a file named "deploy.cab" extract this one and use the programm "setupmgr.exe"
With this programm you can make the file mentioned in 1. above.
DON'T forget to name the output file "winnt.sif"and to place it on the CDROM in the "i386" directory. (And make a new bootable CDROM afterwards)

備註:
[TapiLocation]
CountryCode=1 ( this is for USA country Code)
AreaCode=03 ( this is for local call area code which I simply put 3) in Modem setting which this setting is for Fax Modem

[RegionalSettings]
LanguageGroup=13,17,3,2,5,16,4,12,15,7,8,10,11,9,6,14,1 ( all no english languege alphbet )
SystemLocale=00000409
UserLocale=00000409
InputLocale=0409:00000409 ( keyboard set for english language)

========================================

Here's a more complete one with the [Components] section, setup for English (Australia)


;SetupMgrTag
; ----------------------------------------------------------------------------------------
; Windows Server 2003 Unattended Installation Answer File
;
; ## Windows Server 2003, Server Configuration ##
;
; *** WARNING ** This will repartition the target drive!! ***
;
; ----------------------------------------------------------------------------------------
[Data]
AutoPartition = 1
DisableAdminAccountOnDomainJoin = 0
MsDosInitiated = 0
UnattendedInstall = Yes

[Unattended]
; ActivateProxy =
; AutoActivate = Yes
; ComputerType = "OEM HAL", OEM
CrashDumpSetting = 3
; DisableVirtualOemDevices = Yes
DUDisable = No
; DUShare = "%SYSTEMDRIVE%\DU_Cabs"
DriverSigningPolicy = Warn
ExtendOemPartition = 0
; FactoryMode = Yes
FileSystem = ConvertNTFS
; ForceHALDetection = Yes
Hibernation = No
KeyboardLayout = Us
; NtUpgrade = Yes
NoWaitAfterTextMode = 1
NoWaitAfterGUIMode = 1
; OemFilesPath = "%SYSTEMDRIVE%\OEM_Files"
; OemPnPDriversPath = MyFolder1; MyFolder2
OemPreinstall = No
OemSkipEula = Yes
OverwriteOemFilesOnUpgrade = Yes
Repartition = Yes
TargetPath = \WINDOWS
UnattendMode = DefaultHide
UnattendSwitch = Yes
WaitForReboot = No
Win9xUpgrade = No

[GuiUnattended]
AdminPassword = *
; Arguments = /n/s
AutoLogon = Yes
AutoLogonCount = 1
; DetachedProgram = "%SYSTEMDRIVE%\extras\install.exe"
; EMSBlankPassword = Yes
EncryptedAdminPassword = No
OEMSkipRegional = 1
OEMSkipWelcome = 1
; ProfilesDir = "%SYSTEMROOT%\Profiles"
ServerWelcome = Yes
TimeZone = 260

[UserData]
ComputerName =
FullName =
OrgName =
ProductKey =

[Display]
BitsPerPel=32
Vrefresh=75
Xresolution=800
YResolution=600

[TapiLocation]
AreaCode = 07
CountryCode = 61
Dialing = Tone
LongDistanceAccess = 0

[RegionalSettings]
InputLocale = 0c09:00000409
InputLocale_DefaultUser = 0c09:00000409
Language = 00000c09
LanguageGroup = 1
SystemLocale = 00000c09
UserLocale = 00000c09
UserLocale_DefaultUser = 00000c09

[Identification]
; DomainAdmin = PatC
; DomainAdminPassword =
; JoinDomain = DOMAIN
JoinWorkgroup = WORKGROUP
; MachineObjectOU = "OU = myou,OU = myparentou,DC = mydom,DC = mycompany,DC = com"


[Components]
AccessOpt = Off
Appsrv_console = Off
Aspnet = Off
AutoUpdate = On
BitsServerExtensionsISAPI = Off
BitsServerExtensionsManager = Off
Calc = On
Certsrv = Off
Certsrv_client = Off
Certsrv_server = Off
Charmap = On
Chat = On
Clipbook = On
Cluster = Off
Complusnetwork = Off
Deskpaper = Off
Dialer = On
Dtcnetwork = Off
Fax = Off
Fp_extensions = Off
Fp_vdir_deploy = Off
Freecell = On
Hearts = On
Hypertrm = On
IEAccess = On
Iis_asp = Off
Iis_common = Off
Iis_ftp = Off
Iis_inetmgr = Off
Iis_internetdataconnector = Off
Iis_nntp = Off
Iis_serversideincludes = Off
Iis_smtp = Off
Iis_webadmin = Off
Iis_webdav = Off
Iis_www = Off
Iis_www_vdir_scripts = Off
Indexsrv_system = Off
Inetprint = Off
Licenseserver = Off
Media_clips = Off
Media_utopia = Off
Minesweeper = On
Mousepoint = Off
Msmq_ADIntegrated = Off
Msmq_Core = Off
Msmq_HTTPSupport = Off
Msmq_LocalStorage = Off
Msmq_MQDSService = Off
Msmq_RoutingSupport = Off
Msmq_TriggersService = Off
Msnexplr = Off
Mswordpad = On
Netcis = Off
Netoc = On
Objectpkg = On
OEAccess = On
Paint = On
Pinball = Off
Pop3Admin = Off
Pop3Service = Off
Pop3Srv = Off
Rec = Off
Reminst = Off
Rootautoupdate = On
Rstorage = Off
Solitaire = On
Spider = On
Templates = On
TerminalServer = Off
TSWebClient = Off
Vol = On
WBEMSNMP = Off
WMAccess = On
WMPOCM = On
Wms = Off
Wms_admin_asp = Off
Wms_admin_mmc = Off
Wms_isapi = Off
Wms_server = Off
Zonegames = Off

IEHardenUser = On
IEHardenAdmin = On

[TerminalServices]
AllowConnections = 1
LicensingMode = PerDevice
PermissionsSetting = 0

[SystemRestore]
CheckpointCalendarFrequency=2
CheckpointSessionFrequency=10
MaximumDataStorePercentOfDisk=2
RestorePointLife=5

[LicenseFilePrintData]
AutoMode=PerSeat

[NetOptionalComponents]
Beacon = 0
DHCPServer = 0
DNS = 0
IAS = 0
ILS = 0
LPDSVC = 0
MacPrint = 0
MacSrv = 0
Netcm = 0
NetMonTools = 1
SimpTcp = 0
SNMP = 0
WINS = 0




Q:
The setup manager insists on naming the output file "unattend.txt". Do I rename this to winnt.sif?

A:
you can save unattend.txt , once saved reopen and save as type "all file: and file name "winnt.sif" the put "winnt.sif" only in i386 folder ( I did it in lower case & did not tried upper case) but i guess should be no problem.

one thing here that in
[Data]
AutoPartition = 1 set for 0 in this way
[Data]
AutoPartition = 0
because it will not format or overwrite drive "C"
it will create new partition or if you have any partition it will goes in differnt drive.

if you set [Data]
AutoPartition = 0
it will ask you want to reformat, or over write and create or other options.
psac 目前離線  
送花文章: 3, 收花文章: 1631 篇, 收花: 3205 次