Meilleur auteur de réponses
MDT - Choix du disque cible

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
- Marqué comme réponse Romain SIBILLE lundi 19 décembre 2011 19:18
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
- Modifié arch21Editor mardi 20 décembre 2011 07:26
- Proposé comme réponse arch21Editor mardi 20 décembre 2011 08:26
- Marqué comme réponse Yannick PlavonilMicrosoft community contributor mardi 20 décembre 2011 14:08
mardi 20 décembre 2011 07:24Auteur 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- Marqué comme réponse Romain SIBILLE lundi 19 décembre 2011 19:18
- Non marqué comme réponse Romain SIBILLE lundi 19 décembre 2011 19:18
- Marqué comme réponse Yannick PlavonilMicrosoft community contributor mardi 20 décembre 2011 14:08
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- Modifié Yannick PlavonilMicrosoft community contributor lundi 19 décembre 2011 19:21
- Marqué comme réponse Florin Ciuca mercredi 21 décembre 2011 12:00
lundi 19 décembre 2011 19:20
Toutes les réponses
-
Bonjour Romain ,
Pour information ,lire le post de Yannick Plavonil :
Cordialement
dimanche 18 décembre 2011 15:12Auteur de réponse -
Bonjour,
En effet, j'ai déja appliqué la méthode de ce post. Cependant, comment etre sur que la task sequence ne va pas repartitionner completement mon disque ??
Merci,
Cordialement
Romain S
dimanche 18 décembre 2011 15:18 -
Bonjour Romain,
La Task Sequence fait ce que tu lui dis de faire. Donc si tu choisis la partiton 2 par exemple ca ne va pas toucher au reste...
Je te recommande de faire des tests pour t'en assurer. Tu peux meme aller aussi dans les propriétés de la TS et regarder son parametrage pour le disque dur (formatage, partionnement)
Revue du Geek | Déployer Windows 7 avec MDT 2010dimanche 18 décembre 2011 16:05 -
Bonjour Yannick ,
Bonjour Romain ,
En complément des informations de Yannick ,une explication est donnée sur le lien suivant :
http://www.labo-microsoft.org/articles/mdt_2010_-_initiation/2/
Cordialement
- Modifié arch21Editor dimanche 18 décembre 2011 16:15
dimanche 18 décembre 2011 16:14Auteur de réponse -
Re,
Merci à vous, Yannick et arch21. Je vais faire des tests et vous poster un retour du résultat.
Bien cordialement
Romain S
dimanche 18 décembre 2011 18:05 -
Bonjour,
J'ai bien fait de faire des tests sur une VM --'
J'ai essayé de : - Supprimer/désactiver l'élément "partition and format disk", et au redémarrage, après l'installation de XP, j'ai un beau "err. lecture disk press CTRL+ALT+DEL"
- Supprimer les entrées de partition dans la sous partie "partitionand format disk" et la ... ben... MDT me supprime toutes mes partitions et me recrée une seule partition qui prend tout le disque.
Je précise que pour mes tests, j'ai créé une VM sous vmware avec un disque de 40Go, partitionné en 2*20go afin de recréer les conditions du déploiement. J'ai aussi déposé des fichiers sur les partitions pour voir ce que MDT faisait.
Quelqu'un pour m'aider?
Cordialement
Romain S
lundi 19 décembre 2011 11:31 -
Bonjour Romain ,
Voir le fil du lien suivant :
http://social.technet.microsoft.com/Forums/fr/win7fr/thread/bcd9441d-01f9-4951-8504-9fcdb7045fbe
http://social.technet.microsoft.com/Forums/en-US/mdt/thread/865f0ebe-4e87-4ba8-8367-0b1d18652410/
En complément d information ,vous pouvez vous rapporter à l article de FLORIN : "La façon le plus rapide pour déployer Windows XP avec MDT 2010" du lien suivant :
http://social.technet.microsoft.com/Forums/fr-FR/1124/thread/56c779fb-c01d-4a0f-ba07-ce5801008b5c
Cordialement
- Modifié arch21Editor lundi 19 décembre 2011 12:36
lundi 19 décembre 2011 11:59Auteur de réponse -
Bonjour,
Merci, je vais jeter un oeil.
Cordialement
Romain S
lundi 19 décembre 2011 15:55 -
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- Marqué comme réponse Romain SIBILLE lundi 19 décembre 2011 19:18
- Non marqué comme réponse Romain SIBILLE lundi 19 décembre 2011 19:18
- Marqué comme réponse Yannick PlavonilMicrosoft community contributor mardi 20 décembre 2011 14:08
lundi 19 décembre 2011 16:04 -
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
- Marqué comme réponse Romain SIBILLE lundi 19 décembre 2011 19:18
lundi 19 décembre 2011 19:18 -
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- Modifié Yannick PlavonilMicrosoft community contributor lundi 19 décembre 2011 19:21
- Marqué comme réponse Florin Ciuca mercredi 21 décembre 2011 12:00
lundi 19 décembre 2011 19:20 -
Ouaip'.
J'avais pas pensé au mode refresh franchement.
Mais bon, merci
Probleme résolu ;)
Bien cordialement
Romain S
lundi 19 décembre 2011 20:32 -
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
- Modifié arch21Editor mardi 20 décembre 2011 07:26
- Proposé comme réponse arch21Editor mardi 20 décembre 2011 08:26
- Marqué comme réponse Yannick PlavonilMicrosoft community contributor mardi 20 décembre 2011 14:08
mardi 20 décembre 2011 07:24Auteur de réponse