windows 7 unattended installation
TRANSCRIPT
[email protected] darshanaj.wordpress.com Page 1
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
[email protected] darshanaj.wordpress.com Page 2
Selecting windows image(install.wim)
Create a new answer file
[email protected] darshanaj.wordpress.com Page 3
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 Configuration pass
Microsoft-Windows-Deployment\Reseal oobeSystem Microsoft-Windows-International-Core-WinPE\SetupUILanguage windowsPE Microsoft-Windows-Setup\DiskConfiguration\Disk\CreatePartitions\CreatePartition windowsPE
Microsoft-Windows-Setup\DiskConfiguration\Disk\ModifyPartitions\ModifyPartition windowsPE
Microsoft-Windows-Setup\DiskConfiguration\Disk\CreatePartitions\CreatePartition * windowsPE
Microsoft-Windows-Setup\DiskConfiguration\Disk\ModifyPartitions\ModifyPartition * windowsPE
Microsoft-Windows-Setup\ImageInstall\OSImage\InstallTo windowsPE Microsoft-Windows-Setup\UserData windowsPE Microsoft-Windows-Shell-Setup\OOBE oobeSystem
*this table has copied from aik setup guide
Note-you have to add create partition and modify partiton two times
[email protected] darshanaj.wordpress.com Page 4
[email protected] darshanaj.wordpress.com Page 5
[email protected] darshanaj.wordpress.com Page 6
[email protected] darshanaj.wordpress.com Page 7
[email protected] darshanaj.wordpress.com Page 8
[email protected] darshanaj.wordpress.com Page 9
[email protected] darshanaj.wordpress.com Page 10
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
Configuration pass
Component Value
1 WindowsPE
Microsoft-Windows-International-Core-WinPE
InputLocale = <Input Locale> For example, en-US
SystemLocale = <System Locale> For example, en-US
UILanguage = <UI Language> For example, en-US
UserLocale = <User Locale> For example, en-US
1 WindowsPE
Microsoft-Windows-International-Core-WinPE\SetupUILanguage
UILanguage = <UI Language> For example, en-US
1 WindowsPE
Microsoft-Windows-Setup\DiskConfiguration WillShowUI = OnError
1 WindowsPE
Microsoft-Windows-Setup\DiskConfiguration\Disk
DiskID = 0
WillWipeDisk = true 1 WindowsPE
Microsoft-Windows-Setup\DiskConfiguration\Disk\CreatePartitions\CreatePartition
Order = 1
Size = 200
Type = Primary 1 WindowsPE
Microsoft-Windows-Setup\DiskConfiguration\Disk\CreatePartitions\CreatePartition
Extend = true
Order = 2
Type = Primary 1 WindowsPE
Microsoft-Windows-Setup\DiskConfiguration\Disk\ModifyPartitions\ModifyPartition
Active = true
Format = NTFS
Label = System
Order = 1
[email protected] darshanaj.wordpress.com Page 11
PartitionID = 1 1 WindowsPE
Microsoft-Windows-Setup\DiskConfiguration\Disk\ModifyPartitions\ModifyPartition
Format = NTFS
Label = Windows
Order = 2
PartitionID = 2 1 WindowsPE
Microsoft-Windows-Setup\ImageInstall\OSImage
InstallToAvailablePartition = false
WillShowUI = OnError 1 WindowsPE
Microsoft-Windows-Setup\ImageInstall\OSImage\InstallTo
DiskID = 0
PartitionID = 2 1 WindowsPE
Microsoft-Windows-Setup\UserData AcceptEula = true
1 WindowsPE
Microsoft-Windows-Setup\UserData\ProductKey
Key = <product key>
WillShowUI = OnError 4 Specialize
Optional: Microsoft-Windows-IE-InternetExplorer
Home_Page = <Company Home Page>
7 oobeSystem
Microsoft-Windows-Deployment\Reseal ForceShutdownNow = false
Mode = Audit 7 oobeSystem
Microsoft-Windows-Shell-Setup\OOBE HideEULAPage = true
ProtectYourPC = 3
[email protected] darshanaj.wordpress.com Page 12
[email protected] darshanaj.wordpress.com Page 13
[email protected] darshanaj.wordpress.com Page 14
[email protected] darshanaj.wordpress.com Page 15
[email protected] darshanaj.wordpress.com Page 16
[email protected] darshanaj.wordpress.com Page 17
[email protected] darshanaj.wordpress.com Page 18
[email protected] darshanaj.wordpress.com Page 19
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.