Unattend MDT
Unattend MDT
> <unattend xmlns="urn:schemas-microsoft-com:unattend"> <settings pass="windowsPE"> <component name="Microsoft-Windows-Setup" processorArchitecture="x86" public KeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm=" http://schemas.microsoft.com/WMIConfig/2002/State"> <ImageInstall> <OSImage> <WillShowUI>OnError</WillShowUI> <InstallTo> <DiskID>0</DiskID> <PartitionID>1</PartitionID> </InstallTo> <InstallFrom> <Path>.\Operating Systems\Windows7\Windows7.wim</Path> <MetaData> <Key>/image/index</Key> <Value>1</Value> </MetaData> </InstallFrom> </OSImage> </ImageInstall> <UpgradeData> <Upgrade>false</Upgrade> </UpgradeData> <Display> <ColorDepth>16</ColorDepth> <HorizontalResolution>1024</HorizontalResolution> <RefreshRate>60</RefreshRate> <VerticalResolution>768</VerticalResolution> </Display> <ComplianceCheck> <DisplayReport>OnError</DisplayReport> </ComplianceCheck> <UserData> <AcceptEula>true</AcceptEula> <ProductKey> <Key></Key> </ProductKey> </UserData> </component> <component name="Microsoft-Windows-International-Core-WinPE" processorArchit ecture="x86" 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>0409:00000409</InputLocale> <SystemLocale>en-US</SystemLocale> <UILanguage>en-US</UILanguage> <UserLocale>en-US</UserLocale> </component> </settings> <settings pass="generalize"> <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns :wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w 3.org/2001/XMLSchema-instance"> <DoNotCleanTaskBar>true</DoNotCleanTaskBar>
</component> </settings> <settings pass="specialize"> <component name="Microsoft-Windows-UnattendedJoin" processorArchitecture="x8 6" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xm lns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"> <Identification> <Credentials> <Username></Username> <Domain></Domain> <Password></Password> </Credentials> <JoinDomain></JoinDomain> <JoinWorkgroup></JoinWorkgroup> <MachineObjectOU></MachineObjectOU> </Identification> </component> <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns :wcm="http://schemas.microsoft.com/WMIConfig/2002/State"> <ComputerName></ComputerName> <ProductKey></ProductKey> <RegisteredOrganization>univ_rennes1</RegisteredOrganization> <RegisteredOwner>esaintbl</RegisteredOwner> <TimeZone></TimeZone> <DoNotCleanTaskBar>true</DoNotCleanTaskBar> </component> <component name="Microsoft-Windows-IE-InternetExplorer" processorArchitectur e="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSx S" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http ://www.w3.org/2001/XMLSchema-instance"> <Home_Page>about:blank</Home_Page> <IEWelcomeMsg>false</IEWelcomeMsg> </component> <component name="Microsoft-Windows-Deployment" processorArchitecture="x86" p ublicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns: wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3 .org/2001/XMLSchema-instance"> <RunSynchronous> <RunSynchronousCommand wcm:action="add"> <Description>EnableAdmin</Description> <Order>1</Order> <Path>cmd /c net user Administrator /active:yes</Path> </RunSynchronousCommand> <RunSynchronousCommand wcm:action="add"> <Description>UnfilterAdministratorToken</Description> <Order>2</Order> <Path>cmd /c reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Po licies\System /v FilterAdministratorToken /t REG_DWORD /d 0 /f</Path> </RunSynchronousCommand> </RunSynchronous> </component> <component name="Microsoft-Windows-International-Core" processorArchitecture ="x86" 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>0409:00000409</InputLocale> <SystemLocale>en-US</SystemLocale> <UILanguage>en-US</UILanguage> <UserLocale>en-US</UserLocale>
</component> <component name="Microsoft-Windows-TapiSetup" processorArchitecture="x86" pu blicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:w cm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3. org/2001/XMLSchema-instance"> <TapiConfigured>0</TapiConfigured> <TapiUnattendLocation> <AreaCode>""</AreaCode> <CountryOrRegion>1</CountryOrRegion> <LongDistanceAccess>9</LongDistanceAccess> <OutsideAccess>9</OutsideAccess> <PulseOrToneDialing>1</PulseOrToneDialing> <DisableCallWaiting>""</DisableCallWaiting> <InternationalCarrierCode>""</InternationalCarrierCode> <LongDistanceCarrierCode>""</LongDistanceCarrierCode> <Name>Default</Name> </TapiUnattendLocation> </component> <component name="Microsoft-Windows-SystemRestore-Main" processorArchitecture ="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS " xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http: //www.w3.org/2001/XMLSchema-instance"> <DisableSR>1</DisableSR> </component> </settings> <settings pass="oobeSystem"> <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns :wcm="http://schemas.microsoft.com/WMIConfig/2002/State"> <UserAccounts> <AdministratorPassword> <Value></Value> <PlainText>true</PlainText> </AdministratorPassword> <LocalAccounts> <LocalAccount wcm:action="add"> <Description>Temp account</Description> <DisplayName>Temp account</DisplayName> <Group>Users</Group> <Name>TempAccount</Name> </LocalAccount> </LocalAccounts> </UserAccounts> <AutoLogon> <Enabled>true</Enabled> <Username>Administrator</Username> <Domain>.</Domain> <Password> <Value></Value> <PlainText>true</PlainText> </Password> <LogonCount>999</LogonCount> </AutoLogon> <Display> <ColorDepth>32</ColorDepth> <HorizontalResolution>1024</HorizontalResolution> <RefreshRate>60</RefreshRate> <VerticalResolution>768</VerticalResolution> </Display> <FirstLogonCommands>
<SynchronousCommand wcm:action="add"> <CommandLine>cscript.exe C:\MININT\Scripts\LiteTouch.wsf /start</Comma ndLine> <Description>Lite Touch new OS</Description> <Order>1</Order> </SynchronousCommand> <SynchronousCommand wcm:action="add"> <CommandLine>cscript.exe D:\MININT\Scripts\LiteTouch.wsf /start</Comma ndLine> <Description>Lite Touch new OS</Description> <Order>2</Order> </SynchronousCommand> <SynchronousCommand wcm:action="add"> <CommandLine>cscript.exe E:\MININT\Scripts\LiteTouch.wsf /start</Comma ndLine> <Description>Lite Touch new OS</Description> <Order>3</Order> </SynchronousCommand> <SynchronousCommand wcm:action="add"> <CommandLine>cscript.exe F:\MININT\Scripts\LiteTouch.wsf /start</Comma ndLine> <Description>Lite Touch new OS</Description> <Order>4</Order> </SynchronousCommand> </FirstLogonCommands> <OOBE> <HideEULAPage>true</HideEULAPage> <NetworkLocation>Work</NetworkLocation> <ProtectYourPC>1</ProtectYourPC> <SkipUserOOBE>true</SkipUserOOBE> </OOBE> <RegisteredOrganization>univ_rennes1</RegisteredOrganization> <RegisteredOwner>esaintbl</RegisteredOwner> <TimeZone></TimeZone> </component> <component name="Microsoft-Windows-International-Core" processorArchitecture ="x86" 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>0409:00000409</InputLocale> <SystemLocale>en-US</SystemLocale> <UILanguage>en-US</UILanguage> <UserLocale>en-US</UserLocale> </component> </settings> <settings pass="offlineServicing"> <component name="Microsoft-Windows-PnpCustomizationsNonWinPE" processorArchi tecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope= "nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi ="http://www.w3.org/2001/XMLSchema-instance"> <DriverPaths> <PathAndCredentials wcm:keyValue="1" wcm:action="add"> <Path>\Drivers</Path> </PathAndCredentials> </DriverPaths> </component> </settings> </unattend>