Module 5 : TP Final - L'Image Master "Golden ISO"
Durée estimée : 1 heure
Scenario : Project VDI-Lite
Contexte Mission
Votre entreprise déploie une infrastructure VDI (Virtual Desktop Infrastructure) pour permettre le télétravail :
- Plateforme : Proxmox VE / KVM (hyperviseur open-source)
- Cible : 50 machines virtuelles Windows 11 Enterprise
- Contraintes :
- đŻ LĂ©gĂšretĂ© : Les VMs ont 2 vCPU / 4 GB RAM / 60 GB disque
- ⥠Rapidité : Provisioning d'une nouvelle VM en < 15 minutes
- đ€ Automatisation : ZĂ©ro interaction manuelle (dĂ©ploiement nocturne)
- đ SĂ©curitĂ© : Compte utilisateur prĂ©-configurĂ©, tĂ©lĂ©mĂ©trie dĂ©sactivĂ©e
Objectifs Mesurables
| Métrique | Baseline Windows 11 | Objectif Golden ISO | CritÚre de réussite |
|---|---|---|---|
| Taille ISO | ~5.2 GB | < 4.0 GB | â RĂ©duction de 23% |
| Installation complĂšte | 25-30 min | < 10 min | â Gain de 66% |
| Clics utilisateur | ~15 Ă©crans | 0 clic | â 100% automatisĂ© |
| RAM au boot | ~2.5 GB | < 1.8 GB | â Ăconomie de 700 MB |
| Services actifs | ~180 | < 120 | â RĂ©duction de 33% |
Ătape 1 : La Base (Module 1)
1.1 Téléchargement de l'image source
Source officielle :
Microsoft Evaluation Center
URL : https://www.microsoft.com/en-us/evalcenter/evaluate-windows-11-enterprise
Version recommandée : Windows 11 Enterprise 23H2 (x64)
Format : ISO (~5.2 GB)
Alternative avec Media Creation Tool :
# Télécharger Media Creation Tool
Invoke-WebRequest -Uri "https://go.microsoft.com/fwlink/?LinkId=691209" -OutFile "MediaCreationTool.exe"
# Sélectionner :
# - Edition : Windows 11
# - Language : French
# - Architecture : 64-bit
# - Format : ISO file
1.2 Montage dans NTLite
Actions :
- Lancer NTLite
- Image history > Add > Image file (install.wim/esd)
- Naviguer vers :
G:\ISO\Win11_Enterprise_23H2.iso - Sélectionner :
sources\install.wim - Charger l'édition :
Windows 11 Enterprise
Vérifications :
â Edition : Windows 11 Enterprise
â Version : 23H2 (Build 22631.xxxx)
â Architecture : x64
â Language : fr-FR (ou en-US si langue française ajoutĂ©e aprĂšs)
1.3 Sauvegarde du projet
Créer un preset réutilisable :
File > Save preset
Nom : VDI-Lite-Golden-v1.0
Description : Image optimisée pour VDI Proxmox (50 VMs, 4GB RAM)
Avantage : Vous pourrez réappliquer cette configuration chaque mois lors des mises à jour.
Ătape 2 : Le RĂ©gime (Module 2)
2.1 Activation du mode Compatibility
Avant toute suppression :
Components > Compatibility (onglet en haut)
â Enable compatibility warnings
â Prevent removal of networking components
â Prevent removal of storage drivers
2.2 Suppression des Modern Apps (UWP)
Cible : Toutes les applications métiers inutiles en VDI
Applications Ă supprimer :
Navigation : Components > Applications
â Microsoft.BingNews
â Microsoft.BingWeather
â Microsoft.GetHelp
â Microsoft.Getstarted
â Microsoft.Microsoft3DViewer
â Microsoft.MicrosoftOfficeHub (si Office dĂ©ployĂ© sĂ©parĂ©ment)
â Microsoft.MicrosoftSolitaireCollection
â Microsoft.MixedReality.Portal
â Microsoft.Office.OneNote (version UWP)
â Microsoft.People
â Microsoft.SkypeApp
â Microsoft.Wallet
â Microsoft.WindowsAlarms
â Microsoft.WindowsCamera
â Microsoft.WindowsFeedbackHub
â Microsoft.WindowsMaps
â Microsoft.WindowsSoundRecorder
â Microsoft.Xbox.TCUI
â Microsoft.XboxApp
â Microsoft.XboxGameOverlay
â Microsoft.XboxGamingOverlay
â Microsoft.XboxIdentityProvider
â Microsoft.XboxSpeechToTextOverlay
â Microsoft.YourPhone
â Microsoft.ZuneMusic
â Microsoft.ZuneVideo
Ăconomie estimĂ©e : ~800 MB
Applications Ă CONSERVER :
â Microsoft.WindowsCalculator (utilitaire de base)
â Microsoft.WindowsStore (peut ĂȘtre requis pour certaines LOB apps)
â Microsoft.WindowsTerminal (si utilisateurs avancĂ©s)
â Microsoft.Paint (Paint moderne)
â Microsoft.ScreenSketch (captures d'Ă©cran)
â Microsoft.HEIFImageExtension (support HEIF/HEIC)
â Microsoft.VP9VideoExtensions (support vidĂ©o)
â Microsoft.WebMediaExtensions (support mĂ©dia web)
2.3 Suppression de composants systĂšme
Navigation : Components > System
à supprimer (VDI sans matériel physique) :
â Cortana
â OneDrive (si SharePoint/serveur de fichiers utilisĂ©)
â Windows Mixed Reality
â Windows Hello Face (pas de camĂ©ra en VDI)
â Retail Demo Content
â Windows Insider Hub
â Geo-location Service
â Advertising ID
â Steps Recorder (psr.exe)
â Internet Explorer 11 (obsolĂšte)
â Windows Media Player (legacy)
â WordPad
â XPS Viewer & Services
Ăconomie estimĂ©e : ~400 MB
Ă CONSERVER (Critique pour VDI) :
â Windows Defender (sĂ©curitĂ© de base - IMPORTANT)
â Remote Desktop Services (accĂšs RDP si nĂ©cessaire)
â Print Spooler (impression redirigĂ©e)
â Windows Update (mises Ă jour de sĂ©curitĂ©)
â .NET Framework 3.5 + 4.8
â PowerShell
â Windows Search (indexation)
â ïž IMPORTANT : Ne PAS supprimer Windows Defender en VDI, mĂȘme si un antivirus tiers est prĂ©vu. Defender fournit une protection de base pendant le provisioning.
2.4 Edge Chromium : Décision
ProblÚme : Edge est intégré à Windows 11 (composants systÚme)
Recommandation :
â NE PAS supprimer Edge via NTLite (risque de casser des composants)
Alternative :
â DĂ©sactiver Edge via GPO aprĂšs dĂ©ploiement
â Installer Chrome/Firefox comme navigateur par dĂ©faut
â Bloquer les mises Ă jour Edge via Registry
2.5 Vérification "Pending Changes"
Avant d'appliquer :
Pending Changes (onglet en bas)
â VĂ©rifier qu'aucune ligne rouge n'apparaĂźt
â Total supprimĂ© : ~1.2 GB
Ătape 3 : Les Pilotes (Module 3)
3.1 Context VDI : Pourquoi VirtIO ?
En environnement Proxmox/KVM, Windows ne dispose PAS des drivers natifs pour : - đŸ VirtIO SCSI : ContrĂŽleur de disque virtuel (performances optimales) - đ VirtIO Network : Carte rĂ©seau virtuelle (30% plus rapide que e1000) - đ„ïž QXL/VirtIO GPU : Affichage optimisĂ©
Sans ces drivers :
â Windows Setup affiche : "Aucun lecteur n'a Ă©tĂ© trouvĂ©"
â Le rĂ©seau ne fonctionne pas aprĂšs installation
â Les performances sont dĂ©gradĂ©es (Ă©mulation e1000)
3.2 Téléchargement des drivers VirtIO
Source officielle :
Fedora VirtIO Drivers (certifiés Microsoft)
URL : https://github.com/virtio-win/virtio-win-pkg-scripts/blob/master/README.md
Lien direct ISO : https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/stable-virtio/virtio-win.iso
Taille : ~500 MB
Extraire l'ISO :
# Monter l'ISO VirtIO
Mount-DiskImage -ImagePath "C:\Downloads\virtio-win.iso"
# Copier les drivers Windows 11
$DriveLetter = (Get-DiskImage -ImagePath "C:\Downloads\virtio-win.iso" | Get-Volume).DriveLetter
Copy-Item "${DriveLetter}:\viostor\w11\amd64" -Destination "C:\Drivers\VirtIO_Storage" -Recurse
Copy-Item "${DriveLetter}:\NetKVM\w11\amd64" -Destination "C:\Drivers\VirtIO_Network" -Recurse
Copy-Item "${DriveLetter}:\vioscsi\w11\amd64" -Destination "C:\Drivers\VirtIO_SCSI" -Recurse
Copy-Item "${DriveLetter}:\qxldod\w11\amd64" -Destination "C:\Drivers\VirtIO_Display" -Recurse
# Démonter
Dismount-DiskImage -ImagePath "C:\Downloads\virtio-win.iso"
Résultat :
C:\Drivers\
âââ VirtIO_Storage\
â âââ viostor.inf
â âââ viostor.sys
â âââ viostor.cat
âââ VirtIO_Network\
â âââ [...]
âââ VirtIO_SCSI\
â âââ [...]
âââ VirtIO_Display\
âââ [...]
3.3 Intégration dans NTLite
Actions :
- Drivers (onglet)
-
Add > Insert Driver folder
-
Résultat :
-
Cibler boot.wim ET install.wim :
- Clic droit sur VirtIO Storage
Properties > â Integrate into Boot image- RĂ©pĂ©ter pour VirtIO Network
â ïž CRITIQUE : Sans drivers dans boot.wim, l'installateur ne dĂ©tectera pas le disque virtuel.
3.4 Intégration des mises à jour
Téléchargement :
Microsoft Update Catalog
Rechercher : "2025-01 Cumulative Update Windows 11 Version 23H2 for x64"
Télécharger :
- SSU (Servicing Stack Update) : KB5034848
- LCU (Latest Cumulative Update) : KB5034843
Intégration :
Updates (onglet)
Add > Select files
â SĂ©lectionner SSU + LCU
â Integrate updates
â Clean update backup (ResetBase)
Apply
Temps estimé : 15-20 minutes
Ătape 4 : Le Pilote Automatique (Module 4)
4.1 Configuration de la langue
Navigation : Unattended > Localization
Input Locale : fr-FR
System Locale : fr-FR
UI Language : fr-FR
User Locale : fr-FR
Time Zone : Romance Standard Time
4.2 Création du compte utilisateur
Navigation : Unattended > Users
Configuration :
Add > Local Account
Username : VDI-User
Full Name : Utilisateur VDI
Password : SecurePass!
Confirm Password : SecurePass!
Groups : Users (PAS Administrators - principe du moindre privilĂšge)
Auto-logon count : 0 (désactivé - l'utilisateur saisit son mot de passe)
Justification : - â Pas d'auto-logon en VDI (sĂ©curitĂ© multi-utilisateurs) - â Pas de droits Administrateur par dĂ©faut (rĂ©duction de surface d'attaque) - â Mot de passe fort obligatoire
4.3 Configuration OOBE
Navigation : Unattended > General
â Auto-fill defaults
â Hide account pages (compte dĂ©jĂ créé)
â Skip machine OOBE
â Express settings (dĂ©sactivĂ© pour vie privĂ©e)
Navigation : Unattended > OOBE Extended
â Skip EULA
â Skip Privacy Settings
â Skip Wireless Setup
â Skip MSA (Microsoft Account)
â Skip Cortana
â Skip OneDrive
â Skip Region
â Skip Keyboard
4.4 Partitionnement automatique
Navigation : Unattended > Disk Configuration
Configuration :
Résultat :
Disk 0 (60 GB) :
âââ EFI System Partition (100 MB)
âââ MSR (Microsoft Reserved) (16 MB)
âââ Windows (C:) (59.9 GB)
â ïž SĂCURITĂ VDI : Cette option est SAFE en VDI car les VMs sont provisionnĂ©es Ă partir de zĂ©ro.
Ătape 5 : La Touche Finale (Post-Setup)
5.1 Objectif : Installation automatique de Chocolatey
Pourquoi Chocolatey en VDI ? - â Installation silencieuse d'applications (Chrome, VSCode, 7zip) - â Mises Ă jour centralisĂ©es via script - â Pas de manipulation manuelle de .exe/.msi
5.2 Création du script SetupComplete.cmd
Navigation : Unattended > RunOnce > Add
â ïž CORRECTION : NTLite utilise $OEM$ folders, pas "RunOnce" directement.
Méthode correcte :
Navigation : Post-Setup (onglet en haut, à cÎté de Unattended)
Créer le fichier localement :
REM C:\Temp\SetupComplete.cmd
@echo off
REM ========================================
REM Script exécuté à la fin de l'installation Windows
REM ========================================
echo [%date% %time%] Installation de Chocolatey... >> C:\Windows\Temp\setup.log
REM Autoriser l'exécution de scripts PowerShell
powershell.exe -NoProfile -Command "Set-ExecutionPolicy Bypass -Scope LocalMachine -Force"
REM Installer Chocolatey
powershell.exe -NoProfile -Command "[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))"
echo [%date% %time%] Chocolatey installé. >> C:\Windows\Temp\setup.log
REM Installer des applications de base (optionnel)
REM choco install googlechrome 7zip notepadplusplus -y
echo [%date% %time%] Setup terminé. >> C:\Windows\Temp\setup.log
exit 0
5.3 Intégration dans NTLite
Méthode 1 : Via Post-Setup (recommandé)
Navigation : Post-Setup > $OEM$ folders > Add folder
Structure à créer :
C:\NTLite_PostSetup\
âââ $OEM$/
âââ $$\
âââ Setup\
âââ Scripts\
âââ SetupComplete.cmd
Actions dans NTLite :
- Créer le dossier
C:\NTLite_PostSetup\$OEM$\$$\Setup\Scripts\ - Placer le fichier
SetupComplete.cmddedans - Dans NTLite :
Post-Setup > Add folder - Sélectionner
C:\NTLite_PostSetup\$OEM$
Résultat : Le script sera copié dans C:\Windows\Setup\Scripts\SetupComplete.cmd et exécuté automatiquement.
Méthode 2 : Via interface NTLite simplifiée
Navigation : Unattended > RunOnce Commands (ou First Logon Commands)
Add Command:
cmd.exe /c "powershell.exe -NoProfile -ExecutionPolicy Bypass -Command \"[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))\""
Description: Install Chocolatey
Order: 1
â ïž Limitation : Cette mĂ©thode exĂ©cute au premier logon utilisateur, pas en post-setup systĂšme.
5.4 Vérification
Dans Pending Changes :
Ătape 6 : Build & Test
6.1 Génération de l'ISO
Actions :
-
Vérifier toutes les sections :
-
Apply > Create ISO
-
ParamĂštres ISO :
-
Lancer : Durée estimée 10-30 minutes selon CPU
6.2 Vérification de la taille
Objectif : < 4.0 GB
$ISO = Get-Item "G:\ISO\Win11_VDI_Lite_Golden_v1.0.iso"
$SizeGB = [math]::Round($ISO.Length / 1GB, 2)
Write-Host "Taille ISO : $SizeGB GB" -ForegroundColor $(if ($SizeGB -lt 4.0) {"Green"} else {"Red"})
# Sortie attendue : "Taille ISO : 3.75 GB" (en vert)
6.3 Test en Machine Virtuelle
Plateforme : VirtualBox ou Hyper-V (ou Proxmox si disponible)
Configuration VM de test :
Nom : VDI-Lite-Test
Type : Windows 11 (64-bit)
CPU : 2 vCPU
RAM : 4096 MB
Disque : 60 GB (VirtIO SCSI si Proxmox/KVM, SATA si VirtualBox)
Réseau : Bridged (VirtIO Network si Proxmox/KVM)
Boot : ISO Win11_VDI_Lite_Golden_v1.0.iso
Scénario de test :
Phase 1 : Installation (chronométrer)
1. Démarrer la VM sur l'ISO
2. [T0] Noter l'heure de début
3. Observer : AUCUN écran d'interaction ne doit apparaßtre
4. Vérifier : Le disque est détecté immédiatement (drivers VirtIO OK)
5. [T1] Noter l'heure d'arrivée sur l'écran de connexion
Objectif : T1 - T0 < 10 minutes
Phase 2 : Connexion
6. Connexion avec :
- Username : VDI-User
- Password : SecurePass!
7. Vérifier : Arrivée directe sur le bureau (pas d'OOBE)
Phase 3 : Validation technique
# Vérifier la taille installée
Get-PSDrive C | Select-Object Used, Free
# Objectif : Used < 20 GB
# Vérifier les services actifs
(Get-Service | Where-Object {$_.Status -eq 'Running'}).Count
# Objectif : < 120 services
# Vérifier la RAM utilisée
(Get-Counter '\Memory\Available MBytes').CounterSamples.CookedValue
# Objectif : RAM libre > 2 GB (sur 4 GB total)
# Vérifier Chocolatey
choco --version
# Sortie attendue : 2.x.x (si SetupComplete.cmd a fonctionné)
Phase 4 : Vérification fonctionnelle
â Le rĂ©seau est fonctionnel (ping 8.8.8.8)
â Le navigateur Edge fonctionne (mĂȘme si on le remplacera)
â L'explorateur de fichiers s'ouvre sans erreur
â Le Panneau de configuration est accessible
â Windows Update fonctionne (optionnel en VDI)
â Aucun point d'exclamation dans le Gestionnaire de pĂ©riphĂ©riques
6.4 Benchmark de performance
Comparer avec une installation standard :
| Métrique | Windows 11 Standard | Golden ISO VDI-Lite | Gain |
|---|---|---|---|
| Taille ISO | 5.2 GB | 3.75 GB | -28% |
| Temps d'installation | 25 min | 8 min | -68% |
| Clics requis | 15 | 0 | -100% |
| Espace disque utilisé | 28 GB | 18 GB | -36% |
| RAM au boot | 2.5 GB | 1.7 GB | -32% |
| Services actifs | 178 | 115 | -35% |
Ătape 7 : DĂ©ploiement (Production)
7.1 Création du Template Proxmox
Méthode recommandée : Convertir la VM de test en template
# Sur le nĆud Proxmox
# 1. ArrĂȘter la VM
qm stop 100
# 2. Convertir en template
qm template 100
# 3. Renommer
qm set 100 --name "WIN11-VDI-LITE-TEMPLATE-v1.0"
# 4. Cloner pour créer de nouvelles VMs
qm clone 100 200 --name "VDI-USER-001" --full
qm clone 100 201 --name "VDI-USER-002" --full
# [...]
Temps de provisioning par VM : 2-3 minutes (clonage de template).
7.2 Automatisation du déploiement
Script PowerShell (exécuté depuis Proxmox CLI) :
#!/bin/bash
# deploy_vdi_fleet.sh
# Déploie 50 VMs VDI en série
TEMPLATE_ID=100
START_ID=200
COUNT=50
for i in $(seq 0 $((COUNT-1))); do
VM_ID=$((START_ID + i))
VM_NAME="VDI-USER-$(printf '%03d' $((i+1)))"
echo "Déploiement de $VM_NAME (VMID: $VM_ID)..."
# Cloner le template
qm clone $TEMPLATE_ID $VM_ID --name "$VM_NAME" --full
# Configurer les ressources
qm set $VM_ID --memory 4096 --cores 2
# Démarrer la VM
qm start $VM_ID
echo "$VM_NAME déployée avec succÚs."
done
echo "Déploiement terminé : $COUNT VMs créées."
Exécution :
Temps total : 50 VMs déployées en ~15 minutes.
Ătape 8 : Maintenance de l'Image
8.1 Cycle de mise Ă jour mensuel
Workflow recommandé (chaque Patch Tuesday) :
1. Télécharger la nouvelle LCU du mois
2. Ouvrir le projet NTLite sauvegardé
3. Updates > Remove old LCU > Add new LCU
4. Apply > Create ISO
5. Tester en VM
6. Recréer le template Proxmox
7. Déployer progressivement (rolling update)
8.2 Versioning de l'image
Convention de nommage :
Format : WIN11_VDI_LITE_vX.Y_YYYY-MM
Exemples :
- WIN11_VDI_LITE_v1.0_2025-01.iso (version initiale, janvier 2025)
- WIN11_VDI_LITE_v1.1_2025-02.iso (mise à jour février)
- WIN11_VDI_LITE_v2.0_2025-06.iso (changement majeur)
8.3 Documentation de l'image
Créer un fichier README.md :
# Golden ISO VDI-Lite v1.0
## Informations
- **Version Windows** : Windows 11 Enterprise 23H2 (Build 22631.3085)
- **Date de création** : 2025-01-15
- **Mises à jour intégrées** : SSU KB5034848, LCU KB5034843
- **Taille** : 3.75 GB
## Composants supprimés
- Toutes les applications Xbox
- Cortana, OneDrive, Mixed Reality
- 25 applications UWP au total
## Drivers intégrés
- VirtIO Storage (viostor)
- VirtIO Network (NetKVM)
- VirtIO SCSI (vioscsi)
- QXL Display
## Configuration Unattended
- **Langue** : Français (fr-FR)
- **Compte** : VDI-User / SecurePass!
- **Auto-logon** : Désactivé
- **OOBE** : Tous les écrans skip
## Post-Setup
- Installation automatique de Chocolatey
- ExecutionPolicy configurée en Bypass
## Utilisation
1. Monter l'ISO dans Proxmox
2. Créer une VM (2 vCPU, 4GB RAM, 60GB Disk)
3. Booter sur l'ISO
4. Attendre 8-10 minutes
5. Connexion avec VDI-User / SecurePass!
## Tests
- â
Installation : 8 min 23 sec
- â
RAM au boot : 1.65 GB
- â
Services actifs : 112
- â
Espace disque : 17.8 GB
## Changelog
### v1.0 (2025-01-15)
- Version initiale
- Intégration VirtIO drivers
- Configuration OOBE complĂšte
Conclusion : Vous ĂȘtes maintenant un Image Master
Compétences acquises
Au cours de cette formation NTLite Mastery, vous avez appris Ă :
- â Manipuler les fichiers WIM/ESD (Module 1)
- Montage/démontage d'images
- Extraction d'éditions spécifiques
-
Création d'ISO bootables
-
â Optimiser Windows pour des cas d'usage spĂ©cifiques (Module 2)
- Suppression de composants en toute sécurité (Compatibility mode)
- Réduction de 30% de la taille d'installation
-
Désactivation de la télémétrie et bloatware
-
â IntĂ©grer drivers et mises Ă jour (Module 3)
- Distinction boot.wim vs install.wim
- Export de drivers via PowerShell
- Intégration de LCU avec ResetBase
-
Drivers VirtIO pour KVM/Proxmox
-
â Automatiser l'installation (Module 4)
- Génération de fichiers autounattend.xml
- Configuration OOBE Skip
- Création de comptes locaux
-
Partitionnement automatique
-
â CrĂ©er une Golden Image production-ready (Module 5)
- Intégration de post-setup scripts
- Tests et validation en VM
- Déploiement à grande échelle (50+ VMs)
- Maintenance et versioning
Prochaines étapes
Pour aller plus loin :
- Intégration MDT/WDS : Déployer via réseau PXE
- SCCM/Intune : Gestion centralisée du parc
- VDI avancé : Intégration Citrix/VMware Horizon
- NTLite CLI : Automatiser avec PowerShell
- Sysprep & Capture : Créer des images de référence personnalisées
Ressources complémentaires
| Ressource | Type | URL |
|---|---|---|
| Documentation NTLite | Officiel | https://www.ntlite.com/documentation/ |
| VirtIO Drivers | Drivers | https://github.com/virtio-win/virtio-win-pkg-scripts |
| Microsoft Docs - Unattend | Doc | https://learn.microsoft.com/windows-hardware/customize/desktop/unattend/ |
| Chocolatey Packages | Repository | https://community.chocolatey.org/packages |
| r/sysadmin | Communauté | https://reddit.com/r/sysadmin |
Solution : Checklist ComplĂšte du TP
đ RĂ©capitulatif de Configuration (Cliquez pour dĂ©plier)
### 1. Image de baseSource : Windows 11 Enterprise 23H2 (x64)
Edition : Enterprise
Language : fr-FR (ou en-US avec langue ajoutée)
â Bing News, Weather
â Get Help, Get Started
â 3D Viewer
â Office Hub (UWP)
â Solitaire, Mixed Reality
â OneNote (UWP)
â People, Skype
â Wallet, Alarms, Camera
â Feedback Hub, Maps, Sound Recorder
â Tout l'Ă©cosystĂšme Xbox (5 apps)
â Your Phone, Zune Music/Video
â Cortana
â OneDrive
â Windows Mixed Reality
â Windows Hello Face
â Retail Demo Content
â Windows Insider Hub
â Geo-location Service
â Advertising ID
â Steps Recorder
â Internet Explorer 11
â Windows Media Player (legacy)
â WordPad, XPS Services
â Windows Defender
â Remote Desktop Services
â Print Spooler
â Windows Update
â .NET Framework 3.5 + 4.8
â PowerShell
â Edge (intĂ©grĂ©, dĂ©sactivation via GPO aprĂšs)
â VirtIO Storage (viostor) â boot.wim + install.wim
â VirtIO Network (NetKVM) â boot.wim + install.wim
â VirtIO SCSI (vioscsi) â install.wim
â QXL Display (qxldod) â install.wim
â SSU KB5034848 (Servicing Stack Update)
â LCU KB5034843 (Cumulative Update 2025-01)
â Clean update backup (ResetBase) : ActivĂ©
Input Locale : fr-FR
System Locale : fr-FR
UI Language : fr-FR
User Locale : fr-FR
Time Zone : Romance Standard Time
â Skip EULA
â Skip Privacy Settings
â Skip Wireless Setup
â Skip MSA
â Skip Cortana
â Skip OneDrive
â Skip Region
â Skip Keyboard
@echo off
powershell.exe -NoProfile -Command "Set-ExecutionPolicy Bypass -Scope LocalMachine -Force"
powershell.exe -NoProfile -Command "[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))"
exit 0
ISO Label : WIN11_VDI_LITE_v1.0
Output : G:\ISO\Win11_VDI_Lite_Golden_v1.0.iso
â Include boot files (UEFI + BIOS)
â Optimize file order
â Taille ISO : < 4.0 GB (objectif : 3.75 GB)
â Temps installation : < 10 min (objectif : 8 min)
â Clics requis : 0
â RAM au boot : < 1.8 GB (objectif : 1.65 GB)
â Services actifs : < 120 (objectif : 112)
â Espace disque : < 20 GB (objectif : 17.8 GB)
â RĂ©seau fonctionnel (ping, navigation web)
â Gestionnaire de pĂ©riphĂ©riques : aucun point d'exclamation
â Chocolatey installĂ© (choco --version)
â Connexion avec VDI-User / SecurePass!
â Interface en français
â Clavier AZERTY
<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<!-- Langue et clavier -->
<settings pass="windowsPE">
<component name="Microsoft-Windows-International-Core-WinPE">
<InputLocale>fr-FR</InputLocale>
<SystemLocale>fr-FR</SystemLocale>
<UILanguage>fr-FR</UILanguage>
<UserLocale>fr-FR</UserLocale>
</component>
<!-- Partitionnement auto -->
<component name="Microsoft-Windows-Setup">
<DiskConfiguration>
<Disk wcm:action="add">
<DiskID>0</DiskID>
<WillWipeDisk>true</WillWipeDisk>
<!-- Partitions UEFI/GPT créées automatiquement -->
</Disk>
</DiskConfiguration>
<UserData>
<AcceptEula>true</AcceptEula>
</UserData>
</component>
</settings>
<!-- Configuration machine -->
<settings pass="specialize">
<component name="Microsoft-Windows-Shell-Setup">
<TimeZone>Romance Standard Time</TimeZone>
</component>
</settings>
<!-- OOBE et utilisateur -->
<settings pass="oobeSystem">
<component name="Microsoft-Windows-Shell-Setup">
<OOBE>
<HideEULAPage>true</HideEULAPage>
<HideOnlineAccountScreens>true</HideOnlineAccountScreens>
<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
<ProtectYourPC>3</ProtectYourPC>
</OOBE>
<UserAccounts>
<LocalAccounts>
<LocalAccount wcm:action="add">
<Name>VDI-User</Name>
<DisplayName>Utilisateur VDI</DisplayName>
<Group>Users</Group>
<Password>
<Value>SecurePass!</Value>
<PlainText>false</PlainText>
</Password>
</LocalAccount>
</LocalAccounts>
</UserAccounts>
</component>
</settings>
</unattend>
# Vérifier la taille de l'ISO
$ISO = Get-Item "G:\ISO\Win11_VDI_Lite_Golden_v1.0.iso"
[math]::Round($ISO.Length / 1GB, 2)
# Objectif : < 4.0 GB
# AprĂšs installation en VM :
# Taille disque utilisée
(Get-PSDrive C).Used / 1GB
# Objectif : < 20 GB
# Services actifs
(Get-Service | Where-Object {$_.Status -eq 'Running'}).Count
# Objectif : < 120
# RAM disponible
(Get-Counter '\Memory\Available MBytes').CounterSamples.CookedValue
# Objectif : > 2000 MB (sur 4 GB total)
# Chocolatey installé ?
choco --version
# Doit retourner une version (ex: 2.2.2)
# Drivers VirtIO chargés ?
Get-PnpDevice | Where-Object {$_.FriendlyName -like "*VirtIO*"}
# Doit afficher 2-4 devices
Félicitations !
Vous avez terminé la formation NTLite Mastery et créé une Golden Image production-ready pour un environnement VDI.
Vous maĂźtrisez maintenant : - â L'optimisation de Windows Ă l'Ă©chelle entreprise - â L'intĂ©gration de drivers et mises Ă jour - â L'automatisation complĂšte du dĂ©ploiement - â La maintenance et le versioning d'images
Vous ĂȘtes officiellement un Image Master. đ
N'hésitez pas à partager vos créations et à contribuer à la communauté !
Retour au : Programme de la Formation | Catalogue des Formations
Navigation
| â Module 4 : Automatisation - L'Install... | Module 6 : Cas d'Usage AvancĂ© - ISO S... â |