locked
MDT - Choix du disque cible RRS feed

  • Question

  • Bonjour,

    Je vais devoir redéployer un poste sous windows XP avec MDT. J'ai importé le CD de windows XP avec l'assistant de mdt.

    Cependant, le disque de la machine cible est déja partitionné et contient deux partitions :

    la premiere qui contient le systeme et la seconde qui contient des données qui doivent y rester. Je souhaite donc modifier la task sequence pour ne pas repartitionner le disque et ne reformater QUE la partition cible (celle ou XP sera installé). (j'ai activé SkipDestinationDisk=NO dans customsettings.ini)

    Quelqu'un peut-il me guider?

    Merci d'avance

    Cordialement

    Romain S

     

     

    dimanche 18 décembre 2011 13:53

Réponses

  • Salut Yannick,

     

    J'ai testé en utilisant le mode "refresh" (lancer l'assistant depuis windows) et ca marche. ca formate uniquement la partition où doit être réinstallé l'OS et ca te garde ta carte de partitions.

     

    Merci à vous,

    Cordialement

    Romain S

    lundi 19 décembre 2011 19:18
  • Ouaip'.

    J'avais pas pensé au mode refresh franchement.

    Mais bon, merci

    Probleme résolu ;)

    Bien cordialement

    Romain S


    Bonjour ,

    Solution apporté par Yannick sur le lien que je mentionnais précédemment :

    http://social.technet.microsoft.com/Forums/fr/win7fr/thread/bcd9441d-01f9-4951-8504-9fcdb7045fbe

     Extrait copier/coller :

    " un scenario "Refresh" (exemple de windows xp vers 7) Dans ce cas, la partition D ne sera pas effacée."

     

    Cordialement


    mardi 20 décembre 2011 07:24
    Auteur de réponse
  • Bonjour,

    Regarde l'article que j'ai mis

    Conserver vos partitions lors d’un scénario New Computer

    La réponse que j'ai mis à quelqu'un. C'est peut etre ce que tu veux

    http://social.technet.microsoft.com/Forums/en-US/mdt/thread/865f0ebe-4e87-4ba8-8367-0b1d18652410/

    You can easily do this by modifying the Task Sequence. I give you an example

    1. Go into your deployment share on "Deployment$\Scripts" and create a file named DiskPartOnlyC.txt then insert the following contents into it:

    SELECT disk 0
    SELECT partition 1 <--- choose the correct number
    FORMAT FS=NTFS LABEL="OS" QUICK
    EXIT

    2. Modify the Task Sequence or create a new one and choose the OS to install

    3. Under Preinstall\New Computer Only, delete or disable "Format and Partition Disk".

    4. Still under New Computer Only, create a command line action by clicking "Add" at the top then "General", then "Run Command Line". Rename it to "Custom C Format" and input the following command:

    diskpart /s "%scriptroot%\DiskPartOnlyC.txt"

    5. Move it between "Validate" and "Copy scripts".

    6. Click on "Install Operating System" under "Install" and configure the target partition as Disk 0 Partition 1: <-- choose the correct one.

    Remember to always do some tests before if you need to adjust some settings.

    Another way is to:

    1. remove the “Format and Partition Disk” step
    2. in the “Apply Operating System Image” step, under “Select the location where you want to apply this operating system” made the following modifications:

    Destination: Specific disk and partition
    Disk: 0 (if all computers are installed on first hard disk)
    Partition: 1 (if all computers have OS installed on first partition)

    This way, when TS runs, it automatically wipes partition 1 from disk 0 and will not touch any other partition or disk.

    regards,

     


    Revue du Geek | Déployer Windows 7 avec MDT 2010
    lundi 19 décembre 2011 16:04
  • Oui si tu fais un scenario Refresh, tu n'as pas à te soucier de tout ces détails. Pas besoin de modifier la TS.

    Les instructions sont pour tes nouvelles installations.


    Revue du Geek | Déployer Windows 7 avec MDT 2010
    lundi 19 décembre 2011 19:20

Toutes les réponses