FAQ по Windows Seven. Полезные советы для Windows 7 от Nizaury v.2.02.1.

ОглавлениеДобавить в закладки К обложке

13. Автоматическая установка OEM-информации.

Представляем вашему вниманию небольшой скрипт, позволяющий автоматизировать процесс установки Windows путем занесения ответов на вопросы инсталлятора в специальный файл.

Создаете файл Autounattend.xml со следующим текстом и кладете в \Sources

Помимо папки \Sources файл Autounnattend.xml следует положить в корень дистрибьютива.

Не забудьте заменить серийный ключ (product key) на ваш и назовите файл autounattend.xml.

<?xml version=”1.0? encoding=”utf-8??>

<unattend xmlns=”urn:schemas-microsoft-com:unattend”>

<settings pass=”windowsPE”>

<component name=”Microsoft-Windows-International-Core-WinPE” processorArchitecture=”x86? publicKeyToken=”31bf3856ad364e35? language=”neutral” versionScope=”nonSxS” xmlns:wcm=”http://schemas.microsoft.com/WMIConfig/2002/State” xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance”>

<SetupUILanguage>

<UILanguage>en-US</UILanguage>

</SetupUILanguage>

<InputLocale>0409:00000409</InputLocale>

<SystemLocale>en-US</SystemLocale>

<UILanguage>en-US</UILanguage>

<UILanguageFallback>en-US</UILanguageFallback>

<UserLocale>en-US</UserLocale>

</component>

<component name=”Microsoft-Windows-Setup” processorArchitecture=”x86? publicKeyToken=”31bf3856ad364e35? language=”neutral” versionScope=”nonSxS” xmlns:wcm=”http://schemas.microsoft.com/WMIConfig/2002/State” xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance”>

<DiskConfiguration>

<Disk wcm:action=”add”>

<CreatePartitions>

<CreatePartition wcm:action=”add”>

<Extend>false</Extend>

<Type>Primary</Type>

<Order>1</Order>

<Size>40000</Size>

</CreatePartition>

</CreatePartitions>

<ModifyPartitions>

<ModifyPartition wcm:action=”add”>

<Order>1</Order>

<PartitionID>1</PartitionID>

<Format>NTFS</Format>

<Letter>C</Letter>

<Extend>true</Extend>

</ModifyPartition>

</ModifyPartitions>

<DiskID>0</DiskID>

<WillWipeDisk>true</WillWipeDisk>

</Disk>

</DiskConfiguration>

<ImageInstall>

<OSImage>

<InstallTo>

<DiskID>0</DiskID>

<PartitionID>1</PartitionID>

</InstallTo>

<WillShowUI>OnError</WillShowUI>

</OSImage>

</ImageInstall>

<UserData>

<ProductKey>

<Key>XXXXX-XXXXX-XXXXX-XXXXX-XXXXX</Key>

<WillShowUI>OnError</WillShowUI>

</ProductKey>

<AcceptEula>true</AcceptEula>

</UserData>

</component>

</settings>

<settings pass=”oobeSystem”>

<component name=”Microsoft-Windows-Shell-Setup” processorArchitecture=”x86? publicKeyToken=”31bf3856ad364e35? language=”neutral” versionScope=”nonSxS” xmlns:wcm=”http://schemas.microsoft.com/WMIConfig/2002/State” xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance”>

<OEMInformation>

<Logo>E:\oemlogo.bmp</Logo>

<Manufacturer>Fabrikam</Manufacturer>

<Model>Superfast1000</Model>

<SupportHours>Anytime, day or night</SupportHours>

<SupportPhone>1-800-SUPPORT</SupportPhone>

<SupportURL>www.fabrikam.com</SupportURL>

</OEMInformation>

<OOBE>

<HideEULAPage>true</HideEULAPage>

<ProtectYourPC>1</ProtectYourPC>

<SkipMachineOOBE>true</SkipMachineOOBE>

<SkipUserOOBE>true</SkipUserOOBE>

</OOBE>

<AutoLogon>

<Password>

<Value>Password</Value>

<PlainText>true</PlainText>

</Password>

<Username>Administrator</Username>

<Enabled>true</Enabled>

<LogonCount>5</LogonCount>

</AutoLogon>

<UserAccounts>

<AdministratorPassword>


Логин
Пароль
Запомнить меня