Skip to content

Instantly share code, notes, and snippets.

@g3rhard
Created May 17, 2017 04:12
Show Gist options
  • Save g3rhard/7a2dce22c3d79b0a7886c325c7a69487 to your computer and use it in GitHub Desktop.
Save g3rhard/7a2dce22c3d79b0a7886c325c7a69487 to your computer and use it in GitHub Desktop.
Файл ответов для Sysprep после установки Windows Server 2016
<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<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">
<AutoLogon>
<Password>
<Value>admin</Value>
<PlainText>true</PlainText>
</Password>
<Enabled>true</Enabled>
<Username>admin</Username>
</AutoLogon>
<CopyProfile>true</CopyProfile>
<ComputerName>*</ComputerName>
<TimeZone>North Asia East Standard Time</TimeZone>
</component>
</settings>
<settings pass="generalize">
<component name="Microsoft-Windows-Security-SPP" processorArchitecture="wow64" 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="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">
<DesktopOptimization>
<ShowWindowsStoreAppsOnTaskbar>false</ShowWindowsStoreAppsOnTaskbar>
<GoToDesktopOnSignIn>true</GoToDesktopOnSignIn>
</DesktopOptimization>
<FirstLogonCommands>
<SynchronousCommand wcm:action="add">
<RequiresUserInput>true</RequiresUserInput>
<Order>1</Order>
<Description>Run all scripts</Description>
<CommandLine>cmd.exe /c \\server\vagrant\01-windows2016.cmd</CommandLine>
</SynchronousCommand>
</FirstLogonCommands>
<OOBE>
<HideEULAPage>true</HideEULAPage>
<HideLocalAccountScreen>true</HideLocalAccountScreen>
<HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>
<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
<NetworkLocation>Other</NetworkLocation>
</OOBE>
<UserAccounts>
<AdministratorPassword>
<Value>password</Value>
<PlainText>true</PlainText>
</AdministratorPassword>
<LocalAccounts>
<LocalAccount wcm:action="add">
<Password>
<Value>vagrant</Value>
<PlainText>true</PlainText>
</Password>
<Description>VagrantUser</Description>
<DisplayName>Vagrant</DisplayName>
<Group>Administrators</Group>
<Name>vagrant</Name>
</LocalAccount>
<LocalAccount wcm:action="add">
<Password>
<Value>admin</Value>
<PlainText>true</PlainText>
</Password>
<Description>admin</Description>
<DisplayName>admin</DisplayName>
<Group>Administrators</Group>
<Name>admin</Name>
</LocalAccount>
<LocalAccount wcm:action="add">
<Password>
<Value>ansible</Value>
<PlainText>true</PlainText>
</Password>
<Description>Ansible</Description>
<DisplayName>Ansible</DisplayName>
<Group>Administrators</Group>
<Name>ansible</Name>
</LocalAccount>
</LocalAccounts>
</UserAccounts>
<ShowPowerButtonOnStartScreen>true</ShowPowerButtonOnStartScreen>
</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>
</settings>
<cpi:offlineImage cpi:source="wim:c:/temp/windows2016iso/sources/install.wim#Windows Server 2016 SERVERSTANDARD" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment