Войти

Показать полную графическую версию : [статья] Файл ответов (AutoUnattend.xml) .:[все вопросы, параметры, уточнения, etc]:.


Страниц : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 [28] 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87

Ringi
17-11-2011, 19:30
Разместил файл ответов в папке корневой и в sources под названием AutoUnattend.xml


Создал диск ISO и через виртуалку не хочет срабатывать файл((

делал ответы по-минимуму.


<?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="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>true</Extend>
<Order>2</Order>
<Type>Extended</Type>
</CreatePartition>
<CreatePartition wcm:action="add">
<Order>1</Order>
<Size>20000</Size>
<Type>Primary</Type>
</CreatePartition>
<CreatePartition wcm:action="add">
<Extend>true</Extend>
<Order>3</Order>
<Type>Logical</Type>
</CreatePartition>
</CreatePartitions>
<ModifyPartitions>
<ModifyPartition wcm:action="add">
<Active>true</Active>
<Extend>false</Extend>
<Format>NTFS</Format>
<Label>OS</Label>
<Letter>C</Letter>
<Order>1</Order>
<TypeID>0x7</TypeID>
<PartitionID>1</PartitionID>
</ModifyPartition>
<ModifyPartition wcm:action="add">
<Active>false</Active>
<Extend>false</Extend>
<Format>NTFS</Format>
<Label>Data</Label>
<Letter>D</Letter>
<Order>2</Order>
<PartitionID>2</PartitionID>
<TypeID>0x7</TypeID>
</ModifyPartition>
</ModifyPartitions>
<DiskID>0</DiskID>
<WillWipeDisk>true</WillWipeDisk>
</Disk>
<WillShowUI>OnError</WillShowUI>
</DiskConfiguration>
<UserData>
<AcceptEula>true</AcceptEula>
<FullName>User</FullName>
<Organization>Vikant</Organization>
</UserData>
<ImageInstall>
<OSImage>
<InstallTo>
<DiskID>0</DiskID>
<PartitionID>1</PartitionID>
</InstallTo>
</OSImage>
</ImageInstall>
</component>
<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">
<InputLocale>en-US</InputLocale>
<SystemLocale>en-US</SystemLocale>
<UILanguage>ru-RU</UILanguage>
<UILanguageFallback>ru-RU</UILanguageFallback>
<UserLocale>uk-UA</UserLocale>
<LayeredDriver>1</LayeredDriver>
</component>
</settings>
<cpi: offlineImage cpi:source="wim:d:/windows7work/dvd/sources/install.wim#Windows 7 PROFESSIONAL" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>

Lennyvets
17-11-2011, 20:10
Ringi, а в WSIM'е проверяли? - В предпоследней строчке не должно быть пробела в cpi:offlineImage

Ringi
18-11-2011, 15:22
без пробела все-равно не работает. (

Lennyvets
18-11-2011, 16:17
Ringi, кодировка файла UTF-8 ?
А если в командной строке набрать (http://forum.oszone.net/post-1651752.html#post1651752)d:setup /unattend:d:autounattend.xml

sov44
20-11-2011, 09:12
Подскажите, как добавить в файл ответов по умолчанию рабочую группу MSHOME ?

Lennyvets
20-11-2011, 10:11
sov44, http://forum.oszone.net/post-1658377.html#post1658377

sov44
20-11-2011, 21:09
Прошу подсказать, где ошибка в секции ?

<settings pass="specialize">
<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">
<ComputerName>MICROSOFT-PC</ComputerName>
</component>
<component name="Microsoft-Windows-UnattendedJoin" 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">
<Identification>
<JoinWorkgroup>MSHOME</JoinWorkgroup>
</Identification>
</component>
<Themes>
<WindowColor>Sky</WindowColor>
</Themes>
<component name="Microsoft-Windows-Security-Licensing-SLC-UX" 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">
<SkipAutoActivation>true</SkipAutoActivation>
</component>
</settings>

Lennyvets
20-11-2011, 23:22
sov44, пользуйтесь WSIM'ом для редактирования файла ответов и не будет подобных проблем. Если накидать ваши параметры в WSIM'е, то получится:
<settings pass="specialize">
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Themes>
<WindowColor>Sky</WindowColor>
</Themes>
<ComputerName>MICROSOFT-PC</ComputerName>
</component>
<component name="Microsoft-Windows-UnattendedJoin" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Identification>
<JoinWorkgroup>MSHOME</JoinWorkgroup>
</Identification>
</component>
<component name="Microsoft-Windows-Security-Licensing-SLC-UX" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SkipAutoActivation>true</SkipAutoActivation>
</component>
</settings>

sov44
20-11-2011, 23:46
Lennyvets, собираю под ХР, WSIM'ом не удастся воспользоваться.
скажите, давно ли реклама партии Яблоко появилась на страничке автоустановки (http://oszone.net/8587)при наведении мышки на слово "решении"? ;)

Lennyvets
21-11-2011, 00:01
WSIM'ом не удастся воспользоваться. »
а текстовым редактором, типа Notepad++ или SciTE, который разбивает текст в конфигах на блоки...
скажите, давно ли реклама »
в Chrome такого нет, а вот в IE есть :)

Ringi
21-11-2011, 16:28
Ringi, кодировка файла UTF-8 ? »


пользовался WSIM'ом. кодировку не знаю какую использует при создании файла.

Ringi
22-11-2011, 01:23
Ringi, кодировка файла UTF-8 ?
дело было в кодировке).

теперь файл ответов видится. но возник один нюанс. создал двух пользователей. admin и User адину дал пароль, юзера оставил без. автоматический вход сделал для Юзера. все проходит ок. до момента входа в виндовс, просит поменять пароль при первом входе.!! как буд-то я создал пользователя в "управлении пользователями" и поставил галочку "при первом входе сменить пароль пользователя".

Ringi
22-11-2011, 01:44
<?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="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>true</Extend>

<Order>2</Order>

<Type>Extended</Type>

</CreatePartition>

<CreatePartition wcm:action="add">

<Order>1</Order>

<Size>20000</Size>

<Type>Primary</Type>

</CreatePartition>

<CreatePartition wcm:action="add">

<Extend>true</Extend>

<Order>3</Order>

<Type>Logical</Type>

</CreatePartition>

</CreatePartitions>

<ModifyPartitions>

<ModifyPartition wcm:action="add">

<Active>true</Active>

<Extend>false</Extend>

<Format>NTFS</Format>

<Label>OS</Label>

<Letter>C</Letter>

<Order>1</Order>

<TypeID>0x7</TypeID>

<PartitionID>1</PartitionID>

</ModifyPartition>

<ModifyPartition wcm:action="add">

<Active>false</Active>

<Extend>false</Extend>

<Format>NTFS</Format>

<Label>Data</Label>

<Letter>D</Letter>

<Order>2</Order>

<PartitionID>2</PartitionID>

<TypeID>0x7</TypeID>

</ModifyPartition>

</ModifyPartitions>

<DiskID>0</DiskID>

<WillWipeDisk>true</WillWipeDisk>

</Disk>

<WillShowUI>OnError</WillShowUI>

</DiskConfiguration>

<UserData>

<AcceptEula>true</AcceptEula>

<FullName>Test Vikant</FullName>

<Organization>Vikant</Organization>

</UserData>

<ImageInstall>

<OSImage>

<InstallTo>

<DiskID>0</DiskID>

<PartitionID>1</PartitionID>

</InstallTo>

<InstallFrom>

<MetaData wcm:action="add">

<Key>/IMAGE/INDEX</Key>

<Value>4</Value>

</MetaData>

</InstallFrom>

</OSImage>

</ImageInstall>

</component>

<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">

<InputLocale>en-US</InputLocale>

<SystemLocale>en-US</SystemLocale>

<UILanguage>ru-RU</UILanguage>

<UILanguageFallback>ru-RU</UILanguageFallback>

<UserLocale>uk-UA</UserLocale>

<LayeredDriver>1</LayeredDriver>

</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">

<AutoLogon>

<Password>

<Value>UABhAHMAcwB3AG8AcgBkAA==</Value>

<PlainText>false</PlainText>

</Password>

<Enabled>true</Enabled>

<LogonCount>5</LogonCount>

<Username>User</Username>

</AutoLogon>

<OOBE>

<HideEULAPage>true</HideEULAPage>

<NetworkLocation>Home</NetworkLocation>

<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>

<SkipMachineOOBE>true</SkipMachineOOBE>

<SkipUserOOBE>true</SkipUserOOBE>

<ProtectYourPC>1</ProtectYourPC>

</OOBE>

<UserAccounts>

<LocalAccounts>

<LocalAccount wcm:action="add">

<Password>

<Value>cgBkAGYAaABuAGIAaABmAFAAYQBzAHMAdwBvAHIAZAA=</Value>

<PlainText>false</PlainText>

</Password>

<Description>Админ ТестУчетки</Description>

<Group>Administrators</Group>

<Name>Admin</Name>

</LocalAccount>

<LocalAccount wcm:action="add">

<Description>ПользовательТест</Description>

<Group>Users</Group>

<Name>User</Name>

</LocalAccount>

</LocalAccounts>

</UserAccounts>

</component>

</settings>

<settings pass="specialize">

<component name="Microsoft-Windows-Security-Licensing-SLC-UX" 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">

<SkipAutoActivation>true</SkipAutoActivation>

</component>

</settings>

<cpi:offlineImage cpi:source="wim:d:/windows7work/dvd/sources/install.wim#Windows 7 PROFESSIONAL" xmlns:cpi="urn:schemas-microsoft-com:cpi" />

</unattend>

Lennyvets
22-11-2011, 01:54
Ringi, используйте тег [CODE]. Не задан пароль для User. Чтобы не требовала смену пароля, пароль нужно указать (даже пустой).

e9990638
24-11-2011, 01:13
Привет всем. Решил сделать файл ответов для Win-7-Starter. Хотелось прояснить некоторые вещи:

- как правильно сделать "...Если вы планируете работать с единственной встроенной учетной записью Администратор..." и переименовать его например в "Сергей"
Саму тему читал, но -
•Enabled - включение автоматического входа. Если установлено значение true, автоматический вход включается. - понятно
•LogonCount - количество автоматических входов в систему. - какое значение надо выставить, чтобы было постоянно
•Username - имя учетной записи, для которой включен автоматический вход. Безусловно, учетная запись должна существовать в системе.
Внимание! Если вы настраиваете вход для встроенной учетной записи Администратор, в качестве имени пользователя следует указывать Administrator латинскими буквами вне зависимости от того, какую языковую версию Windows Vista вы используете. В противном случае эта учетная запись включена не будет. - возможно ли переименовать встроенную учетную запись Администратор

и еще, почему-то в "Components" появились дублирующие компоненты с разными версиями, и с какими версиями надо добавлять в файл ответов?

Ringi
24-11-2011, 15:55
Со вторым файлом ответов все намного проще. Он должен размещаться в папке Install, и в него должны входить только параметры для прохода 7 oobeSystem (параметр Reseal в него включать не нужно!). Если эти параметры уже имеются у вас в первом файле ответов, сохраните его с другим именем - oobe.xml в папке Install. Затем удалите все параметры для проходов с первого по шестой и снова сохраните файл.

В конце прохода 6 auditUser будет запущена программа sysprep, которая переведет систему в режим oobe с параметрами, указанными в oobe.xml.


Не понял.((( какой-то запутанный мануал.

Как я понимаю: Файл с именем oobe.xml должен находиться в папке Install. В котором должен быть только прохода 7 oobeSystem без параметра Reseal. Вот я все это проделал , оставил только 7й проход, и читаю далее:

Затем удалите все параметры для проходов с первого по шестой и снова сохраните файл.

Непонятно зачем еще раз сохранять файл.

В конце прохода 6 auditUser будет запущена программа sysprep, которая переведет систему в режим oobe с параметрами, указанными в oobe.xml.

Эта фраза по видимому относиться к первому файлу AutoUnattend.xml после выполнения у него 6го прохода запуститься сиспреп, которая далее подхватит процесс установки.?????

oobe.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="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>true</Extend>
<Order>2</Order>
<Type>Extended</Type>
</CreatePartition>
<CreatePartition wcm:action="add">
<Order>1</Order>
<Size>20000</Size>
<Type>Primary</Type>
</CreatePartition>
<CreatePartition wcm:action="add">
<Extend>true</Extend>
<Order>3</Order>
<Type>Logical</Type>
</CreatePartition>
</CreatePartitions>
<ModifyPartitions>
<ModifyPartition wcm:action="add">
<Active>true</Active>
<Extend>false</Extend>
<Format>NTFS</Format>
<Label>OS</Label>
<Letter>C</Letter>
<Order>1</Order>
<TypeID>0x7</TypeID>
<PartitionID>1</PartitionID>
</ModifyPartition>
<ModifyPartition wcm:action="add">
<Active>false</Active>
<Extend>false</Extend>
<Format>NTFS</Format>
<Label>Data</Label>
<Letter>D</Letter>
<Order>2</Order>
<PartitionID>2</PartitionID>
<TypeID>0x7</TypeID>
</ModifyPartition>
</ModifyPartitions>
<DiskID>0</DiskID>
<WillWipeDisk>true</WillWipeDisk>
</Disk>
<WillShowUI>OnError</WillShowUI>
</DiskConfiguration>
<UserData>
<AcceptEula>true</AcceptEula>
<FullName>Test Vikant</FullName>
<Organization>Vikant</Organization>
</UserData>
<ImageInstall>
<OSImage>
<InstallTo>
<DiskID>0</DiskID>
<PartitionID>1</PartitionID>
</InstallTo>
<InstallFrom>
<MetaData wcm:action="add">
<Key>/IMAGE/INDEX</Key>
<Value>4</Value>
</MetaData>
</InstallFrom>
</OSImage>
</ImageInstall>
</component>
<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">
<InputLocale>en-US</InputLocale>
<SystemLocale>en-US</SystemLocale>
<UILanguage>ru-RU</UILanguage>
<UILanguageFallback>ru-RU</UILanguageFallback>
<UserLocale>uk-UA</UserLocale>
<LayeredDriver>1</LayeredDriver>
</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">
<AutoLogon>
<Password>
<Value>UABhAHMAcwB3AG8AcgBkAA==</Value>
<PlainText>false</PlainText>
</Password>
<Enabled>true</Enabled>
<LogonCount>5</LogonCount>
<Username>User</Username>
</AutoLogon>
<OOBE>
<HideEULAPage>true</HideEULAPage>
<NetworkLocation>Home</NetworkLocation>
<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
<SkipMachineOOBE>true</SkipMachineOOBE>
<SkipUserOOBE>true</SkipUserOOBE>
<ProtectYourPC>1</ProtectYourPC>
</OOBE>
<UserAccounts>
<LocalAccounts>
<LocalAccount wcm:action="add">
<Password>
<Value>cgBkAGYAaABuAGIAaABmAFAAYQBzAHMAdwBvAHIAZAA=</Value>
<PlainText>false</PlainText>
</Password>
<Description>Админ ТестУчетки</Description>
<Group>Administrators</Group>
<Name>Admin</Name>
</LocalAccount>
<LocalAccount wcm:action="add">
<Password>
<Value>UABhAHMAcwB3AG8AcgBkAA==</Value>
<PlainText>false</PlainText>
</Password>
<Description>Пользователь</Description>
<Group>Users</Group>
<Name>User</Name>
</LocalAccount>
</LocalAccounts>
</UserAccounts>
<FirstLogonCommands>
<SynchronousCommand wcm:action="add">
<Order>499</Order>
<CommandLine>%SystemRoot%\system32\sysprep\sysprep.exe /quiet /oobe /reboot /unattend:%DiskRoot%\Install\oobe.xml</CommandLine>
</SynchronousCommand>
</FirstLogonCommands>
</component>
</settings>
<cpi:offlineImage cpi:source="wim:d:/windows7work/dvd/sources/install.wim#Windows 7 PROFESSIONAL" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>


--------------
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="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>true</Extend>
<Order>2</Order>
<Type>Extended</Type>
</CreatePartition>
<CreatePartition wcm:action="add">
<Order>1</Order>
<Size>20000</Size>
<Type>Primary</Type>
</CreatePartition>
<CreatePartition wcm:action="add">
<Extend>true</Extend>
<Order>3</Order>
<Type>Logical</Type>
</CreatePartition>
</CreatePartitions>
<ModifyPartitions>
<ModifyPartition wcm:action="add">
<Active>true</Active>
<Extend>false</Extend>
<Format>NTFS</Format>
<Label>OS</Label>
<Letter>C</Letter>
<Order>1</Order>
<TypeID>0x7</TypeID>
<PartitionID>1</PartitionID>
</ModifyPartition>
<ModifyPartition wcm:action="add">
<Active>false</Active>
<Extend>false</Extend>
<Format>NTFS</Format>
<Label>Data</Label>
<Letter>D</Letter>
<Order>2</Order>
<PartitionID>2</PartitionID>
<TypeID>0x7</TypeID>
</ModifyPartition>
</ModifyPartitions>
<DiskID>0</DiskID>
<WillWipeDisk>true</WillWipeDisk>
</Disk>
<WillShowUI>OnError</WillShowUI>
</DiskConfiguration>
<UserData>
<AcceptEula>true</AcceptEula>
<FullName>Test Vikant</FullName>
<Organization>Vikant</Organization>
</UserData>
<ImageInstall>
<OSImage>
<InstallTo>
<DiskID>0</DiskID>
<PartitionID>1</PartitionID>
</InstallTo>
<InstallFrom>
<MetaData wcm:action="add">
<Key>/IMAGE/INDEX</Key>
<Value>4</Value>
</MetaData>
</InstallFrom>
</OSImage>
</ImageInstall>
</component>
<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">
<InputLocale>en-US</InputLocale>
<SystemLocale>en-US</SystemLocale>
<UILanguage>ru-RU</UILanguage>
<UILanguageFallback>ru-RU</UILanguageFallback>
<UserLocale>uk-UA</UserLocale>
<LayeredDriver>1</LayeredDriver>
</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">
<AutoLogon>
<Password>
<Value>UABhAHMAcwB3AG8AcgBkAA==</Value>
<PlainText>false</PlainText>
</Password>
<Enabled>true</Enabled>
<LogonCount>5</LogonCount>
<Username>User</Username>
</AutoLogon>
<OOBE>
<HideEULAPage>true</HideEULAPage>
<NetworkLocation>Home</NetworkLocation>
<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
<SkipMachineOOBE>true</SkipMachineOOBE>
<SkipUserOOBE>true</SkipUserOOBE>
<ProtectYourPC>1</ProtectYourPC>
</OOBE>
<UserAccounts>
<LocalAccounts>
<LocalAccount wcm:action="add">
<Password>
<Value>cgBkAGYAaABuAGIAaABmAFAAYQBzAHMAdwBvAHIAZAA=</Value>
<PlainText>false</PlainText>
</Password>
<Description>Админ ТестУчетки</Description>
<Group>Administrators</Group>
<Name>Admin</Name>
</LocalAccount>
<LocalAccount wcm:action="add">
<Password>
<Value>UABhAHMAcwB3AG8AcgBkAA==</Value>
<PlainText>false</PlainText>
</Password>
<Description>Пользователь</Description>
<Group>Users</Group>
<Name>User</Name>
</LocalAccount>
</LocalAccounts>
</UserAccounts>
<FirstLogonCommands>
<SynchronousCommand wcm:action="add">
<Order>499</Order>
<CommandLine>%SystemRoot%\system32\sysprep\sysprep.exe /quiet /oobe /reboot /unattend:%DiskRoot%\Install\oobe.xml</CommandLine>
</SynchronousCommand>
</FirstLogonCommands>
</component>
<component name="Microsoft-Windows-Deployment" 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">
<Reseal>
<Mode>Audit</Mode>
</Reseal>
</component>
</settings>
<settings pass="specialize">
<component name="Microsoft-Windows-Security-Licensing-SLC-UX" 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">
<SkipAutoActivation>true</SkipAutoActivation>
</component>
<component name="Microsoft-Windows-Deployment" 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">
<RunSynchronous>
<RunSynchronousCommand wcm:action="add">
<Order>1</Order>
<Path>cmd /c &quot;FOR %i IN (C D E F G H I J K L N M O P Q R S T U V W X Y Z) DO IF EXIST %i:\DiskRoot.txt SETX DiskRoot %i: -m&quot;</Path>
</RunSynchronousCommand>
</RunSynchronous>
</component>
</settings>
<settings pass="auditSystem">
<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">
<AutoLogon>
<Password>
<Value>cgBkAGYAaABuAGIAaABmAFAAYQBzAHMAdwBvAHIAZAA=</Value>
<PlainText>false</PlainText>
</Password>
<Enabled>true</Enabled>
<LogonCount>5</LogonCount>
<Username>Administrator</Username>
</AutoLogon>
</component>
</settings>
<settings pass="auditUser">
<component name="Microsoft-Windows-Deployment" 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">
<RunSynchronous>
<RunSynchronousCommand wcm:action="add">
<Order>15</Order>
<Path>cmd /c %DiskRoot%\Install\Microsoft.Office.2010.VL.Professional.Plus.exe</Path>
</RunSynchronousCommand>
</RunSynchronous>
</component>
</settings>
<cpi:offlineImage cpi:source="wim:d:/windows7work/dvd/sources/install.wim#Windows 7 PROFESSIONAL" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>

Lennyvets
24-11-2011, 16:25
Ringi, в autounattend.xml удалите проход oobeSystem. Вернее оставьте только один параметр:

<settings pass="oobeSystem">
<component name="Microsoft-Windows-Deployment" 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">
<Reseal>
<Mode>Audit</Mode>
</Reseal>
</component>
</settings>

а все другие параметры для прохода oobeSystem останутся у вас в oobe.xml.

Далее, в oobe.xml должны быть только параметры для прохода oobeSystem (удалите проход windowsPE).

Ещё пару замечаний про autounattend.xml:
1) Команду sysprep из FirstLogonCommands перенесите в auditUser - Microsoft-Windows-Deployment - RunSynchronous, она дожна быть последней среди всех команд (у вас после установки офиса)
2) Я в windows 7 не использовал проход auditSystem - без него все работает.

Lennyvets
24-11-2011, 18:11
•LogonCount - количество автоматических входов в систему. - какое значение надо выставить, чтобы было постоянно »
никакое, удалите этот параметр. Я в Windows 7 его не использую и прекрасно логинится.

возможно ли переименовать встроенную учетную запись Администратор »
стандартными средствами, скорее всего нет. К тому же в Starter'е нет lusrmgr.msc и secpol.msc, но
Существуют две крошечные утилиты - renuser.exe (http://www.oszone.net/user_img/050224181558/renuser.zip) (10 кб) и netuser.exe (http://www.oszone.net/user_img/050224181558/NetUser.zip) (20 кб), с помощью любой из которых можно решить задачу одной командой. - это цитата из http://www.oszone.net/2776

e9990638
24-11-2011, 18:30
Lennyvets, Спасибо.

Marinel
05-12-2011, 05:11
Подскажите пожалуйста!
Как убрать окно? http://i32.fastpic.ru/big/2011/1205/15/76e5d4d7a8cab88b678d5702216daa15.jpg (http://fastpic.ru/)




© OSzone.net 2001-2012