<?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>fr-FR</UILanguage>

            </SetupUILanguage>

            <InputLocale>fr-FR</InputLocale>

            <SystemLocale>fr-FR</SystemLocale>

            <UILanguage>fr-FR</UILanguage>

            <UserLocale>fr-FR</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 Server 2016 SERVERSTANDARD</Value>

                        </MetaData>

                    </InstallFrom>

                    <InstallTo>

                        <DiskID>0</DiskID>

                        <PartitionID>1</PartitionID>

                    </InstallTo>

                </OSImage>

            </ImageInstall>

            <UserData>

                <ProductKey>

                    <Key>D2N9P-3P6X9-2R39C-7RTCD-MDVJX</Key>

                    <WillShowUI>OnError</WillShowUI>

                </ProductKey>

                <AcceptEula>true</AcceptEula>

            </UserData>

            <DiskConfiguration>

                <Disk wcm:action="add">

                    <CreatePartitions>

                        <CreatePartition wcm:action="add">

                            <Order>1</Order>

                            <Size>20000</Size>

                            <Type>Primary</Type>

                        </CreatePartition>

                    </CreatePartitions>

                    <ModifyPartitions>

                        <ModifyPartition wcm:action="add">

                            <Active>true</Active>

                            <Extend>true</Extend>

                            <Format>NTFS</Format>

                            <Letter>C</Letter>

                            <Order>1</Order>

                            <PartitionID>1</PartitionID>

                        </ModifyPartition>

                    </ModifyPartitions>

                    <DiskID>0</DiskID>

                    <WillWipeDisk>true</WillWipeDisk>

                </Disk>

                <WillShowUI>OnError</WillShowUI>

            </DiskConfiguration>

        </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>

                <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>

                <AdministratorPassword>

                    <Value>vagrant</Value>

                    <PlainText>true</PlainText>

                </AdministratorPassword>

            </UserAccounts>

            <AutoLogon>

                <Enabled>true</Enabled>

                <Username>vagrant</Username>

                <Password>

                    <Value>vagrant</Value>

                    <PlainText>true</PlainText>

                </Password>

            </AutoLogon>

            <FirstLogonCommands>

                <SynchronousCommand wcm:action="add">

                    <CommandLine>cmd.exe /c a:\00-run-all-scripts.cmd</CommandLine>

                    <Description>Run all *.bat and *.cmd scripts on drive A:</Description>

                    <Order>1</Order>

                    <RequiresUserInput>true</RequiresUserInput>

                </SynchronousCommand>

            </FirstLogonCommands>

        </component>

    </settings>

    <settings pass="specialize">

        <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-IE-InternetExplorer" 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">

            <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="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-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>

    </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:c:/users/misheska/sources/win2016/install.wim#Windows Server 2016 SERVERSTANDARD" xmlns:cpi="urn:schemas-microsoft-com:cpi" />

</unattend>