-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #57 from juliandunn/BENTO-47
[BENTO-47] Regenerate Autounattend.xml for Windows 2012 to unbreak it.
- Loading branch information
Showing
2 changed files
with
106 additions
and
207 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,235 +1,163 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<unattend xmlns="urn:schemas-microsoft-com:unattend"> | ||
<servicing></servicing> | ||
|
||
<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> | ||
<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"> | ||
<Order>1</Order> | ||
<Type>Primary</Type> | ||
<Size>20000</Size> | ||
<Type>Primary</Type> | ||
</CreatePartition> | ||
</CreatePartitions> | ||
|
||
<ModifyPartitions> | ||
<ModifyPartition wcm:action="add"> | ||
<Extend>false</Extend> | ||
<Format>NTFS</Format> | ||
<Label>Windows 2012</Label> | ||
<Letter>C</Letter> | ||
<Order>1</Order> | ||
<PartitionID>1</PartitionID> | ||
<Label>Windows 2012</Label> | ||
</ModifyPartition> | ||
</ModifyPartitions> | ||
|
||
<DiskID>0</DiskID> | ||
<WillWipeDisk>true</WillWipeDisk> | ||
|
||
</Disk> | ||
<WillShowUI>OnError</WillShowUI> | ||
</DiskConfiguration> | ||
|
||
<UserData> | ||
<!-- Product Key from http://technet.microsoft.com/en-us/library/ff793406.aspx --> | ||
<ProductKey>YC6KT-GKW9T-YTKYR-T4X34-R7VHC | ||
<WillShowUI>Never</WillShowUI> | ||
</ProductKey> | ||
|
||
<AcceptEula>true</AcceptEula> | ||
<FullName>Vagrant Fullname</FullName> | ||
<Organization>Vagrant Inc</Organization> | ||
</UserData> | ||
|
||
<ImageInstall> | ||
<OSImage> | ||
<InstallTo> | ||
<DiskID>0</DiskID> | ||
<PartitionID>1</PartitionID> | ||
</InstallTo> | ||
<WillShowUI>OnError</WillShowUI> | ||
<InstallToAvailablePartition>false</InstallToAvailablePartition> | ||
<InstallFrom> | ||
<MetaData wcm:action="add"> | ||
<Key>/IMAGE/NAME</Key> | ||
<Value>Windows Server 2012 SERVERSTANDARD</Value> | ||
</MetaData> | ||
</InstallFrom> | ||
<InstallTo> | ||
<DiskID>0</DiskID> | ||
<PartitionID>1</PartitionID> | ||
</InstallTo> | ||
</OSImage> | ||
</ImageInstall> | ||
|
||
<UserData> | ||
<AcceptEula>true</AcceptEula> | ||
<FullName>Vagrant</FullName> | ||
<Organization>Vagrant</Organization> | ||
</UserData> | ||
</component> | ||
|
||
<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> | ||
</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"> | ||
<AutoLogon> | ||
<Password> | ||
<Value>dgBhAGcAcgBhAG4AdABQAGEAcwBzAHcAbwByAGQA</Value> | ||
<PlainText>false</PlainText> | ||
</Password> | ||
<Enabled>true</Enabled> | ||
<Username>Administrator</Username> | ||
</AutoLogon> | ||
<ComputerName>vagrant-2012</ComputerName> | ||
<RegisteredOrganization>Vagrant</RegisteredOrganization> | ||
<RegisteredOwner>Vagrant</RegisteredOwner> | ||
<TimeZone>UTC</TimeZone> | ||
<ProductKey>XC9B7-NBPP2-83J2H-RHMBY-92BT4</ProductKey> | ||
</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"> | ||
<UserAccounts> | ||
<AdministratorPassword> | ||
<Value>vagrant</Value> | ||
<PlainText>true</PlainText> | ||
</AdministratorPassword> | ||
<LocalAccounts> | ||
<LocalAccount wcm:action="add"> | ||
<Password> | ||
<Value>vagrant</Value> | ||
<PlainText>true</PlainText> | ||
</Password> | ||
<Description>Vagrant User</Description> | ||
<DisplayName>vagrant</DisplayName> | ||
<Group>administrators</Group> | ||
<Name>vagrant</Name> | ||
</LocalAccount> | ||
</LocalAccounts> | ||
</UserAccounts> | ||
<OOBE> | ||
<HideEULAPage>true</HideEULAPage> | ||
<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE> | ||
<NetworkLocation>Home</NetworkLocation> | ||
<ProtectYourPC>1</ProtectYourPC> | ||
<HideOnlineAccountScreens>true</HideOnlineAccountScreens> | ||
<HideLocalAccountScreen>true</HideLocalAccountScreen> | ||
<SkipUserOOBE>true</SkipUserOOBE> | ||
<HideOEMRegistrationScreen>true</HideOEMRegistrationScreen> | ||
</OOBE> | ||
<AutoLogon> | ||
<Password> | ||
<Value>vagrant</Value> | ||
<PlainText>true</PlainText> | ||
<Value>dgBhAGcAcgBhAG4AdABQAGEAcwBzAHcAbwByAGQA</Value> | ||
<PlainText>false</PlainText> | ||
</Password> | ||
<Username>administrator</Username> | ||
<Enabled>true</Enabled> | ||
<Username>Administrator</Username> | ||
</AutoLogon> | ||
<FirstLogonCommands> | ||
<!-- <SynchronousCommand wcm:action="add"> --> | ||
<!-- <CommandLine>cmd.exe /c a:install-cygwin-sshd.bat</CommandLine> --> | ||
<!-- <Description>Install Cygwin SSH</Description> --> | ||
<!-- <Order>1</Order> --> | ||
<!-- <RequiresUserInput>true</RequiresUserInput> --> | ||
<!-- </SynchronousCommand> --> | ||
<!-- <SynchronousCommand wcm:action="add"> --> | ||
<!-- <CommandLine>cmd.exe /c a:install-winrm.bat</CommandLine> --> | ||
<!-- <Description>Install Win RM</Description> --> | ||
<!-- <Order>2</Order> --> | ||
<!-- <RequiresUserInput>true</RequiresUserInput> --> | ||
<!-- </SynchronousCommand> --> | ||
<SynchronousCommand wcm:action="add"> | ||
<CommandLine>cmd.exe /c winrm quickconfig -q</CommandLine> | ||
<Description>winrm quickconfig -q</Description> | ||
<Order>1</Order> | ||
<RequiresUserInput>true</RequiresUserInput> | ||
<CommandLine>cmd.exe /c winrm quickconfig -q</CommandLine> | ||
<Description>winrm quickconfig -q</Description> | ||
</SynchronousCommand> | ||
<SynchronousCommand wcm:action="add"> | ||
<CommandLine>cmd.exe /c winrm quickconfig -transport:http</CommandLine> | ||
<Description>winrm quickconfig -transport:http</Description> | ||
<Order>2</Order> | ||
<CommandLine>cmd.exe /c winrm set winrm/config/winrs @{MaxMemoryPerShellMB="300"}</CommandLine> | ||
<RequiresUserInput>true</RequiresUserInput> | ||
<Description>winrm memory</Description> | ||
</SynchronousCommand> | ||
<SynchronousCommand wcm:action="add"> | ||
<CommandLine>cmd.exe /c winrm set winrm/config @{MaxTimeoutms="1800000"}</CommandLine> | ||
<Description>Win RM MaxTimoutms</Description> | ||
<Description>winrm timeout</Description> | ||
<Order>3</Order> | ||
<RequiresUserInput>true</RequiresUserInput> | ||
</SynchronousCommand> | ||
<SynchronousCommand wcm:action="add"> | ||
<CommandLine>cmd.exe /c winrm set winrm/config/winrs @{MaxMemoryPerShellMB="300"}</CommandLine> | ||
<Description>Win RM MaxMemoryPerShellMB</Description> | ||
<CommandLine>cmd.exe /c winrm set winrm/config/service @{AllowUnencrypted="true"}</CommandLine> | ||
<Description>winrm encryption</Description> | ||
<Order>4</Order> | ||
<RequiresUserInput>true</RequiresUserInput> | ||
</SynchronousCommand> | ||
<SynchronousCommand wcm:action="add"> | ||
<CommandLine>cmd.exe /c winrm set winrm/config/service @{AllowUnencrypted="true"}</CommandLine> | ||
<Description>Win RM AllowUnencrypted</Description> | ||
<CommandLine>winrm set winrm/config/service/auth @{Basic="true"}</CommandLine> | ||
<Description>winrm basic auth</Description> | ||
<Order>5</Order> | ||
<RequiresUserInput>true</RequiresUserInput> | ||
</SynchronousCommand> | ||
<SynchronousCommand wcm:action="add"> | ||
<CommandLine>cmd.exe /c winrm set winrm/config/service/auth @{Basic="true"}</CommandLine> | ||
<Description>Win RM auth Basic</Description> | ||
<CommandLine>cmd.exe /c netsh advfirewall firewall set rule name="Windows Remote Management (HTTP-In)" profile=public protocol=tcp localport=5985 remoteip=localsubnet new remoteip=any</CommandLine> | ||
<Description>winrm firewall</Description> | ||
<Order>6</Order> | ||
<RequiresUserInput>true</RequiresUserInput> | ||
</SynchronousCommand> | ||
<SynchronousCommand wcm:action="add"> | ||
<CommandLine>cmd.exe /c winrm set winrm/config/client/auth @{Basic="true"}</CommandLine> | ||
<Description>Win RM auth Basic</Description> | ||
<Order>7</Order> | ||
<RequiresUserInput>true</RequiresUserInput> | ||
</SynchronousCommand> | ||
<SynchronousCommand wcm:action="add"> | ||
<CommandLine>cmd.exe /c winrm set winrm/config/listener?Address=*+Transport=HTTP @{Port="5985"} </CommandLine> | ||
<Description>Win RM listener Address/Port</Description> | ||
<Order>8</Order> | ||
<RequiresUserInput>true</RequiresUserInput> | ||
</SynchronousCommand> | ||
<SynchronousCommand wcm:action="add"> | ||
<CommandLine>cmd.exe /c netsh advfirewall firewall set rule group="remote administration" new enable=yes </CommandLine> | ||
<Description>Win RM adv firewall enable</Description> | ||
<Order>9</Order> | ||
<RequiresUserInput>true</RequiresUserInput> | ||
</SynchronousCommand> | ||
<SynchronousCommand wcm:action="add"> | ||
<CommandLine>cmd.exe /c netsh firewall add portopening TCP 5985 "Port 5985" </CommandLine> | ||
<Description>Win RM port open</Description> | ||
<Order>10</Order> | ||
<RequiresUserInput>true</RequiresUserInput> | ||
</SynchronousCommand> | ||
<SynchronousCommand wcm:action="add"> | ||
<CommandLine>cmd.exe /c net stop winrm </CommandLine> | ||
<Description>Stop Win RM Service </Description> | ||
<Order>11</Order> | ||
<RequiresUserInput>true</RequiresUserInput> | ||
</SynchronousCommand> | ||
<SynchronousCommand wcm:action="add"> | ||
<CommandLine>cmd.exe /c sc config winrm start= auto</CommandLine> | ||
<Description>Win RM Autostart</Description> | ||
<Order>12</Order> | ||
<RequiresUserInput>true</RequiresUserInput> | ||
</SynchronousCommand> | ||
<SynchronousCommand wcm:action="add"> | ||
<CommandLine>cmd.exe /c net start winrm </CommandLine> | ||
<Description>Start Win RM Service</Description> | ||
<Order>13</Order> | ||
<RequiresUserInput>true</RequiresUserInput> | ||
</SynchronousCommand> | ||
<SynchronousCommand wcm:action="add"> | ||
<CommandLine>powershell -Command "Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Force"</CommandLine> | ||
<Description>Start Win RM Service</Description> | ||
<Order>14</Order> | ||
<Description>fix powershell remote exec policy</Description> | ||
<Order>7</Order> | ||
<RequiresUserInput>true</RequiresUserInput> | ||
</SynchronousCommand> | ||
</FirstLogonCommands> | ||
<OOBE> | ||
<HideEULAPage>true</HideEULAPage> | ||
<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE> | ||
<NetworkLocation>Home</NetworkLocation> | ||
<ProtectYourPC>1</ProtectYourPC> | ||
<HideOnlineAccountScreens>true</HideOnlineAccountScreens> | ||
<HideOEMRegistrationScreen>true</HideOEMRegistrationScreen> | ||
<HideLocalAccountScreen>true</HideLocalAccountScreen> | ||
</OOBE> | ||
<UserAccounts> | ||
<AdministratorPassword> | ||
<Value>dgBhAGcAcgBhAG4AdABBAGQAbQBpAG4AaQBzAHQAcgBhAHQAbwByAFAAYQBzAHMAdwBvAHIAZAA=</Value> | ||
<PlainText>false</PlainText> | ||
</AdministratorPassword> | ||
<LocalAccounts> | ||
<LocalAccount wcm:action="add"> | ||
<Password> | ||
<Value>dgBhAGcAcgBhAG4AdABQAGEAcwBzAHcAbwByAGQA</Value> | ||
<PlainText>false</PlainText> | ||
</Password> | ||
<Description>Vagrant User</Description> | ||
<DisplayName>vagrant</DisplayName> | ||
<Group>Administrators</Group> | ||
<Name>vagrant</Name> | ||
</LocalAccount> | ||
</LocalAccounts> | ||
</UserAccounts> | ||
<ShowWindowsLive>false</ShowWindowsLive> | ||
</component> | ||
</settings> | ||
<settings pass="specialize"> | ||
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" > | ||
<OEMInformation> | ||
<HelpCustomized>false</HelpCustomized> | ||
</OEMInformation> | ||
<!-- Rename computer here. --> | ||
<ComputerName>vagrant-2012</ComputerName> | ||
<TimeZone>Pacific Standard Time</TimeZone> | ||
<RegisteredOwner></RegisteredOwner> | ||
</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> | ||
<cpi:offlineImage cpi:source="catalog:d:/sources/install_windows server 2008 r2 serverdatacenter.clg" xmlns:cpi="urn:schemas-microsoft-com:cpi" /> | ||
<cpi:offlineImage cpi:source="wim:c:/users/administrator/documents/install.wim#Windows Server 2012 SERVERSTANDARD" xmlns:cpi="urn:schemas-microsoft-com:cpi" /> | ||
</unattend> |
Oops, something went wrong.