Upload
alphorm
View
5.451
Download
14
Embed Size (px)
Citation preview
29/09/2016
1
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
Site : http://www.alphorm.comBlog : http://blog.alphorm.com
FormationMDT 2013 Update 2
Fabrice SforzaExpert Microsoft / CitrixITTA (It Training Academy) en Suissehttps://www.youlearnit.ch/
29/09/2016
2
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
Plan
• Présentation du formateur
• Mes formations sur Alphorm?
• Présentation de la formation
• Le plan de formation
• Publics concernés
• Connaissances requises
• Liens utiles
29/09/2016
3
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
Présentation du formateur
Fabrice SFORZA
• Consultant – Trainer en Virtualisation chez ITTA(https://www.youlearnit.ch/)
• Mission d’architecture, de migration et de formation
• Microsoft MCT, MCITP, MCSE
• Citrix CCEE
• VMware VCP 4.0
• Mon Profil sur Alphorm : http://www.alphorm.com/formateur/fabrice-sforza-chrzanowski
29/09/2016
4
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
Mes formations sur Alphorm
29/09/2016
5
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
MDT 2013 Installation et configuration
• MDT 2013 Update 2 est un outil gratuit de déploiement de systèmes d’exploitation et d’applications.
• MDT permet d’ajouter à WDS une solution complète de déploiement à travers le protocole PXE.
• MDT vous aidera à construire une source d’installation automatisée pour le déploiement de Windows.
• A partir d’une seule machine et d’un outil serveur central de distribution (par exemple WDS ou SCCM), vous allez pouvoir inclure des pilotes de périphériques, mises à jour Windows et des logiciels.
29/09/2016
6
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
Le plan de formation
• Présentation de MDT 2013
• Installation de MDT 2013
• Création et configuration du point de distribution
• Déploiement de Windows 10 avec MDT
• Configuration avancée de MDT
• Surveiller et diagnostiquer MDT
29/09/2016
7
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
Public concerné
•Personnes qui ont besoin de déployer MDT
•Packageurs
•Techniciens et ingénieurs
•Technicien de Niv 1,2 et 3
29/09/2016
8
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
Connaissances requises
•Connaissance des protocoles TCP/IP et HTTP, de DNS
•Connaissance AD
•Connaissance d’un système ESD
•Connaissance d’un autre système
29/09/2016
9
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
Liens utiles
• MDT 2013 update 2
� https://blogs.technet.microsoft.com/msdeployment/2015/12/22/mdt-2013-update-2-now-available/
• Script PowerShell MDT 2013
� https://blogs.technet.microsoft.com/heyscriptingguy/2011/12/31/learn-how-to-use-powershell-to-automate-mdt-deployment/
29/09/2016
10
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
Are you ready ? ☺
Go !
29/09/2016
11
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
Site : http://www.alphorm.comBlog : http://blog.alphorm.com
Fabrice SforzaExpert Microsoft / CitrixITTA (It Training Academy) en Suissehttps://www.youlearnit.ch/
Le lab de la formation
29/09/2016
12
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
Plan
•Le lab
•Hyper-V
•Les ISOs
•Schéma technique
29/09/2016
13
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
Le lab
• Pour cette formation, je vais utiliser Windows 10 et Hyper-V
• Vous pouvez aussi utiliser :
� Hyper-V Serveur (2012 R2 en GUI)
� Nano Serveur (il faudra un second poste)
� vSphere 6 (il faudra un second poste)
� XenServer 6 (il faudra un second poste)
• Chacun de ces hyperviseurs peuvent s’installer sur votre laptop ou sur un serveur dédié que vous pouvez louer (ex online.net)
29/09/2016
14
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
Hyper-V
•Les machines virtuelles :
29/09/2016
15
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
Les ISO
• Je vais utiliser plusieurs ISO :
� Windows 2012 R2 standard
� Windows 10
� MDT 2013 Update 2
� Office 2013 PRO FR
29/09/2016
16
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
Schéma technique
Contrôleur de domaine alphorm.lab192.168.1.100 /24
Serveur MDT 2013 U2192.168.1.110 /24IP DHCP sur Internet
Poste 1 (Windows 10)IP DHCP
Poste 2 (sans OS)IP DHCP
Domain Active Directory : alphorm.labSystèmes serveurs : 2012 R2 FRSystèmes clients : Windows 10
IP : ID 192.168.1.0 /24Serveur MDTDEMO 2013 U2192.168.1.111 /24IP DHCP sur Internet
29/09/2016
17
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
Ce qu’on a couvert
•Le lab
•Hyper-V
•Les ISO
•Schéma technique
29/09/2016
18
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
Site : http://www.alphorm.comBlog : http://blog.alphorm.com
Fabrice SforzaExpert Microsoft / CitrixITTA (It Training Academy) en Suissehttps://www.youlearnit.ch/
Les principaux types de déploiements
Introduction à MDT 2013
29/09/2016
19
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
Plan
•LTI - Lite Touch Installation
•ZTI - Zéro Touch Installation
•UDI - User Driven Installation
29/09/2016
20
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
LTI - Lite Touch Installation
• Le déploiement LTI permet de déployer des systèmes d’exploitation sans avoir besoin d’une infrastructure existante de déploiement telle que SCCM.
• Idéale pour les petites et moyennes structures. Le déploiement LTI peut être réalisé avec ou quasiment sans assistance humaine mais dans la pratique, le Lite Touch est semi-automatisé chez la plupart des clients.
• Il est cependant réalisable d’automatiser entièrement grâce à 2 fichiers :
1. Bootstrap.ini
2. CustomSettings.ini
• Le mieux est d’utiliser la base de données de MDT, c’est un moyen efficace pour y parvenir et sans trop d’effort (voir vidéos Configuration avancée de MDT)
29/09/2016
21
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
ZTI - Zéro Touch Installation
• Le déploiement ZTI est un scénario qui repose sur une infrastructure de déploiement SCCM existante (2007 ou 2012).
• Les fonctionnalités de MDT vont être couplées à celles de SCCM.
• Le déploiement est alors entièrement automatisé.
• L’intégration de MDT dans SCCM s’effectue à travers un assistant.
• Les opérations se font alors par la suite dans la console Configuration Manager.
29/09/2016
22
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
UDI - User Driven Installation
• Le déploiement UDI, comme son nom l’indique, est un scénario qui est piloté par l’utilisateur lui-même.
• Ce type de déploiement repose également sur une infrastructure SCCM existante mais le démarrage du déploiement s’effectue uniquement à partir du bureau de l’utilisateur
• Par exemple, le catalogue applications dans SCCM va afficher une séquence de migration
29/09/2016
23
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
Ce qu’on a couvert
•LTI - Lite Touch Installation
•ZTI - Zéro Touch Installation
•UDI - User Driven Installation
29/09/2016
24
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
Site : http://www.alphorm.comBlog : http://blog.alphorm.com
Fabrice SforzaExpert Microsoft / CitrixITTA (It Training Academy) en Suissehttps://www.youlearnit.ch/
Présentation de MDT 2013
Introduction à MDT 2013
29/09/2016
25
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
Plan
•Qu’est ce que c’est MDT 2013?
•Historique
•PXE
29/09/2016
26
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
Qu’est ce que c’est MDT 2013?
• MDT est un produit gratuit pour déployer des OS.
• Comme Ghost, il va permettre de faire de l’installation à travers le réseau.
• On utilise 2 protocoles :
1. PXE
2. TFTP
29/09/2016
27
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
C’est quoi MDT 2013 (suite)
29/09/2016
28
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
Historique
29/09/2016
29
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
PXE
29/09/2016
30
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
Ce qu’on a couvert
•Qu’est ce que c’est MDT 2013?
•Historique
•PXE
29/09/2016
31
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
Site : http://www.alphorm.comBlog : http://blog.alphorm.com
Fabrice SforzaExpert Microsoft / CitrixITTA (It Training Academy) en Suissehttps://www.youlearnit.ch/
Les nouveautés de MDT 2013
Introduction à MDT 2013
29/09/2016
32
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
Plan
•MDT 2013 Update 1
•MDT 2013 Update 2
29/09/2016
33
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
MDT 2013 Update 1
• MDT 2013 Update 1 a apporté le support de Windows 10 :
� Support pour les scénarios de déploiement et migration Windows 10
� Support de Windows Assessment and Kit (ADK) pour Windows 10
� Intégration avec SCCM 2012 R2 SP1 / SP2
� Support des éditions Windows 10 Entreprise et Education
� Partage des fichiers WIM pour les scénarios de déploiement par média UEFI
� Utilisation de DISM pour le traitement d’image au lieu de ImageX
� Changement mineurs dans la console Deployment Workbench
� Mise à jour des modèles XML et fichiers de réponse
29/09/2016
34
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
MDT 2013 Update 2
• MDT 2013 Update 2 est principalement une version destinée à améliorer la fiabilité; il n’y a pas de nouvelles fonctionnalités majeures.
� Meilleure configuration des permissions à la création de déploiement Share
� Sécurité améliorée en utilisant l’algorithme de hachage SHA256
� Inclut les derniers binaires de séquence de tâches Configuration Manager
� Expérience améliorée pour les TS de mise à niveau Windows 10
� Fractionnement amélioré des fichiers WIM
� Correction d’utilisation du compte OSDJoinAccount dans le scénario UDI
� Correction des problèmes avec l’installation des packs de langue Windows 10
� Diverses améliorations d’accessibilité
� Meilleure surveillance sur la progression des déploiements incluant les mises à niveau dans la section « Monitoring »
� Améliorations des détails du fichier de log smsts.log
29/09/2016
35
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
Ce qu’on a couvert
•MDT 2013 Update 1
•MDT 2013 Update 2
29/09/2016
36
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
Site : http://www.alphorm.comBlog : http://blog.alphorm.com
Fabrice SforzaExpert Microsoft / CitrixITTA (It Training Academy) en Suissehttps://www.youlearnit.ch/
Intégration avec SCCM 2012
Introduction à MDT 2013
29/09/2016
37
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
Plan
•MDT et SCCM
•Résultat dans SCCM
29/09/2016
38
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
MDT et SCCM
• SCCM est livré avec des outils de déploiement
• On peut dire que SCCM intègre un mini MDT !
• Donc pour ajouter plus d’options, et faire des séquences de tâchesplus élaborées, on choisit d’intégrer MDT.
29/09/2016
39
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
Résultat dans SCCM
29/09/2016
40
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
Ce qu’on a couvert
•MDT et SCCM
•Résultat dans SCCM
29/09/2016
41
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
Site : http://www.alphorm.comBlog : http://blog.alphorm.com
Fabrice SforzaExpert Microsoft / CitrixITTA (It Training Academy) en Suissehttps://www.youlearnit.ch/
Les prérequis
Installation de MDT 2013 U2
29/09/2016
42
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
Plan
•Les prérequis en OS
•Les prérequis en fonctionnalités
•ADK
•Finalisation des prérequis
29/09/2016
43
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
Les prérequis en OS
• MDT peut s’installer sur :
� Windows 7
� Windows 8
� Windows 8.1
� Windows 10
� Windows Server 2008 R2
� Windows Server 2012
� Windows Server 2012 R2
29/09/2016
44
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
Les prérequis en fonctionnalités
• Pour MDT il faut :
� Windows Assessment and Deployment Kit (ADK) for Windows 10
� Windows PowerShell
� Microsoft .NET Framework
29/09/2016
45
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
ADK
• Vous avez besoin d’ADK - obligatoire
• Il faut choisir :
� Outils de déploiement
� Windows PE
� USMT
29/09/2016
46
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
Finalisation des prérequis
• Il faudra aussi :
� Un compte de service utilisé par WINPE au moment du déploiementqui aura accès au serveur MDT.
� Création d’un répertoire pour les logs client sur le serveur MDT (les logs sont normalement créés sur le poste).
� Installer CMTRACE (lecture facile des logs) : https://go.microsoft.com/fwlink/p/?LinkId=734717
29/09/2016
47
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
Ce qu’on a couvert
•Les prérequis en OS
•Les prérequis en fonctionnalités
•ADK
•Finalisation des prérequis
29/09/2016
48
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
Site : http://www.alphorm.comBlog : http://blog.alphorm.com
Fabrice SforzaExpert Microsoft / CitrixITTA (It Training Academy) en Suissehttps://www.youlearnit.ch/
Installation de MDT 2013
Installation de MDT 2013 U2
29/09/2016
49
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
Plan
• Etape 1 : Télécharger MDT
• Etape 2 : Installer ADK Windows 10
• Etape 3 : Créer le partage de déploiement
• Etape 4 : Générer les fichiers de boot
• Etape 5 : Installer et configurer WDS
• Etape 6 : Configurer les options DCHP
29/09/2016
50
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
Etape 1 : Télécharger MDT
• On va télécharger MDT
• On lance l’installation en tant que admin (MDT en Anglais seulement)
29/09/2016
51
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
Etape 2 : Installer ADK Windows 10
• On installe ADK Windows 10
29/09/2016
52
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
Etape 3 : Créer le partage de déploiement
• On va ensuite créer le partage de déploiement
29/09/2016
53
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
Etape 4 : Générer les fichiers de boot
• On va ensuite générer les fichiers de boot
• Ces fichiers de boot vont remplacer ceux de WDS !
29/09/2016
54
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
Etape 5 : Installer et configurer WDS
• On installe et configure WDS
• On change les fichiers de boot
29/09/2016
55
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
Etape 6 : Configurer les options DCHP
• On configure les options DCHP
Et voila !
29/09/2016
56
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
Ce qu’on a couvert
• Etape 1 : Télécharger MDT
• Etape 2 : Installer ADK Windows 10
• Etape 3 : Créer le partage de déploiement
• Etape 4 : Générer les fichiers de boot
• Etape 5 : Installer et configurer WDS
• Etape 6 : Configurer les options DCHP
29/09/2016
57
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
Site : http://www.alphorm.comBlog : http://blog.alphorm.com
Fabrice SforzaExpert Microsoft / CitrixITTA (It Training Academy) en Suissehttps://www.youlearnit.ch/
Migration vers MDT 2013
Installation de MDT 2013 U2
29/09/2016
58
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
Plan
• Etape 1 : Désinstaller MDT 2013 U1
• Etape 2 : Installer MDT 2013 Update 2
• Etape 3 : Mettre à jour le partage
29/09/2016
59
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
Etape 1 : Désinstaller MDT 2013 U1
• Pour pouvoir mettre à jour MDT Update 1, on va devoir le désinstaller
• Pas de stress, vous allez tout récupérer la config de Update 1
29/09/2016
60
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
Etape 2 : Installer MDT 2013 Update 2
• On installe MDT 2013 Update 2
29/09/2016
61
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
Etape 3 : Mettre à jour le partage
• On va ensuite avoir une erreur
• C’est normal il fautmettre à jour le partage
• On peut aussi en PowerShell :(powershell c’est Rock and Roll)
• Import-Module “C:\Program Files\Microsoft Deployment Toolkit\bin\MicrosoftDeploymentToolkit.psd1”new-PSDrive -Name “DS002” -PSProvider “MDTProvider” -Root “d:\DeploymentPROD” -Description “MDT Deployment Share” -Force -Verbose | add-MDTPersistentDrive -Verbose
29/09/2016
62
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
Ce qu’on a couvert
•Etape 1 : Désinstaller MDT 2013 U1
•Etape 2 : Installer MDT 2013 Update 2
•Etape 3 : Mettre à jour le partage
29/09/2016
63
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
Site : http://www.alphorm.comBlog : http://blog.alphorm.com
Fabrice SforzaExpert Microsoft / CitrixITTA (It Training Academy) en Suissehttps://www.youlearnit.ch/
Configuration du point de distribution
Point de distribution
29/09/2016
64
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
Plan
•Qu’est ce que c’est le point de distribution?
•Configuration
•Les fichiers de BOOT
•Mettre à jour le contenu
29/09/2016
65
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
Qu’est ce que c’est le point de distribution?
• Le point de distribution est un partage ou MDT met tout cequ’il faut pour déployer un OS.
• C’est comme le DP sous SCCM.
• Il doit donc être accessible par les clients.
29/09/2016
66
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
Configuration
• Quand vous avez installé MDT, il faut créer ce partage
• Il faut donc un disque rapide avec une grande capacité
• Ne pas le créer sur C:
� Que en lab !!
29/09/2016
67
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
Les fichier de BOOT
• Il faut mettre à jour les fichiers de BOOT
• Deux plateformes :
1. X86
2. X64
29/09/2016
68
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
Mettre a jour le contenu
• A chaque fois que vous rajoutez ou modifier MDT, il faut mettreà jour le partage.
• Exemple si je veux créer une séquencede tâches pour installer Windows 7ou Windows 10, je vais devoir :
� Importer un master
� Importer des drivers
� Création de la séquence des tâches
� ……. Pas oublier de mettreà jour le partage
29/09/2016
69
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
Ce qu’on a couvert
•Qu’est ce que c’est le point de distribution?
•Configuration
•Les fichiers de BOOT
•Mettre à jour le contenu
29/09/2016
70
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
Site : http://www.alphorm.comBlog : http://blog.alphorm.com
Fabrice SforzaExpert Microsoft / CitrixITTA (It Training Academy) en Suissehttps://www.youlearnit.ch/
La console MDT 2013
Point de distribution
29/09/2016
71
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
Plan
•Présentation de la console
29/09/2016
72
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
Présentation de la console
29/09/2016
73
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
Ce qu’on a couvert
•Présentation de la console
29/09/2016
74
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
Site : http://www.alphorm.comBlog : http://blog.alphorm.com
Fabrice SforzaExpert Microsoft / CitrixITTA (It Training Academy) en Suissehttps://www.youlearnit.ch/
Préparation de WINPE
Déploiement de Windows 10 avec MDT
29/09/2016
75
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
Plan
•Le principe
•Configuration
•Les règles
•Génération de WINPE
29/09/2016
76
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
Le principe
• Le but est que :
� Le client boot sur WDS avec le fichier de boot
• Ensuite on va pas utiliser les fichiers de boot d’un système maisau contraire celui de MDT ☺
29/09/2016
77
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
Configuration
29/09/2016
78
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
Les règles
29/09/2016
79
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
Génération de WINPE
• Pour créer ou générer les fichiers de BOOT
29/09/2016
80
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
Ce qu’on a couvert
•Le principe
•Configuration
•Les règles
•Génération de WINPE
29/09/2016
81
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
Site : http://www.alphorm.comBlog : http://blog.alphorm.com
Fabrice SforzaExpert Microsoft / CitrixITTA (It Training Academy) en Suissehttps://www.youlearnit.ch/
Création d'un master Windows 10
Déploiement de Windows 10 avec MDT
29/09/2016
82
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
Plan
•Les étapes de création d’un master Windows 10
29/09/2016
83
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
Les étapes
• On va ajouter les fichiers Windows 10 dans MDT
• On peut ajouter Office ou d’autres applications
• Ensuite on ajoute les drivers pour WinPE
• Ensuite on va créer la séquence des tâches
• On édite la Séquence des tâches
• On peut modifier le fichier Unattend.xml
• On modifie les fichiers customsettings et bootstrap.ini
• On lance le poste
29/09/2016
84
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
Ce qu’on a couvert
•Les étapes de création d’un master Windows 10
29/09/2016
85
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
Site : http://www.alphorm.comBlog : http://blog.alphorm.com
Fabrice SforzaExpert Microsoft / CitrixITTA (It Training Academy) en Suissehttps://www.youlearnit.ch/
Préparation du déploiement de Windows 10
Déploiement de Windows 10 avec MDT
29/09/2016
86
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
Plan
•Les étapes déploiement de Windows 10
29/09/2016
87
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
Les étapes• On ajoute l’image qui a été capturée (voir vidéo création master)
• On va ajouter une application : Adobe Reader
• On ajoute les drivers par modèle de PC
• On ajoute les drivers pour WinPE
• On va créer la séquence des tâches
• On modifie les fichiers customsettings.ini et bootstrap.ini
• On peut ajouter DaRT 10
• On met à jour le partage
• On surveille
29/09/2016
88
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
Ce qu’on a couvert
•Les étapes déploiement de Windows 10
29/09/2016
89
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
Site : http://www.alphorm.comBlog : http://blog.alphorm.com
Fabrice SforzaExpert Microsoft / CitrixITTA (It Training Academy) en Suissehttps://www.youlearnit.ch/
Création de la séquence des tâches
Déploiement de Windows 10 avec MDT
29/09/2016
90
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
Plan
•Rappel d’une séquence de tâches
•Les propriétés
•Les conditions
•Les cibles des clients
29/09/2016
91
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
Rappel d’une séquence de tache• Une séquence de tâches est un ensemble de tâches qui vont
être exécutées en série
• Plus pratique que la création de fichiers de réponse (SIM)
29/09/2016
92
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
Les propriétés• A chaque étape on va sélectionner la tâche et remplir les propriétés
• Exemple ici on va formater un disque !
29/09/2016
93
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
Les conditions• On peut ajouter des conditions
29/09/2016
94
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
Les cibles des clients• On peut ensuite choisir les OS
29/09/2016
95
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
Ce qu’on a couvert
•Rappel d’une séquence de tâches
•Les propriétés
•Les conditions
•Les cibles des clients
29/09/2016
96
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
Site : http://www.alphorm.comBlog : http://blog.alphorm.com
Fabrice SforzaExpert Microsoft / CitrixITTA (It Training Academy) en Suissehttps://www.youlearnit.ch/
Ajout de DART
Déploiement de Windows 10 avec MDT
29/09/2016
97
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
Plan
•Qu’est ce que c’est DART ?
• Il sert à quoi ?
• Intégration avec WINPE
29/09/2016
98
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
Qu’est ce que c’est DART ?
• Disponible à travers le MDOP pour la software assurance
• La dernière version est la 8
29/09/2016
99
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
Il sert à quoi ?• Microsoft Diagnostics and Recovery Toolset (DaRT) 8.0 vous aide à
corriger les problèmes et à réparer les ordinateurs Windows.
• Augmente WINRE
29/09/2016
100
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
Intégration avec WINPE
• On va installer DART et l’ajouter dans WINPE
29/09/2016
101
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
Ce qu’on a couvert
•Qu’est ce que c’est DART ?
• Il sert à quoi ?
• Intégration avec WINPE
29/09/2016
102
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
Site : http://www.alphorm.comBlog : http://blog.alphorm.com
Fabrice SforzaExpert Microsoft / CitrixITTA (It Training Academy) en Suissehttps://www.youlearnit.ch/
Les variables et propriétés
Configuration avancée de MDT
29/09/2016
103
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
Plan
•Les variables
•Exemple
29/09/2016
104
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
Les variables• Il existe une liste importante de variables qu’on peut utiliser
lors du déploiement
• http://www.hayesjupe.com/sccm-and-mdt-list-of-variables/
29/09/2016
105
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
Exemple[Settings]
Priority=Default
Properties=MyCustomProperty
[Default]
OSInstall=Y
DeploymentType=NEWCOMPUTER
ComputerName=WIN10REF
DoNotCreateExtraPartition=YES
ApplyGPOPack=NO
UserDataLocation=NONE
HideShell=NO
JoinWorkgroup=WORKGROUP
AdminPassword=Pass1344T5Z
29/09/2016
106
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
Ce qu’on a couvert
•Les variables
•Exemple
29/09/2016
107
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
Site : http://www.alphorm.comBlog : http://blog.alphorm.com
Fabrice SforzaExpert Microsoft / CitrixITTA (It Training Academy) en Suissehttps://www.youlearnit.ch/
Les fichiers Bootstrapet Customsettings
Configuration avancée de MDT
29/09/2016
108
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
Plan
•Le fichier Boostrap
•Le fichier Customsettings
•Cas pratique 1
•Cas pratique 2
•Cas pratique 3
•Cas pratique 4
29/09/2016
109
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
Le fichier Boostrap
29/09/2016
110
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
Le fichier Customsettings
29/09/2016
111
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
Cas pratique 1
• Je veux dans le fichier customsettings configurer la résolution de l’écran par modèle
[Settings]Priority=Model, Default
[Default]OSInstall=Y
[Latitude E6510]BitsPerPel=32VRefresh=60XResolution=1920YResolution=1080
29/09/2016
112
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
Cas pratique 2
• Je veux dans le customsettings nommer un pc par rapport son adresse MAC
[Settings]Priority=MacAddress, Default
[Default]OSInstall=YES[00:15:5D:85:6B:00]OSDComputerName=PC00075
29/09/2016
113
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
Cas pratique 3
• Je veux configurer le mot de passe de l’admin
SkipAdminPassword=YESAdminPassword=P@ssw0rd
29/09/2016
114
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
Cas pratique 4
• Je veux nommer des PC par rapport à leurs passerelle ☺
29/09/2016
115
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
Ce qu’on a couvert
•Le fichier Boostrap
•Le fichier Customsettings
•Cas pratique 1
•Cas pratique 2
•Cas pratique 3
•Cas pratique 4
29/09/2016
116
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
Site : http://www.alphorm.comBlog : http://blog.alphorm.com
Fabrice SforzaExpert Microsoft / CitrixITTA (It Training Academy) en Suissehttps://www.youlearnit.ch/
MDT avec base de données
Configuration avancée de MDT
29/09/2016
117
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
Plan
•Quel avantage?
•Permissions dans SQL
•Saisie d’une entrée
29/09/2016
118
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
Quel avantage
• Permet de remplacer le fichier CustomSettings.ini par une basede données !
• Je vais utiliser SQL Express Server 2012 SP1
29/09/2016
119
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
Permissions dans SQL
29/09/2016
120
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
Saisie d’une entrée
• Je vais maintenant pouvoir utiliser la base de donnée et saisir les infos
29/09/2016
121
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
Ce qu’on a couvert
•Quel avantage?
•Permissions dans SQL
•Saisie d’une entrée
29/09/2016
122
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
Site : http://www.alphorm.comBlog : http://blog.alphorm.com
Fabrice SforzaExpert Microsoft / CitrixITTA (It Training Academy) en Suissehttps://www.youlearnit.ch/
Les fichiers logs
Surveiller et diagnostiquer MDT
29/09/2016
123
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
Plan
•Où se trouvent les fichiers LOGS?
•Meilleure pratique
•Lire les logs
29/09/2016
124
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
Ou se trouvent les fichiers LOGS
• %WINDIR%\TEMP\DeploymentLogs
• BDD.LOG – tous les logs sont dans ce fichier
• SMSTS.LOG – log pour les séquences des tâches
• Sur le poste :
� X:\MININT\SMSOSD\OSDLOGS (avant le déploiement)
� C:\MININT\SMSOSD\OSDLOGS (après le déploiement)
29/09/2016
125
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
Meilleure pratique
• Pour éviter d’aller sur les postes pour consulter les logs, on peutles sauver sur le serveur. On va créer un répertoire.
• Ensuite on ajoute les lignes.
29/09/2016
126
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
Lire les logs
• Télécharger SCCM 2007 Toolkit depuis https://www.microsoft.com/en-us/download/details.aspx?id=9257
29/09/2016
127
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
Ce qu’on a couvert
•Où se trouvent les fichiers LOGS?
•Meilleure pratique
•Lire les logs
29/09/2016
128
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
Site : http://www.alphorm.comBlog : http://blog.alphorm.com
Fabrice SforzaExpert Microsoft / CitrixITTA (It Training Academy) en Suissehttps://www.youlearnit.ch/
Powershell
Surveiller et diagnostiquer MDT
29/09/2016
129
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
Plan
•Le module PS
•Les commandes
29/09/2016
130
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
Le module
• On va charger le module :
� add-PSSnapin -Name Microsoft.BDD.PSSnapIn
• Pour voir toutes les commandes :
� https://technet.microsoft.com/en-us/library/dn781089.aspx
29/09/2016
131
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
Les commandes
• Les commandes disponibles :
29/09/2016
132
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
Ce qu’on a couvert
•Le module PS
•Les commandes
29/09/2016
133
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
Site : http://www.alphorm.comBlog : http://blog.alphorm.com
Fabrice SforzaExpert Microsoft / CitrixITTA (It Training Academy) en Suissehttps://www.youlearnit.ch/
CONCLUSION
29/09/2016
134
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
Plan
•Ce que on a vu
29/09/2016
135
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
Ce que on a vu
• Voici les sujets abordés :
� Présentation de MDT 2013
� Installation de MDT 2013
� Création et configuration du point de distribution
� Déploiement de Windows 10 avec MDT
� Configuration avancée de MDT
� Monitorer et diagnostiquer MDT
29/09/2016
136
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
Je vous conseille de
• Utiliser les virtual labs de Microsoft pour vous faire la main
• Faire votre propre LAB
• Et surtout profitez du WE pour vous détendre ☺
29/09/2016
137
Formation MDT (Microsoft Deployment Toolkit) 2013 U2 alphorm.com™©
Merci !