Jump to content

Fichier Autounattend


zorro

Recommended Posts

Bonjour,

 

Dans un fichier Autounattend pour créer des partitions il y a plusieurs paramètres non documentées.

 

dans la première linge du code ci-dessous action="add" il peut aussi y avoir Modify ou Remove. Savez vous quel est la différence entre ces paramètres

                <Disk wcm:action="add">                    <CreatePartitions>                        <CreatePartition wcm:action="add">                            <Order>1</Order>                            <Size>100</Size>                            <Type>Primary</Type>                        </CreatePartition>                        <CreatePartition wcm:action="add">                            <Order>2</Order>                            <Size>50000</Size>                            <Type>Primary</Type>                        </CreatePartition>                        <CreatePartition wcm:action="add">                            <Order>3</Order>                            <Type>Primary</Type>                        </CreatePartition>                    </CreatePartitions>

 merci

Link to comment
Share on other sites

Bonjour,

Dans votre exemple, le fichier va pousser l'installeur à créer 3 partitions (d'où le "add"). La première de 100Mo pour le recovery, la deuxième de 50Go pour Windows et le reste, et une troisième dont la taille n'est pas définie.

"Modify" ça doit être pour modifier la taille d'une partition existante et "Remove" c'est pour la supprimer

Cordialement

Edited by XCLGutts
Link to comment
Share on other sites

  • 2 weeks later...

Bonjour,

Après recherche, j'ai trouvé cela : "modify=>Étend une partition existante avec l'espace libre restant sur le disque". Concernant "remove" du coup je ne vois pas.

Par contre ces options ne sont pas suffisantes, vous devez aussi créer la variable ModifyPartitions. Je vous laisse consulter la documentation à ce sujet :

http://technet.microsoft.com/fr-fr/library/cc749129%28v=ws.10%29.aspx

Cordialement.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...