Created
April 6, 2017 17:25
-
-
Save ruzickap/8d5d96fbc24cda80a0ff2fc0c9b8835e to your computer and use it in GitHub Desktop.
Autounattend.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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>en-US</UILanguage> | |
</SetupUILanguage> | |
<InputLocale>en-US</InputLocale> | |
<SystemLocale>en-US</SystemLocale> | |
<UILanguage>en-US</UILanguage> | |
<UILanguageFallback>en-US</UILanguageFallback> | |
<UserLocale>en-US</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"> | |
<DiskConfiguration> | |
<Disk wcm:action="add"> | |
<CreatePartitions> | |
<CreatePartition wcm:action="add"> | |
<Type>Primary</Type> | |
<Order>1</Order> | |
<Size>350</Size> | |
</CreatePartition> | |
<CreatePartition wcm:action="add"> | |
<Order>2</Order> | |
<Type>Primary</Type> | |
<Extend>true</Extend> | |
</CreatePartition> | |
</CreatePartitions> | |
<ModifyPartitions> | |
<ModifyPartition wcm:action="add"> | |
<Active>true</Active> | |
<Format>NTFS</Format> | |
<Label>boot</Label> | |
<Order>1</Order> | |
<PartitionID>1</PartitionID> | |
</ModifyPartition> | |
<ModifyPartition wcm:action="add"> | |
<Format>NTFS</Format> | |
<Label>Windows 2016</Label> | |
<Letter>C</Letter> | |
<Order>2</Order> | |
<PartitionID>2</PartitionID> | |
</ModifyPartition> | |
</ModifyPartitions> | |
<DiskID>0</DiskID> | |
<WillWipeDisk>true</WillWipeDisk> | |
</Disk> | |
</DiskConfiguration> | |
<ImageInstall> | |
<OSImage> | |
<InstallFrom> | |
<MetaData wcm:action="add"> | |
<Key>/IMAGE/NAME</Key> | |
<Value>Windows Server 2016 SERVERSTANDARD</Value> | |
</MetaData> | |
</InstallFrom> | |
<InstallTo> | |
<DiskID>0</DiskID> | |
<PartitionID>2</PartitionID> | |
</InstallTo> | |
</OSImage> | |
</ImageInstall> | |
<UserData> | |
<ProductKey> | |
<WillShowUI>OnError</WillShowUI> | |
</ProductKey> | |
<AcceptEula>true</AcceptEula> | |
<FullName>Vagrant</FullName> | |
<Organization>Vagrant</Organization> | |
</UserData> | |
</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"> | |
<OEMInformation> | |
<HelpCustomized>false</HelpCustomized> | |
</OEMInformation> | |
<ComputerName>win2012r2</ComputerName> | |
<TimeZone>UTC</TimeZone> | |
<RegisteredOwner/> | |
</component> | |
<component name="Microsoft-Windows-ServerManager-SvrMgrNc" 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"> | |
<DoNotOpenServerManagerAtLogon>true</DoNotOpenServerManagerAtLogon> | |
</component> | |
<component name="Microsoft-Windows-IE-ESC" 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"> | |
<IEHardenAdmin>false</IEHardenAdmin> | |
<IEHardenUser>false</IEHardenUser> | |
</component> | |
<component name="Microsoft-Windows-IE-InternetExplorer" 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"> | |
<SearchScopes> | |
<Scope wcm:action="add"> | |
<ScopeDefault>true</ScopeDefault> | |
<ScopeDisplayName>Google</ScopeDisplayName> | |
<ScopeKey>Google</ScopeKey> | |
<ScopeUrl>http://www.google.com/search?q={searchTerms}</ScopeUrl> | |
</Scope> | |
</SearchScopes> | |
<DisableAccelerators>true</DisableAccelerators> | |
<DisableFirstRunWizard>true</DisableFirstRunWizard> | |
<Home_Page>about:blank</Home_Page> | |
</component> | |
<component name="Microsoft-Windows-TerminalServices-LocalSessionManager" 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"> | |
<fDenyTSConnections>false</fDenyTSConnections> | |
</component> | |
<component name="Microsoft-Windows-TerminalServices-RDP-WinStationExtensions" 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"> | |
<UserAuthentication>0</UserAuthentication> | |
</component> | |
<component name="Networking-MPSSVC-Svc" 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"> | |
<FirewallGroups> | |
<FirewallGroup wcm:action="add" wcm:keyValue="RemoteDesktop"> | |
<Active>true</Active> | |
<Group>Remote Desktop</Group> | |
<Profile>all</Profile> | |
</FirewallGroup> | |
</FirewallGroups> | |
</component> | |
<component name="Microsoft-Windows-OutOfBoxExperience" 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"> | |
<DoNotOpenInitialConfigurationTasksAtLogon>true</DoNotOpenInitialConfigurationTasksAtLogon> | |
</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="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>vagrant</Value> | |
<PlainText>true</PlainText> | |
</Password> | |
<Enabled>true</Enabled> | |
<Username>vagrant</Username> | |
</AutoLogon> | |
<OOBE> | |
<HideEULAPage>true</HideEULAPage> | |
<HideLocalAccountScreen>true</HideLocalAccountScreen> | |
<HideOEMRegistrationScreen>true</HideOEMRegistrationScreen> | |
<HideOnlineAccountScreens>true</HideOnlineAccountScreens> | |
<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE> | |
<NetworkLocation>Home</NetworkLocation> | |
<!-- | |
ProtectYourPC: | |
1 Specifies the recommended level of protection for your computer. | |
2 Specifies that only updates are installed. | |
3 Specifies that automatic protection is disabled. | |
--> | |
<ProtectYourPC>2</ProtectYourPC> | |
</OOBE> | |
<UserAccounts> | |
<AdministratorPassword> | |
<Value>vagrant</Value> | |
<PlainText>true</PlainText> | |
</AdministratorPassword> | |
<LocalAccounts> | |
<LocalAccount wcm:action="add"> | |
<Password> | |
<Value>vagrant</Value> | |
<PlainText>true</PlainText> | |
</Password> | |
<Group>administrators</Group> | |
<DisplayName>Vagrant</DisplayName> | |
<Name>vagrant</Name> | |
<Description>Vagrant User</Description> | |
</LocalAccount> | |
</LocalAccounts> | |
</UserAccounts> | |
<FirstLogonCommands> | |
<SynchronousCommand wcm:action="add"> | |
<CommandLine>cmd.exe /c powershell -ExecutionPolicy Bypass -Command "Invoke-Expression ((New-Object System.Net.Webclient).DownloadString('https://raw.githubusercontent.com/ansible/ansible/devel/examples/scripts/ConfigureRemotingForAnsible.ps1'))"</CommandLine> | |
<Description>Enable WinRM</Description> | |
<Order>1</Order> | |
<RequiresUserInput>true</RequiresUserInput> | |
</SynchronousCommand> | |
</FirstLogonCommands> | |
<RegisteredOwner/> | |
</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> | |
<cpi:offlineImage cpi:source="wim:d:/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