PDA

Показать полную графическую версию : [статья] Файл ответов (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

Boa Soft
23-05-2016, 02:10
Существует ли способ запретить 10 скачивать и устанавливать обновления при установке системы. Не запретить обновления вообще, а именно в процессе установки. Нет ли такого параметра в файле ответов?

Boa Soft
23-05-2016, 21:45
Вообщем, поясню к предидущему посту.

Нужен аналог того, что выделено на картинке при запуске установки из-под Windows, или же аналог ключа DUDisable = yes в файле ответов для WindowsXP.

Vadikan
25-05-2016, 18:19
Boa Soft, оно (https://technet.microsoft.com/en-us/library/cc722308(v=ws.10).aspx)?

<DynamicUpdate>
<Enable>false</Enable>
<WillShowUI>Never</WillShowUI>
</DynamicUpdate>

Что-то на текнете описание куцее, из ADK CHM

DynamicUpdate specifies whether to enable Dynamic Updates during Windows Setup. Dynamic Updates search for new Windows Setup files, including drivers and other files, to be used to install the Windows operating system.

Впрочем, там же написано
false
Disables dynamic updates. This is the default value

Boa Soft
30-05-2016, 17:53
Boa Soft, оно? »
Нет, как я понял, это не скачивать в самом начале, на PE проходе обновления.
В прочим, с причиной разобрался.

При подключенном соединении после прохождения OOBE обновлялся дефендер, и начинал усиленно проверять sfx архивы, устанавливаемые из SetupComplete. Поэтому и при малом объеме памяти, выделенной VM, процесс сильно тормозился, хотя все и устанавливалось. Вылечилось отключением защитника через файл ответов и повторного включения после окончания OOBE.

sov44
30-05-2016, 18:00
Вылечилось отключением защитника через файл ответов и повторного включения после окончания OOBE. »
покажите файл ответов :)

Boa Soft
31-05-2016, 00:49
покажите файл ответов »


<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<settings pass="oobeSystem">
<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">
<OOBE>
<ProtectYourPC>3</ProtectYourPC>
<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
<HideEULAPage>true</HideEULAPage>
<HideOnlineAccountScreens>true</HideOnlineAccountScreens>
<HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>
</OOBE>
<FirstLogonCommands>
<SynchronousCommand wcm:action="add">
<Order>10</Order>
<CommandLine>%SystemRoot%\Setup\cleanup.cmd</CommandLine>
<RequiresUserInput>false</RequiresUserInput>
</SynchronousCommand>
<SynchronousCommand wcm:action="add">
<Order>20</Order>
<CommandLine>cmd /c start shutdown /r /f /t 00</CommandLine>
<RequiresUserInput>false</RequiresUserInput>
</SynchronousCommand>
</FirstLogonCommands>
<UserAccounts>
<LocalAccounts>
<LocalAccount wcm:action="add">
<Name>User</Name>
<DisplayName>Пользователь</DisplayName>
<Description>Владелец компьютера</Description>
<Group>Administrators</Group>
<Password>
<Value>UABhAHMAcwB3AG8AcgBkAA==</Value>
<PlainText>false</PlainText>
</Password>
</LocalAccount>
</LocalAccounts>
</UserAccounts>
<ShowPowerButtonOnStartScreen>true</ShowPowerButtonOnStartScreen>
<DesktopOptimization>
<ShowWindowsStoreAppsOnTaskbar>false</ShowWindowsStoreAppsOnTaskbar>
</DesktopOptimization>
</component>
<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">
<OOBE>
<ProtectYourPC>3</ProtectYourPC>
<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
<HideEULAPage>true</HideEULAPage>
<HideOnlineAccountScreens>true</HideOnlineAccountScreens>
<HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>
</OOBE>
<FirstLogonCommands>
<SynchronousCommand wcm:action="add">
<Order>10</Order>
<CommandLine>%SystemRoot%\Setup\cleanup.cmd</CommandLine>
<RequiresUserInput>false</RequiresUserInput>
</SynchronousCommand>
<SynchronousCommand wcm:action="add">
<Order>20</Order>
<CommandLine>cmd /c start shutdown /r /f /t 00</CommandLine>
<RequiresUserInput>false</RequiresUserInput>
</SynchronousCommand>
</FirstLogonCommands>
<UserAccounts>
<LocalAccounts>
<LocalAccount wcm:action="add">
<Name>User</Name>
<DisplayName>Пользователь</DisplayName>
<Description>Владелец компьютера</Description>
<Group>Administrators</Group>
<Password>
<Value>UABhAHMAcwB3AG8AcgBkAA==</Value>
<PlainText>false</PlainText>
</Password>
</LocalAccount>
</LocalAccounts>
</UserAccounts>
<ShowPowerButtonOnStartScreen>true</ShowPowerButtonOnStartScreen>
<DesktopOptimization>
<ShowWindowsStoreAppsOnTaskbar>false</ShowWindowsStoreAppsOnTaskbar>
</DesktopOptimization>
</component>
<component name="Microsoft-Windows-International-Core" 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">
<InputLocale>ru-ru</InputLocale>
<SystemLocale>ru-ru</SystemLocale>
<UILanguage>ru-ru</UILanguage>
<UserLocale>ru-ru</UserLocale>
</component>
<component name="Microsoft-Windows-International-Core" 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>ru-ru</InputLocale>
<SystemLocale>ru-ru</SystemLocale>
<UILanguage>ru-ru</UILanguage>
<UserLocale>ru-ru</UserLocale>
</component>
<component name="Security-Malware-Windows-Defender" 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">
<DisableAntiSpyware>true</DisableAntiSpyware>
</component>
<component name="Security-Malware-Windows-Defender" 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">
<DisableAntiSpyware>true</DisableAntiSpyware>
</component>
</settings>
<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">
<ComputerName>PC-2016</ComputerName>
<RegisteredOrganization>Fabrikam</RegisteredOrganization>
<RegisteredOwner>Windows User</RegisteredOwner>
<ShowPowerButtonOnStartScreen>true</ShowPowerButtonOnStartScreen>
<TimeZone>Russian Standard Time</TimeZone>
</component>
<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>PC-2016</ComputerName>
<RegisteredOrganization>Fabrikam</RegisteredOrganization>
<RegisteredOwner>Windows User</RegisteredOwner>
<ShowPowerButtonOnStartScreen>true</ShowPowerButtonOnStartScreen>
<TimeZone>Russian Standard Time</TimeZone>
</component>
</settings>
<cpi:offlineImage cpi:source="catalog:g:/workwin10/x64/sources/install_windows 10 pro.clg" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>


Разрешить потом:
reg delete "HKLM\SOFTWARE\Policies\Microsoft\Windows Defender" /v DisableAntiSpyware /f

Шик
02-06-2016, 10:22
Подскажите в чем может быть проблемма. Настроил файл ответов для Windows 10. Все настроечки применяются, но при распаковке все равно появляется страница привествия где нужно выбирать язык приложения/раскладки и т.д.

<?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>ru-RU</UILanguage>
</SetupUILanguage>
<InputLocale>en-US</InputLocale>
<SystemLocale>ru-RU</SystemLocale>
<UILanguage>ru-RU</UILanguage>
<UserLocale>ru-RU</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">
<UserData>
<AcceptEula>true</AcceptEula>
<FullName>user</FullName>
<Organization>OBS</Organization>
</UserData>
</component>
</settings>
<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">
<Display>
<HorizontalResolution>1280</HorizontalResolution>
<VerticalResolution>1024</VerticalResolution>
</Display>
<ComputerName>TempName</ComputerName>
</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">
<OOBE>
<HideEULAPage>true</HideEULAPage>
<HideLocalAccountScreen>false</HideLocalAccountScreen>
<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
<NetworkLocation>Work</NetworkLocation>
</OOBE>
<UserAccounts>
<LocalAccounts>
<LocalAccount wcm:action="add">
<Password>
<Value>MQAyADMANAA1ADYAUABhAHMAcwB3AG8AcgBkAA==</Value>
<PlainText>false</PlainText>
</Password>
<Group>Administrators</Group>
<Name>user</Name>
</LocalAccount>
</LocalAccounts>
</UserAccounts>
</component>
</settings>
<cpi:offlineImage cpi:source="wim:e:/install.wim#Windows 10 Enterprise 2015 LTSB" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>

oooluk@vk
16-06-2016, 15:19
Вообщем через WinToolkit сгенерировал код
<?xml version="1.0" encoding="utf-8"?>
<!--Created by Win Toolkit v1.4.0.44-->
<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">
<UserData>
<AcceptEula>true</AcceptEula>
</UserData>
</component>
<component name="Microsoft-Windows-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">
<UserData>
<AcceptEula>true</AcceptEula>
</UserData>
</component>
</settings>
<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">
<ProductKey>HYF8J-CVRMY-CM74G-RPHKF-PW487</ProductKey>
<ComputerName>home-PC</ComputerName>
</component>
<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">
<ProductKey>HYF8J-CVRMY-CM74G-RPHKF-PW487</ProductKey>
<ComputerName>home-PC</ComputerName>
</component>
<component name="Microsoft-Windows-Security-SPP-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-Security-SPP-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>
<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">
<OOBE>
<HideEULAPage>true</HideEULAPage>
<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
<NetworkLocation>Work</NetworkLocation>
<ProtectYourPC>3</ProtectYourPC>
</OOBE>
<RegisteredOwner>user</RegisteredOwner>
<RegisteredOrganization>Home</RegisteredOrganization>
<AutoLogon>
<Password>
<Value />
</Password>
<Enabled>true</Enabled>
<LogonCount>9999999</LogonCount>
<Username>user</Username>
</AutoLogon>
<TimeZone>Russian Standard Time</TimeZone>
</component>
<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">
<OOBE>
<HideEULAPage>true</HideEULAPage>
<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
<NetworkLocation>Work</NetworkLocation>
<ProtectYourPC>3</ProtectYourPC>
</OOBE>
<RegisteredOwner>user</RegisteredOwner>
<RegisteredOrganization>Home</RegisteredOrganization>
<AutoLogon>
<Password>
<Value />
</Password>
<Enabled>true</Enabled>
<LogonCount>9999999</LogonCount>
<Username>user</Username>
</AutoLogon>
<TimeZone>Russian Standard Time</TimeZone>
</component>
</settings>
</unattend>


Мне еще надо добавить вот это:
<LocalAccount>
<Name>MyAccount</Name>
<DisplayName>NEWVALUE</DisplayName>
<Description>NEWVALUE</Description>
<Password>
<PlainText>false</PlainText>
<Value>NEWVALUEBASE64</Value>
</Password>
</LocalAccount>

Вот только я совсем не пойму как надо сделать.
Вообщем мне надо чтобы в oobe не создавался профиль и не спрашивалось имя ПК.

Veritas-AC
30-06-2016, 08:41
Доброго времени суток!
Есть потребность в создании файла ответа для Win10x64.
Требуется включение встроенной учетной записи Администратора.
Для этого в файл автоответа вписал:
<AutoLogon>
<Password>
<Value>password</Value>
<PlainText>false</PlainText>
</Password>
<Username>Administrator</Username>
<LogonCount>5</LogonCount>
<Enabled>true</Enabled>
</AutoLogon>
В остальном оставил его практически без изменений(пропуск EULA и тп).
После установки происходит автоматический вход в ОС, но не во встроенного админа, а создается еще одна учетная запись "Администратор.сгенерированное_имя_ПК".
На Win7-Win8 такой проблемы не возникало.
Может подскажет кто чего?
UPD: полный файл
<?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="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">
<SetupUILanguage>
<UILanguage>ru-RU</UILanguage>
</SetupUILanguage>
<InputLocale>en-US</InputLocale>
<SystemLocale>ru-RU</SystemLocale>
<UILanguage>ru-RU</UILanguage>
<UserLocale>ru-RU</UserLocale>
</component>
<component name="Microsoft-Windows-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">
<UserData>
<AcceptEula>true</AcceptEula>
</UserData>
</component>
</settings>
<settings pass="oobeSystem">
<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">
<AutoLogon>
<Password>
<Value>WgBhAGsAYQBkAHUAbQAxAFAAYQBzAHMAdwBvAHIAZAA=</Value>
<PlainText>false</PlainText>
</Password>
<Username>Administrator</Username>
<LogonCount>5</LogonCount>
<Enabled>true</Enabled>
</AutoLogon>
<DesktopOptimization>
<ShowWindowsStoreAppsOnTaskbar>false</ShowWindowsStoreAppsOnTaskbar>
</DesktopOptimization>
<OOBE>
<HideEULAPage>true</HideEULAPage>
<HideLocalAccountScreen>true</HideLocalAccountScreen>
<HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>
<HideOnlineAccountScreens>true</HideOnlineAccountScreens>
<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
<NetworkLocation>Home</NetworkLocation>
<ProtectYourPC>3</ProtectYourPC>
<SkipMachineOOBE>true</SkipMachineOOBE>
<SkipUserOOBE>true</SkipUserOOBE>
</OOBE>
<ShowWindowsLive>false</ShowWindowsLive>
<TimeZone>Ekaterinburg Standard Time</TimeZone>
</component>
</settings>
<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">
<CopyProfile>true</CopyProfile>
</component>
</settings>
<settings pass="generalize">
<SkipRearm>1</SkipRearm>
</component>
</settings>

</unattend>

_ck
07-07-2016, 21:45
Цитата mover:
В процессе эксплуатации понял, что не мне не хватает экрана с возможностью запустить средства восстановления системы »
Shift+F10 - recenv
Файл в X:\Sources\recovery\ »
Объясните,пожалуйста,чуть подробнее? При добавлении базового файла ответов сразу пропускается экран с кнопкой "Установить".Сочетание клавиш SHIFT+F10 открывает командную строку,папки recovery в Sources нет.Что туда нужно положить?
Мне нужен вначале вот этот экран:
http://screenshots.mtlt.ru/2016/146793148140_kiss_33kb.jpg

Black Babay
08-07-2016, 10:31
Veritas-AC, что-то мне подсказывает что надо прописывать по две секции и для x86 и для amd64. Впрочем, могу и ошибаться.

Ж.Д.А.Л.К.Е.Р.
08-07-2016, 11:47
_ck, При наличие файла ответов, установщик ОС автоматически скрывает данное окно. Можно попробовать костылями его вернуть. В своей сборке семерки я использую WinPE (boot.wim) от десятки, и там удалось оставить это окно + то где выбор устанавливаемой ОС что в install.wim/install.esd (ei.cfg отсутствует и установщик не просит ключ). А с помощью файла ответов скрыть окно принятия лицензия и выбора установки ОС обновление/чистая установка. Если интересует - распишу.

_ck
08-07-2016, 17:21
Ж.Д.А.Л.К.Е.Р., мне файл ответов нужен только для того, чтобы вписать OEM информацию (логотип и производитель), т.к. я не знаю, как НЕ разбирая образы install.wim или boot.wim (не знаю даже, где хранится) её прописать, а в файле ответов я могу прописать эту информацию, а сам логотип кладу по пути Sources\$OEM$\$$\SYSTEM32\oemlogo.bmp. Быть может есть другой несложный способ,как сразу изменять эти данные?

geepnozeex
10-07-2016, 21:01
для ликвидации этих (https://fix10.isleaked.com/assets/img/ru/2.png) окон и все параметры в них в выкл
в файле ответов ставим

<OOBE>
<ProtectYourPC>3</ProtectYourPC>
</OOBE>

источник (https://msdn.microsoft.com/ru-ru/library/dn915741(v=vs.85).aspx)

geepnozeex
12-07-2016, 14:08
создается еще одна учетная запись "Администратор.сгенерированное_имя_ПК". »
это я заметил на обновлённом образе TH2 .
на оригинале 10586 этого нет.

AlexM22204
18-07-2016, 22:07
Как отключить вот это окно в AutoUnattend.xml при первом входе в систему (Windows 10 Enterprise 2015 LTSB x64). Заранее спасибо!
Приму дельные советы по AutoUnattend.xml. :cool:
http://s017.radikal.ru/i415/1607/7c/c0fb7e3c86a8t.jpg (http://radikal.ru/F/s017.radikal.ru/i415/1607/7c/c0fb7e3c86a8.jpg.html)
<?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="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">
<SetupUILanguage>
<UILanguage>ru-RU</UILanguage>
</SetupUILanguage>
<InputLocale>en-US; ru-RU</InputLocale>
<SystemLocale>ru-RU</SystemLocale>
<UILanguage>ru-RU</UILanguage>
<UserLocale>ru-RU</UserLocale>
</component>
<component name="Microsoft-Windows-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">
<ImageInstall>
<OSImage>
<InstallFrom>
<MetaData wcm:action="add">
<Key>/IMAGE/NAME</Key>
<Value>Windows 10 Enterprise 2015 LTSB</Value>
</MetaData>
</InstallFrom>
<WillShowUI>OnError</WillShowUI>
</OSImage>
</ImageInstall>
<Display>
<ColorDepth>32</ColorDepth>
<VerticalResolution>768</VerticalResolution>
<HorizontalResolution>1024</HorizontalResolution>
</Display>
<UserData>
<AcceptEula>true</AcceptEula>
<FullName>Электрик</FullName>
<Organization>Домашний-ПК</Organization>
</UserData>
<EnableFirewall>true</EnableFirewall>
</component>
</settings>
<settings pass="offlineServicing">
<component name="Microsoft-Windows-LUA-Settings" 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">
<EnableLUA>false</EnableLUA>
</component>
</settings>
<settings pass="generalize">
<component name="Microsoft-Windows-Security-SPP" 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">
<SkipRearm>1</SkipRearm>
</component>
</settings>
<settings pass="specialize">
<component name="Microsoft-Windows-Security-SPP-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>
<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">
<Display>
<ColorDepth>32</ColorDepth>
<HorizontalResolution>1024</HorizontalResolution>
<VerticalResolution>768</VerticalResolution>
</Display>
<ComputerName>Computer</ComputerName>
<TimeZone>Belarus Standard Time</TimeZone>
<ProductKey>XXXXX-XXXXX-XXXXX-XXXXX-XXXXX</ProductKey>
<DisableAutoDaylightTimeSet>true</DisableAutoDaylightTimeSet>
</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>Home</JoinWorkgroup>
</Identification>
</component>
</settings>
<settings pass="oobeSystem">
<component name="Microsoft-Windows-International-Core" 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">
<InputLocale>ru-RU; en-US</InputLocale>
<SystemLocale>ru-RU</SystemLocale>
<UILanguage>ru-RU</UILanguage>
<UserLocale>ru-RU</UserLocale>
</component>
<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">
<AutoLogon>
<Password>
<Value>UABhAHMAcwB3AG8AcgBkAA==</Value>
<PlainText>false</PlainText>
</Password>
<Username>Электрик</Username>
<Enabled>true</Enabled>
</AutoLogon>
<Display>
<ColorDepth>32</ColorDepth>
<VerticalResolution>768</VerticalResolution>
<HorizontalResolution>1024</HorizontalResolution>
</Display>
<OOBE>
<HideEULAPage>true</HideEULAPage>
<ProtectYourPC>3</ProtectYourPC>
<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
</OOBE>
<TimeZone>Belarus Standard Time</TimeZone>
<UserAccounts>
<AdministratorPassword>
<Value>QQBkAG0AaQBuAGkAcwB0AHIAYQB0AG8AcgBQAGEAcwBzAHcAbwByAGQA</Value>
<PlainText>false</PlainText>
</AdministratorPassword>
<LocalAccounts>
<LocalAccount wcm:action="add">
<Password>
<Value>UABhAHMAcwB3AG8AcgBkAA==</Value>
<PlainText>false</PlainText>
</Password>
<Name>Электрик</Name>
<Group>Administrators</Group>
</LocalAccount>
</LocalAccounts>
</UserAccounts>
<FirstLogonCommands>
<SynchronousCommand wcm:action="add">
<Order>2</Order>
<CommandLine>net localgroups Пользователи Электрик /delete</CommandLine>
</SynchronousCommand>
<SynchronousCommand wcm:action="add">
<Order>4</Order>
<CommandLine>net accounts /maxpwage:unlimited</CommandLine>
</SynchronousCommand>
</FirstLogonCommands>
</component>
</settings>
<cpi:offlineImage cpi:source="wim:e:/ru_windows_10_enterprise_2015_ltsb_x64/sources/install.wim#Windows 10 Enterprise 2015 LTSB" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>

0pupentium
20-07-2016, 20:25
Как отключить вот это окно »

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList]
"FirstNetwork"=dword:00000000

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\Profiles\{FC966419-7F15-495A-A20F-70D2B57A7DBA}]
"Category"=dword:00000001
"CategoryType"=dword:00000000
"Description"="Сеть"
"Managed"=dword:00000000
"NameType"=dword:00000006
"ProfileName"="Сеть"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\Signatures\Unmanaged\010103000F0000F0080000000F0000F09783FF2D5B86E9F4F 780501155E7F1D4453D1A970990F34B5FA5CA974FD4A949]
"DefaultGatewayMac"=hex:84,1b,5e,ee,01,d6
"Description"="Сеть"
"DnsSuffix"="<отсутствует>"
"FirstNetwork"="Сеть"
"ProfileGuid"="{FC966419-7F15-495A-A20F-70D2B57A7DBA}"
"Source"=dword:00000008

SaintAvenger
20-07-2016, 22:07
Добрый вечер
Переделаваю файл ответов для Win7 х64, есть такой код:

<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<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">
<CopyProfile>true</CopyProfile>
<ComputerName></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></JoinWorkgroup>
<JoinDomain>niiis.ru</JoinDomain>
<Credentials>
<Domain>niiis.ru</Domain>
<Password>***</Password>
<Username>administrator</Username>
</Credentials>
</Identification>
</component>
</settings>
<settings pass="oobeSystem">
<component name="Microsoft-Windows-International-Core" 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; ru-ru</InputLocale>
<SystemLocale>ru-ru</SystemLocale>
<UILanguage>ru-ru</UILanguage>
<UserLocale>ru-ru</UserLocale>
</component>
<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">
<OOBE>
<HideEULAPage>true</HideEULAPage>
<NetworkLocation>Home</NetworkLocation>
<ProtectYourPC>3</ProtectYourPC>
</OOBE>
<TimeZone>Russian Standart Time</TimeZone>
<UserAccounts>
<LocalAccounts>
<LocalAccount wcm:action="add">
<Password>
<Value>***</Value>
<PlainText>false</PlainText>
</Password>
<Group>administrators</Group>
<Name>Admin</Name>
</LocalAccount>
</LocalAccounts>
</UserAccounts>
</component>
</settings>
<settings pass="generalize">
<component name="Microsoft-Windows-PnpSysprep" 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">
<PersistAllDeviceInstalls>true</PersistAllDeviceInstalls>
</component>
</settings>
<cpi:offlineImage cpi:source="catalog:d:/sources/install_windows 7 ultimate.clg" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>


Подскажите пожалуйста:
1. В WinXP при развертывании системы мог самостоятельно указать нужное мне имя компьютера в домене, а в Win7 нигде не нахожу как указать этот параметр, причём образ нужно развёртывать на много компьютеров и имена все должны быть разные, но не рандомные.
2. Возникает окно с датой и временем. Можно ли сделать так, чтобы дата и время брались с сервера/из биоса и ничего подтверждать не нужно было?
3. Какой программой можно зашифровать пароль локального администратора?

Буду благодарен любой помощи!

AlexM22204
21-07-2016, 12:55
Его можно отключить твиком реестра: »
спасибо, но хотелось бы через AutoUnattend.xml :sorry:

399Dmitr933
02-08-2016, 10:43
Здравствуйте! Имеется фаqл ответов для Win 8.1 x64


<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<settings pass="specialize">
<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>
<Credentials>
<Domain>имядомена</Domain>
<Password>пароль</Password>
<Username>wds_connect</Username>
</Credentials>
<JoinDomain>имядомена</JoinDomain>
<UnsecureJoin>false</UnsecureJoin>
<MachineObjectOU>OU=WDS_Computers,OU=_организация_,DC=имядомена</MachineObjectOU>
</Identification>
</component>
<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">
<ComputerName>%MACHINENAME%</ComputerName>
<RegisteredOwner>ОАО организация</RegisteredOwner>
<RegisteredOrganization>ОАО организация</RegisteredOrganization>
</component>
</settings>
<settings pass="oobeSystem">
<component name="Microsoft-Windows-International-Core" 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">
<InputLocale>en-us; ru-ru</InputLocale>
<SystemLocale>ru-ru</SystemLocale>
<UILanguage>ru-ru</UILanguage>
<UserLocale>ru-ru</UserLocale>
</component>
<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">
<AutoLogon>
<Password>
<Value>хэшпароля</Value>
<PlainText>false</PlainText>
</Password>
<Domain>имядомена</Domain>
<Enabled>true</Enabled>
<LogonCount>1</LogonCount>
<Username>qwerty</Username>
</AutoLogon>
<OOBE>
<HideEULAPage>true</HideEULAPage>
<NetworkLocation>Work</NetworkLocation>
<ProtectYourPC>3</ProtectYourPC>
<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
</OOBE>
<UserAccounts>
<AdministratorPassword>
<Value>хэшпароля</Value>
<PlainText>false</PlainText>
</AdministratorPassword>
<DomainAccounts>
<DomainAccountList wcm:action="add">
<DomainAccount wcm:action="add">
<Group>Administrators</Group>
<Name>qwerty</Name>
</DomainAccount>
<Domain>имядомена</Domain>
</DomainAccountList>
</DomainAccounts>
</UserAccounts>
<TimeZone>Russian Standard Time</TimeZone>
<ShowWindowsLive>false</ShowWindowsLive>
<RegisteredOwner>ОАО организация</RegisteredOwner>
<RegisteredOrganization>ОАО организация</RegisteredOrganization>
</component>
</settings>
<cpi:offlineImage cpi:source="wim:d:/%D1%81%D0%BE%D1%84%D1%82/os/windows/win8/win8.1/windows%208.1/install.wim#Windows 8.1 Pro" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>





Есть следующая проблема: если ПК новый (не разу не был в домене), то при установке не происходит присоединение к домену и само собой во время логон'а винда ругается на несуществующую учётную запись. Если ПК после этого ПК ввести вручную в домен, и повторно запустить установку, всё отрабатывает на ура.

Получается, что автоустановка происходит только на "знакомых" для домена машинах. Как это победить?

P.S. один из контролеров на 2012 R2 еще 2 на 2008 R2 уровень домена Windows Server 2008 R2. WDS на Windows Server 2008 R2




© OSzone.net 2001-2012