Created
June 4, 2015 20:09
-
-
Save BladeFireLight/17844ab340fd02999675 to your computer and use it in GitHub Desktop.
Unattend.xml used with Start-ImageBuild.ps1
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="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</InputLocale> | |
<SystemLocale>en-us</SystemLocale> | |
<UILanguage>en-us</UILanguage> | |
<UserLocale>en-us</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>P@ssword</Value> | |
</Password> | |
<LogonCount>1</LogonCount> | |
<Username>administrator</Username> | |
<Enabled>true</Enabled> | |
</AutoLogon> | |
<FirstLogonCommands> | |
<SynchronousCommand wcm:action="add"> | |
<CommandLine>%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -ExecutionPolicy Bypass -File C:\PSTemp\FirstRun.ps1</CommandLine> | |
<Description>Run Execution Policy</Description> | |
<Order>1</Order> | |
<RequiresUserInput>false</RequiresUserInput> | |
</SynchronousCommand> | |
</FirstLogonCommands> | |
<OOBE> | |
<HideEULAPage>true</HideEULAPage> | |
<NetworkLocation>Work</NetworkLocation> | |
</OOBE> | |
<UserAccounts> | |
<AdministratorPassword> | |
<Value>P@ssword</Value> | |
</AdministratorPassword> | |
</UserAccounts> | |
</component> | |
</settings> | |
<cpi:offlineImage cpi:source="wim:c:/iso/install.wim#Windows Server 2012 R2 SERVERDATACENTERCORE" 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