Иллюстрированный самоучитель по Microsoft Windows 7

Автоматическое введение ключа при инсталляции Windows

Создайте файл Autounattend.xml с указанным ниже текстом и скопируйте данный файл в корневую папку и в папку \Sources установочного диска.

Вместо xxxxx-xxxxx-xxxxx-xxxxx-xxxxx введите Ваш ключ.

Вариант 1. Для 32-битных систем.

Если у Вас ключ для Retail или OEM версии, то создайте файл Autounattend.xml следующего содержания:

<?xml version="1.0" encoding="utf-8"?>    
<unattend xmlns="urn:schemas-microsoft-com:unattend">   
<settings pass="windowsPE">   
<component name="Microsoft-Windows-Setup" processorArchitecture="x86"   
publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"   
xmlns:wcm="<a href="http://schemas.microsoft.com/WMIConfig/2002/State">http://schemas.microsoft.com/WMIConfig/2002/State</a>"   
xmlns:xsi="<a href="http://www.w3.org/2001/XMLSchema-instance">http://www.w3.org/2001/XMLSchema-instance</a>">   
<UserData>   
<AcceptEula>true</AcceptEula>   
<ProductKey>   
<Key>xxxxx-xxxxx-xxxxx-xxxxx-xxxxx</Key>   
<WillShowUI>OnError</WillShowUI>   
</ProductKey>   
</UserData>   
</component>   
</settings>   
</unattend>

Если у Вас MAK-ключ, то создайте файл Autounattend.xml следующего содержания:

<?xml version="1.0" encoding="utf-8"?>  
<unattend xmlns="urn:schemas-microsoft-com:unattend">  
<settings pass="windowsPE">  
<component name="Microsoft-Windows-Setup" processorArchitecture="x86"  
publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"  
xmlns:wcm="<a href="http://schemas.microsoft.com/WMIConfig/2002/State">http://schemas.microsoft.com/WMIConfig/2002/State</a>"  
xmlns:xsi="<a href="http://www.w3.org/2001/XMLSchema-instance">http://www.w3.org/2001/XMLSchema-instance</a>">  
<UserData> 
<AcceptEula>true</AcceptEula>  
<ProductKey>  
<Key>xxxxx-xxxxx-xxxxx-xxxxx-xxxxx</Key>  
<WillShowUI>OnError</WillShowUI>  
</ProductKey>  
</UserData>  
</component>  
</settings>  
<settings pass="specialize">  
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86"  
publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"  
xmlns:wcm="<a href="http://schemas.microsoft.com/WMIConfig/2002/State">http://schemas.microsoft.com/WMIConfig/2002/State</a>"  
xmlns:xsi="<a href="http://www.w3.org/2001/XMLSchema-instance">http://www.w3.org/2001/XMLSchema-instance</a>">  
<ProductKey>xxxxx-xxxxx-xxxxx-xxxxx-xxxxx</ProductKey>  
</component>  
</settings>  
<cpi:offlineImage cpi:source="" xmlns:cpi="urn:schemas-microsoft-com:cpi" />  
</unattend>
Если Вы заметили ошибку, выделите, пожалуйста, необходимый текст и нажмите CTRL + Enter, чтобы сообщить об этом редактору.