Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <unattend xmlns="urn:schemas-microsoft-com:unattend">
- <settings pass="specialize">
- <component name="Microsoft-Windows-Deployment" 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">
- <RunSynchronous>
- <RunSynchronousCommand wcm:action="add">
- <Description>Activation de l'administrateur</Description>
- <Order>1</Order>
- <Path>C:\windows\system32\net.exe user administrator /active:yes</Path>
- </RunSynchronousCommand>
- <RunSynchronousCommand wcm:action="add">
- <Description>Création du répertoire des usagers</Description>
- <Order>2</Order>
- <Path>cmd /c mkdir D:\Usagers</Path>
- </RunSynchronousCommand>
- <RunSynchronousCommand wcm:action="add">
- <Description>Share du disque C:</Description>
- <Order>3</Order>
- <Path>C:\windows\system32\net.exe share Systeme=C:\ /GRANT:Everyone,Full /CACHE:None</Path>
- </RunSynchronousCommand>
- <RunSynchronousCommand wcm:action="add">
- <Description>Share du disque D:</Description>
- <Order>4</Order>
- <Path>C:\windows\system32\net.exe share Donnees=D:\ /GRANT:Everyone,Full /CACHE:None</Path>
- </RunSynchronousCommand>
- <RunSynchronousCommand wcm:action="add">
- <Description>Share des usagers</Description>
- <Order>5</Order>
- <Path>C:\windows\system32\net.exe share Usagers=D:\Usagers /GRANT:Everyone,Full /CACHE:None</Path>
- </RunSynchronousCommand>
- <RunSynchronousCommand wcm:action="add">
- <Description>Disable Data Execution Prevention (DEP)</Description>
- <Order>6</Order>
- <Path>C:\windows\system32\bcdedit.exe /set {current} nx AlwaysOff</Path>
- </RunSynchronousCommand>
- </RunSynchronous>
- </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">
- <RegisteredOrganization>Université Laval</RegisteredOrganization>
- <RegisteredOwner>LVSN</RegisteredOwner>
- <ProductKey>xxx</ProductKey>
- </component>
- <component name="Microsoft-Windows-UnattendedJoin" 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">
- <Identification>
- <UnsecureJoin>true</UnsecureJoin>
- </Identification>
- </component>
- <component name="Security-Malware-Windows-Defender" 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">
- <DisableAntiSpyware>true</DisableAntiSpyware>
- </component>
- </settings>
- <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>0c0c:00011009</InputLocale>
- <SystemLocale>en-CA</SystemLocale>
- <UILanguage>en-CA</UILanguage>
- <UserLocale>en-CA</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">
- <FirstLogonCommands>
- <SynchronousCommand wcm:action="add">
- <CommandLine>C:\windows\system32\net.exe user Installation /delete</CommandLine>
- <Description>Efface le compte temporaire d'installation</Description>
- <Order>1</Order>
- </SynchronousCommand>
- <SynchronousCommand wcm:action="add">
- <CommandLine>C:\windows\system32\net.exe user Guest /delete</CommandLine>
- <Description>Efface le compte de l'invité.</Description>
- <Order>2</Order>
- </SynchronousCommand>
- </FirstLogonCommands>
- <OOBE>
- <HideEULAPage>true</HideEULAPage>
- <NetworkLocation>Work</NetworkLocation>
- <ProtectYourPC>1</ProtectYourPC>
- </OOBE>
- <UserAccounts>
- <AdministratorPassword>
- <Value>xxx</Value>
- <PlainText>false</PlainText>
- </AdministratorPassword>
- <LocalAccounts>
- <LocalAccount wcm:action="add">
- <Password>
- <Value>xxx</Value>
- <PlainText>false</PlainText>
- </Password>
- <Description>Compte temporaire pour l'installation</Description>
- <DisplayName>Installation</DisplayName>
- <Group>Users</Group>
- <Name>Installation</Name>
- </LocalAccount>
- </LocalAccounts>
- </UserAccounts>
- <RegisteredOrganization>Université Laval</RegisteredOrganization>
- <RegisteredOwner>LVSN</RegisteredOwner>
- <TimeZone>Eastern Standard Time</TimeZone>
- </component>
- </settings>
- <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-CA</UILanguage>
- <WillShowUI>Never</WillShowUI>
- </SetupUILanguage>
- <InputLocale>0c0c:00011009</InputLocale>
- <SystemLocale>en-CA</SystemLocale>
- <UILanguage>en-CA</UILanguage>
- <UserLocale>en-CA</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>
- <Size>128000</Size>
- <Type>Primary</Type>
- </CreatePartition>
- <CreatePartition wcm:action="add">
- <Extend>true</Extend>
- <Order>2</Order>
- <Type>Primary</Type>
- </CreatePartition>
- </CreatePartitions>
- <ModifyPartitions>
- <ModifyPartition wcm:action="add">
- <Active>true</Active>
- <Extend>false</Extend>
- <Format>NTFS</Format>
- <Label>Systeme</Label>
- <Letter>C</Letter>
- <Order>1</Order>
- <PartitionID>1</PartitionID>
- </ModifyPartition>
- <ModifyPartition wcm:action="add">
- <Active>false</Active>
- <Extend>false</Extend>
- <Format>NTFS</Format>
- <Label>Donnees</Label>
- <Letter>D</Letter>
- <Order>2</Order>
- <PartitionID>2</PartitionID>
- </ModifyPartition>
- </ModifyPartitions>
- <DiskID>0</DiskID>
- <WillWipeDisk>true</WillWipeDisk>
- </Disk>
- <WillShowUI>Never</WillShowUI>
- </DiskConfiguration>
- <WindowsDeploymentServices>
- <ImageSelection>
- <InstallTo>
- <DiskID>0</DiskID>
- <PartitionID>1</PartitionID>
- </InstallTo>
- </ImageSelection>
- </WindowsDeploymentServices>
- <EnableFirewall>false</EnableFirewall>
- <UserData>
- <ProductKey>
- <WillShowUI>Never</WillShowUI>
- </ProductKey>
- <AcceptEula>true</AcceptEula>
- <FullName>LVSN</FullName>
- <Organization>Université LAval</Organization>
- </UserData>
- <ImageInstall>
- <OSImage>
- <InstallTo>
- <DiskID>0</DiskID>
- <PartitionID>1</PartitionID>
- </InstallTo>
- <InstallToAvailablePartition>true</InstallToAvailablePartition>
- <WillShowUI>OnError</WillShowUI>
- </OSImage>
- </ImageInstall>
- </component>
- </settings>
- <cpi:offlineImage cpi:source="xxx" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
- </unattend>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement