Windows 7 Unattended installation

advertisement
Windows 7 Unattended installation
Windows 7 there are several ways to do the installation. With the unattended installation system
administrator or it people can create the answer file for windows installation. According to the
configured settings in the answer file Windows will install automatically to the pcs.
Steps
Prepare answer file
To prepare windows answer file we have to use windows automated insulation kit (AIK).
To download the aik
http://www.microsoft.com/download/en/details.aspx?id=5753
once you installed the aik on your windows 7 or windows 2008 server you can simple create new answer
file using file and selecting new answer file.once you create answer file you have to select the windows
dvd(install.wim file in the resource folder) or windows 7 iso file).then you can add the required items to
the answer file
Darshanasam1234@hotmail.com darshanaj.wordpress.com
Page 1
Selecting windows image(install.wim)
Create a new answer file
Darshanasam1234@hotmail.com darshanaj.wordpress.com
Page 2
Once you create a answer file you have to add requried item from widnows image to answer file.For
create a basic answer file you have to add the items which are mentioned in the below table
1.
Component
Microsoft-Windows-Deployment\Reseal
Microsoft-Windows-International-Core-WinPE\SetupUILanguage
Microsoft-WindowsSetup\DiskConfiguration\Disk\CreatePartitions\CreatePartition
Microsoft-WindowsSetup\DiskConfiguration\Disk\ModifyPartitions\ModifyPartition
Microsoft-WindowsSetup\DiskConfiguration\Disk\CreatePartitions\CreatePartition *
Microsoft-WindowsSetup\DiskConfiguration\Disk\ModifyPartitions\ModifyPartition *
Microsoft-Windows-Setup\ImageInstall\OSImage\InstallTo
Microsoft-Windows-Setup\UserData
Microsoft-Windows-Shell-Setup\OOBE
Configuration
pass
oobeSystem
windowsPE
windowsPE
windowsPE
windowsPE
windowsPE
windowsPE
windowsPE
oobeSystem
*this table has copied from aik setup guide
Note-you have to add create partition and modify partiton two times
Darshanasam1234@hotmail.com darshanaj.wordpress.com
Page 3
Darshanasam1234@hotmail.com darshanaj.wordpress.com
Page 4
Darshanasam1234@hotmail.com darshanaj.wordpress.com
Page 5
Darshanasam1234@hotmail.com darshanaj.wordpress.com
Page 6
Darshanasam1234@hotmail.com darshanaj.wordpress.com
Page 7
Darshanasam1234@hotmail.com darshanaj.wordpress.com
Page 8
Darshanasam1234@hotmail.com darshanaj.wordpress.com
Page 9
Now we can enter the required configuration values for the items which we have added to the answer
file
We have to add the values according to the below mentioned table
Configurat
Component
ion pass
Microsoft-Windows-International-Core1
WindowsP WinPE
E
Value
= <Input Locale> For
example, en-US
InputLocale
= <System Locale> For
example, en-US
SystemLocale
= <UI Language> For
example, en-US
UILanguage
1
WindowsP
E
1
WindowsP
E
1
WindowsP
E
1
WindowsP
E
Microsoft-Windows-International-CoreWinPE\SetupUILanguage
= <User Locale> For
example, en-US
UILanguage = <UI Language> For
example, en-US
Microsoft-Windows-Setup\DiskConfiguration
WillShowUI
Microsoft-WindowsSetup\DiskConfiguration\Disk
DiskID
1
WindowsP
E
Microsoft-WindowsSetup\DiskConfiguration\Disk\CreatePartition
s\CreatePartition
UserLocale
= OnError
=0
WillWipeDisk
Microsoft-WindowsSetup\DiskConfiguration\Disk\CreatePartition
s\CreatePartition
Order
= true
=1
Size
= 200
Type
= Primary
= true
Extend
Order
=2
= Primary
Active = true
Type
1
WindowsP
E
Microsoft-WindowsSetup\DiskConfiguration\Disk\ModifyPartitio
ns\ModifyPartition
Darshanasam1234@hotmail.com darshanaj.wordpress.com
Format
= NTFS
Label
= System
Order
=1
Page 10
=1
= NTFS
PartitionID
1
WindowsP
E
Microsoft-WindowsSetup\DiskConfiguration\Disk\ModifyPartitio
ns\ModifyPartition
Format
Label
= Windows
Order
=2
PartitionID
1
WindowsP
E
Microsoft-WindowsSetup\ImageInstall\OSImage
Microsoft-WindowsSetup\ImageInstall\OSImage\InstallTo
=
false
WillShowUI
1
WindowsP
E
1
WindowsP
E
1
WindowsP
E
4
Specialize
7
oobeSyste
m
7
oobeSyste
m
=2
InstallToAvailablePartition
DiskID
= OnError
=0
=2
= true
PartitionID
Microsoft-Windows-Setup\UserData
AcceptEula
Microsoft-WindowsSetup\UserData\ProductKey
Key
= <product key>
= OnError
Home_Page = <Company Home Page>
WillShowUI
Optional: Microsoft-Windows-IEInternetExplorer
Microsoft-Windows-Deployment\Reseal
ForceShutdownNow
Mode
Microsoft-Windows-Shell-Setup\OOBE
Darshanasam1234@hotmail.com darshanaj.wordpress.com
= false
= Audit
HideEULAPage
= true
ProtectYourPC
=3
Page 11
Darshanasam1234@hotmail.com darshanaj.wordpress.com
Page 12
Darshanasam1234@hotmail.com darshanaj.wordpress.com
Page 13
Darshanasam1234@hotmail.com darshanaj.wordpress.com
Page 14
Darshanasam1234@hotmail.com darshanaj.wordpress.com
Page 15
Darshanasam1234@hotmail.com darshanaj.wordpress.com
Page 16
Darshanasam1234@hotmail.com darshanaj.wordpress.com
Page 17
Darshanasam1234@hotmail.com darshanaj.wordpress.com
Page 18
Once you finish the adding values you can validate the answer file.after that we have to save ans
file as a Autounattend.xml.This answer file can be used with a usb drive or adding this file to a windows
7 dvd/iso.
Darshanasam1234@hotmail.com darshanaj.wordpress.com
Page 19
Download