samedi 28 mai 2011

Installation et configuration des produits VMware avec logiciel libre(Openfiler)

Installation d’Openfiler

Je vous recommande d’utiliser la distribution GNU/Linux pour l’émulation de disque iSCSI si vous n’en possédez pas de physique , malgré des problèmes de performances sur un réseau gigabit , Voici deux tutoriels, un pour l’installation et l’autre pour la configuration d’Openfiler (les deux sont en anglais) expliquant bien les diverses étapes : Installation suivez juste les liens :
-installation
< href="http://www.openfiler.com/learn/how-to/graphical ">
- Configuration
< href=" http://www.techhead.co.uk/how-to-configure-openfiler-v23-iscsi-storage-for-use-with-vmware-esx">

Installation et configuration de ESX/ESXi

ESXi
L’installation se déroule en mode texte, la seule opération préalable consiste à accepter l’EULA, tout le reste se fait automatiquement. Une fois l’installation terminée, la machine redémarre, et à ce moment nous pouvons modifier la configuration. Voici une liste non-exhaustive des paramètres modifiable : Mot de passe d’administration (root) Adresse IP Disposition du clavier (le choix étant restreint, une bonne solution consiste à utiliser le clavier allemand qui est très similaire au clavier suisse romand) …

ESX
Contrairement à ESXi, ESX propose une installation en mode graphique en plus de l’installation en mode texte, j’ai donc utilisé l’installation en mode graphique (attention, cette dernière nécessite une souris). Cette fois ci, la configuration a lieu avant l’installation, voici les différentes étapes de cette dernière ainsi que quelques recommandations : Test facultatif du CD d’installation si ce dernier a été gravé et non pressé Message de bienvenue Choix de la disposition du clavier (cette fois ci, la disposition suisse romande est disponible) Choix du modèle de souris (si la souris fonctionne bien, vous pouvez conserver le choix par défaut) Un message d’erreur si le disque n’est pas vierge, ce message est à ignorer Lecture et acceptation de l’EULA Partitionnement, le mode automatique est recommandé et si votre disque dur n’est pas vierge, je vous recommande de retirer le vu de l’option « keep virtual machine … » car ESX ne supportant que les disques SCSI et non IDE ou SATA, il ne sert à rien de conserver ces partitions Apparition d’un Warning si le disque dur n’était pas vierge informant que les partitions existantes seront formatées (cliquez sur « Yes ») Apparition d’un Warning si le disque dur est de type IDE ou SATA indiquant que ce type de disque n’est pas supporté (cliquez sur « Yes ») Un écran qui montre le partitionnement automatique proposé qu’il est possible de modifié manuellement s’il ne vous convient pas Réglage des options avancées, tel que les options de boot Configuration réseau (ip, sous-réseaux, passerelle par défaut, serveur DNS, hostname, …) Sélection du fuseau horaire de l’emplacement du serveur (pour la L'Europe à vous de voir) Choix du mot de passe administrateur (root) et création d’utilisateurs supplémentaires Récapitulatif des paramètres choisis Installation Éjection du CD d’installation et reboot

Virtual Infrastructure Server (VI Server)
Le VI Server permet de gérer des groupes de machines ESX et ESXi, rendant possible la mise en oeuvre de fonctions comme vMotion.
Lancez l’installation, puis choisissez la langue d’installation (le Français n’est pas disponible) et cliquez sur OK

.
Figure 1 : VI Server installation, choix de la langue
Un texte de bienvenue apparait, suivi d’un texte d’introduction.
Cliquez 2 fois sur Next>. Choisissez maintenant les composants que vous désirez installer. Je vous recommande de cocher au moins les 3 premières cases si elles ne sont pas grisée (ce qui signifierai que le composant en question est déjà installé), Puis cliquez sur :

Figure 2 : VI Server installation, choix des composants

Le VI Server nécessitant une base de données, il vous est proposé soit d’en créer une nouvelle, soit d’en utiliser une existante. À moins de savoir ce que vous faites, choisissez la création d’une nouvelle base de données. Cliquez sur Next>.

Figure 3 : VI Server installation, création d’une base de données

Si vous ne possédez pas de licence, laissez le vu dans la case « I want to evaluate VirtualCenter Server », sinon, décochez cette case et cochez « Use an Existing License Server » puis modifiez le chemin en cliquant sur Browse… si nécessaire. Une fois fait, cliquez sur Next>.
Figure 4 : VI Server installation, choix de la licence

Si vous avez choisi d’utiliser la version d’évaluation, un message vous indiquera que vous disposez de 60 jours de tests. Cliquez sur OK.
Vous pouvez maintenant régler les ports qui seront utilisés par les différents services du VI Server. Si vous ne devez pas utiliser de ports spécifiques, laissez ceux par défaut. Cliquez sur Next>.
Figure 5 : VI Server installation, choix des ports

Vous pouvez maintenant changer le répertoire d’installation en cliquant sur Change… ou conserver celui par défaut. Une fois choisi, cliquez sur Next>. Cliquez sur Install pour débuter l’installation, puis patientez un moment. Une fois l’installation terminée, cliquez sur Finish.

Virtual Infrastructure Client (VI Client)
Installation
L’installation du VI Client est intégrée dans l’installation du VI Server. Pour vous connecter, entrez dans le champ adresse IP localhost (si le VI Client est sur la même machine que le VI Serveur, sinon, mettez l’adresse IP correspondante), et complétez les identifiants en utilisant ceux du compte d’un administrateur local.
Figure 6 : fenêtre de connexion au VI Client

Ajout/création d’un Datacenter
Cette étape est nécessaire uniquement dans le cas où l’on se connecte sur un VI Server, afin de pouvoir lui attribués des machines « physiques » à gérer. Il faut se connecter au VI server à l’aide du VI Client, puis dans la partie gauche de la fenêtre, faire un clic droit sur le dossier « Hosts & Clusters ». Dans le menu qui s’ouvre, sélectionner New Datacenter, ce dernier ira s’ajouter dans l’arborescence en dessous de « Hosts & Clusters », en vous proposant d’entrer un nom. Une fois le nom entré (ou si vous souhaitez conserver le nom d’origine), appuyez sur enter.

Figure 7 : création d’un Datacenter

Ajout d’un host

Cette opération consiste à lier/attribuer une machine à un Datacenter pour profiter de fonction comme vMotion qui ne peuvent se faire qu’entre membre du même groupe. Cette opération est à répéter pour toutes les machines que vous souhaitez ajouter à votre VI Server. Pour commencer, sélectionnez dans la partie de droite le Datacenter auquel vous désirez ajouter une machine. Dans le menu qui s’ouvre, choisissez Add Host…
Figure 8 : ajout d’un hôte, sélection de la Database

Dans la nouvelle fenêtre, entrez l’adresse IP de la machine à ajouter, ainsi que les identifiants administrateur correspondant à la machine. Cliquez sur Next>.

Figure 9 : ajout d’un hôte, entrée des identifiants de l’hôte

L’écran suivant donne un récapitulatif des caractéristiques de la machine hôte choisie, cliquez sur Next >.
Figure 10 : ajout d’un hôte, récapitulatif matériel

Ce nouvel écran propose de choisir la database à laquelle ajouter l’hôte, par défaut, la database sélectionnée est celle choisie au début (voir figure 8). Cliquez sur Next>.
Figure11 : ajout d’un hôte, sélection de la Database

La dernière fenêtre propose un récapitulatif des caractéristiques logicielles (ESX) de l’hôte, cliquez sur Finish pour que l’ajout s’effectue.

Figure 12 : ajout d’un hôte, récapitulatif logiciel

Ajout d’un VMkernel

Le VMkernel permet, entre autre, d’utiliser vMotion ainsi que de connecter des disques iSCSI. Cette opération n’est pas nécessaire sur des hôtes ESXi qui ont le VMkernel automatiquement installé, mais devra être répétée sur tous les hôtes ESX individuellement. Dans le VI Client, sélectionnez la machine à laquelle vous voulez ajouter le VMkernel, puis rendez-vous à l’onglet « Configuration », partie « Networking ». Cliquez sur Add Networking…
Figure 13 : ajout d’un VMkernel, choix de la machine et ouverture de la fenêtre d’ajout de réseaux

Dans la nouvelle fenêtre, sélectionnez « VMkernel », puis cliquez sur Next>.
Figure 14 : ajout d’un VMkernel, sélection du réseau « VMkernel

Dans mon cas, je n’ai pas créé de vSwitch en supplément de celui créé par défaut, et je ne désire pas le faire. Je vais donc sélectionner « Use vSwitch0 » dans la liste proposée. On peut constater que dans la partie basse de la fenêtre, un aperçu du vSwitch après modification est proposé. Cliquez sur Next>.
Figure 15 : ajout d’un VMkernel, choix du réseau

Complétez les champs de la partie « IP Settings », en faisant toutefois attention d’utiliser une adresse IP disponible. Vous pouvez également modifier les valeurs de « Port Group Proporties », mais ce n’est pas obligatoire et pas forcément nécessaire. On peut constater que la partie basse de la fenêtre propose à nouveau un aperçu de la configuration qu’aura le vSwitch une fois les modifications appliquées. Cliquez sur Next>.

Figure 16 : ajout d’un VMkernel, saisie des paramètres réseau

La dernière fenêtre propose elle aussi un aperçu du vSwitch après modification. Cliquez sur Finish pour appliquer les changements.Si votre hôte n’a pas d’adresse de passerelle par défaut spécifiée, une fenêtre supplémentaire s’ouvrira afin que vous l’ajoutiez. Dans la majorité des cas, vous pouvez réutiliser celle utilisée par le « Service Console » indiquée juste au-dessus.

Figure A.17 : ajout d’un VMkernel, configuration de la passerelle par défaut

Ajout d’un disque iSCSI
Cette opération permet d’ajouter un espace disque partitionné en VMFS3 à un hôte ESX ou ESXi. Cette étape est nécessaire pour pouvoir utiliser vMotion, car cette fonctionnalité requiert que les hôtes de départ et de destination aient accès à l’espace de stockage de la VM à transférer. Pour commencer, sélectionnez l’host auquel vous désirez ajouter le disque iSCSI, puis rendez-vous sur l’onglet « Configuration », partie « Storage Adapters ». Sélectionnez ensuite la ligne « iSCSI Software Adapter » de la partie « Storage Adapters » de la fenêtre. Une fois que cette étape est effectuée, cliquez sur Proporties…
Figure 18 : ajout d’un disque iSCSI, ouverture des propriétés de l’adaptateur iSCSI

Dans la nouvelle fenêtre, cliquez sur configure…
Figure 19 : ajout d’un disque iSCSI, ouverture de la configuration

Ajoutez le vu dans la case à coté de « Enabled » puis cliquez sur Ok.
Figure 20 : ajout d’un disque iSCSI, activation du contrôleur
Allez sur l’onglet « Dynamic Discovery » puis cliquez sur Add… Complétez l’adresse IP de votre disque iSCSI, puis, si nécessaire, modifiez le numéro du port de ce dernier. Cliquez sur Ok.
Figure21 : ajout d’un disque iSCSI, entrée des informations de connections
De retour sur la fenêtre principale, cliquez sur rescan... Patientez quelques minutes, le temps que l’opération se termine. Si tout s’est déroulé normalement, vous verrez votre disque en cliquant sur la ligne en dessous de « iSCSI Software Adapter ».

Figure.22 : ajout d’un disque iSCSI, fin du paramétrage de la connexion du disque
Vous vous trouvez maintenant devant un récapitulatif du contenu de votre disque. S’il n’est pas vierge, un petit warning s’affiche vous indiquant que toutes les données du disque seront perdues lors du formatage.si vous arrivez à cette étape alors le reste vous apparaitra tout seule.
Actuellement, les solutions de virtualisation sont de plus en plus utilisées, et encore plus particulièrement celles proposées par VMware. Il y a plusieurs raisons à cela, dont la principale est l’économie que représentent de telles solutions. En effet, là ou il était nécessaire d’avoir de nombreux serveurs physiquement indépendants, seuls 2 ou 3 serveurs hébergeant des machines virtuelles suffisent (ces serveurs sont plus puissant que les serveurs traditionnels, mais cette puissance est mieux exploitée). Il est également très aisé de créer de nouvelles machines virtuelles, ce qui s’avère très pratique en environnement de test.Cependant, plusieurs serveurs virtuels sur un même matériel impliquent que si ce matériel est défectueux, ou qu’un serveur virtuel mobilise trop de ressources, il peut en résulter une indisponibilité d’une partie ou de la totalité des machines virtuelles. C’est là qu’interviennent les fonctionnalités proposées par VMware pour ses serveurs ESX et ESXi ,il est tout de même utile de préciser qu'une différence non négligeable existe entre les deux version et plus précisément au niveau de la console d’administration.
je ferais une note explicative plus tard.
Je tiens en outre à préciser que je ne prétend pas par cet article démontrer une connaissance approfondie de cette technologie toute fois je reste très ouvert aux éventuelles remarque d'autres constructive pour mes recherche.

I- Architecture proposée.

Les composants du réseau sont :
A- Le VI Serveur (réseau de gestion)
B- Le VI Client (réseau de gestion)
C-Le disque iSCSI (réseau de stockage)
D-Les serveurs ESX/ESXi (réseau de gestion et réseau de stockage)
Le VI Serveur est un service Windows qui supervise/contrôle un ou plusieurs serveurs ESX/ESXi qui lui ont été attribués. vMotion et DRS exigent sa présence.
Le VI Client est l’interface utilisateur qui se connecte soit directement sur un serveur ESX/ESXi, soit sur le VI Serveur, permettant de contrôler plusieurs serveurs dans une seule fenêtre et d’exploiter les fonctionnalités du VI Serveur. Le VI Client peut être installé sur plusieurs machines, dont celle qui héberge déjà le service du VI Serveur (configuration utilisée lors de mon travail de test ).

II-Stockage

SAN

un SAN, Storage Area Network ou réseau de stockage, se différencie des autres systèmes de stockage tel que le NAS (Network attached storage) par un accès bas niveau aux disques. pour être un peu précis lorsque vous êtes dans un environnement réseau avec des lecteur réseaux partagé par l'administrateur les utilisateurs voient chaque lecteur comme un seul lecteur sur son poste client et y accède directement sans encombre,on parle de mutualisation des ressource ce qui présente toute fois le risque que si le lecteur n'est plus accessible alors c'est du cafouillage tout fait.En clair, chaque serveur voit l'espace disque d'une baie SAN auquel il a accès comme son propre disque dur. L'administrateur doit donc définir très précisément les LUNs (unités logiques, en informatique, un "identifiant d'unité logique", c'est-à-dire un pointeur vers un espace de stockage. Un LUN est caractérisé par sa taille (en Giga octets en général).), le masking et le zoning, pour qu'un serveur Unix n'accède pas aux mêmes ressources qu'un serveur Windows utilisant un système de fichiers différent.
Une pétite précision tout de même sur le LUN
Un contrôleur iSCSI peut gérer jusqu’à 8 unités logiques, le LUN est donc codé sur 3 bits. Le seul moment où l’on voit les LUNs dans l’utilisation des produits VMware, c’est au moment de l’ajout d’un disque iSCSI à un serveur ESX/ESXi. Si ce dernier n’est pas formaté en VMFS, il ne sera pas détecté automatiquement, il faut donc le configurer à la main. Durant cet ajout, tout les LUNs vu par le serveur sont proposé, et il faut choisir lequel sera formaté.

iSCSI

Le SCSI est un protocole qui permet de communiquer avec des unités (disque dur, lecteur CD, imprimante) à l’intérieur d’un SAN. Le protocole iSCSI transporte le primitives SCSI au travers d’un réseau IP. De ce fait, pour comprendre le fonctionnement du iSCSI, il est nécessaire de comprendre celui du SCSI.
Pour plus de détails, voici un lien qui explique bien et de façon simple le fonctionnement de iSCSI : http://www.supinfo-projects.com/fr/2006/stockres_fr/4/. car je pense que c'est pas le but de mon article.

III- Les systèmes de fichiers

Le VMFS, ou Virtual Machine File System, est le système de fichiers pour les unités de stockage développé par VMware.La principale raison de la création de ce système de fichiers est la nécessité de garantir l’accès concurrent en lecture et écriture aux mêmes fichiers à plusieurs clients (dans ce cas, les serveurs ESX/ESXi). Cet accès concurrent est vital pour des fonctionnalités telles que vMotion, hors les systèmes de fichiers utilisés, par exemple, par les disques iSCSI ne permettent pas ce genre d’opération,l’accès en écriture n'est tout de même possible qu'a partir d'un client à la fois si nom deviné la lenteur du système.

Liste des LUNs disponible
Cette phase permet d’obtenir une liste des LUNs disponibles sur le disque. Les échanges suivants ont lieu durant cette étape :
Report LUNs
Report LUNs Response (Liste des LUNs)
LUN list length:6
LUN: 0
LUN :1
les étapes défère en fonction des besoins lecture écriture,les phases de lecture étant implicitement faisable c'est la phase d'écriture qui est un tout petit peu complexe et par conséquence je vais m'y attarder
Tout d'abord,Pour écrire les données, la démarche est un peu plus complexe, car il faut commencer par prévenir le disque que l’on compte faire une écriture, puis attendre son autorisation pour pouvoir commencer à écrire. Les échanges suivants ont lieu :
→Write (bloc ou commencera l’écriture, taille des données à écrire)
←Ready To Transfert (rappel de la taille)
→Write Request Data (données)
←Write Response (indique si l’écriture s’est bien déroulée) Voici le détail de la demande d’écriture :

IV- Implémentations des fonctionnalitées de MVweare

IV-1 VMotion
De manière littérale on peux définir la vMotion comme une fonctionnalité des serveurs ESX et ESXi servant à transférer une VM d’un hôte à un autre sans éteindre cette dernière. il existe bien de définition plus approprié mais assez simplifier de mon point de vu que celle-ci,petite précision tout de même le déplacement des VM se fait en temps réel.Grâce à VMotion, les utilisateurs peuvent :
• Optimiser et allouer automatiquement des pools entiers de ressources pour améliorer le taux d’utilisation, la flexibilité et la disponibilité des ressources matérielles.
• Effectuer la maintenance des ressources matérielles sans planifier d’interruption de service.
• Migrer proactivement les VMs des serveurs défaillants ou insuffisamment performants afin d'équilibrer les charge réseaux et les ressources disponible c'est du provisionning.j'apporterais plus loin d’amples explication sur ce principe.
Mini schéma de principe
RQ: Dans le cas de cet article je tiens à préciser qu'il existe une différence fondamentale entre openliler et VMweare car dans le cadre de VMweare et de son hyprvisuer Vsphère8 il convient de noter que deux offre existe l'un pour des application de test dite Host Based greffé directement sur un os (Windows en l’occurrence)et des offre de production dite bar metal dans la quelle l’installation de l'application n'a pas besoin de support d'hôte.
Les principaux fichiers composant une VM sont les .vmdk et le .vmx. Les .vmdk contiennent le disque dur de la VM, et le .vmx la configuration matérielle (taille de la RAM et du disque dur, nombre de processeur, famille de l’OS, etc.). Lors d'une sauvegarde manuelle d’une VM, ce sont les fichiers qu’il faut copier.Il y a 2 types de données à transférer lors d’une migration par vMotion : L’état du matériel comme le processeur, la carte mère, les cartes réseau, les adaptateurs de stockages, les lecteurs de disquettes, la carte graphique, les lecteurs cd, ainsi que RAM de la VM;Les serveurs ESX et ESXi sont contrôlés à distance par le Virtual Infrastructure (VI) Serveur. Ce dernier est lui-même contrôlé à distance ou en local par un ou plusieurs VI Client. L’utilisateur interagit donc avec les serveurs ESX/ESXi et les VMs (VMs) par le biais du VI Client. À noter qu’une interface web peut-être utilisée à la place du VI Client, mais certaines fonctionnalités n’ont pas été portées sur cette interface. (pour les utilisateur qui ont travailler avec Symantec comprendrons très vite ce que c'est que l'administration d'une console via une page web ce qui est mon cas)c'est une url constitué de l'adresse ip du serveur d'hôte ,du port d’accès etc;;;;;;;.php.Donc pour revenir à notre sujet il est conseillé de tenir compte lors du transfert des MV du débit du réseau,de la capacité de la RAM ainsi que la fréquence du processeur afin d'éviter des lourdeur lors du transfert qui pourrais entrener soit la perte soit la mauvaise sauvegarde des VM.
je vous recommande ce lien explicative épour les bonnes pratique d'utilisation.


V-II DRS(Distributed Resource Scheduler)
Distributed Resource Scheduler, ou DRS dans la suite de ce document, est une fonctionnalité permettant la gestion automatique de la répartition de la charge entre les serveurs ESX/ESXi faisant partie d’un même cluster (groupe de serveurs ESX/ESXi mettant leurs ressources en commun, voir chapitre suivant). DRS utilise vMotion pour déplacer les VMs
Selon VMware ( ), VMware DRS dynamically balances computing capacity across a collection of hardware resources aggregated into logical resource pools, continuously monitoring utilization across resource pools and intelligently allocating available resources among the virtual machines based on pre-defined rules that reflect business needs and changing priorities. When a virtual machine experiences an increased load, VMware DRS automatically allocates additional resources by redistributing virtual machines among the physical servers in the resource pool. VMware DRS allows IT organizations to: • Prioritize resources to the highest value applications in order to align resources with business goals • Optimize hardware utilization automatically and continuously to respond to changing conditions • Provide dedicated resources to business units while still profiting from higher hardware utilization through resource pooling • Conduct zero-downtime server maintenance
DRS est une fonctionnalité très intéressante si vous virtualisez des serveurs dont la charge est amenée à changer régulièrement, par exemple, un serveur de VOIP (pique de charge entre 10h et 11h le matin) ou un site web très sollicité à certaines heures (p.ex : en fin de journée) et peu ou pas du tout à d’autres (p.ex : la nuit).
A Mise en oeuvre de la configuration de DRS

La mise en oeuvre de la configuration se déroule de la même manière suivante :


Choisissez « Fully automated » à la place de « Manual », puis déplacer le curseur sur « Aggressive ».

cliquez sur Rules dans le menu de gauche, puis sur Add…


Dans la nouvelle fenêtre, entrez un nom pour votre règle ( et laissez le type d’origine (« Keep … »). Cliquez sur Add…


Cochez la case à coté du nom des VMs auxquelles la règle doit s’appliquer, puis cliquez 2 fois sur OK.

Cochez la case à coté du nom des VMs auxquelles la règle doit s’appliquer, puis cliquez 2 fois sur OK.

voila à mon avis les bases qu'il faut savoir sur DRS car il ya très peu de documentation concernant le fonctionnement de DRS et particulièrement à propos des paramètres avancés. La documentation ne manque pas concernant la configuration, qui est très intuitive, mais le fonctionnement n’est expliqué que dans peu de documents (en contraste avec vMotion, dont des documents détaillés sur le fonctionnement ont pu être trouvé).
V-IIICluster

Un cluster est un groupe de serveurs physiquement distincts qui mettent leurs ressources en commun. Un cluster sera perçu comme étant une seule entité physique ayant les capacités de tous les serveurs la composant. Le principal avantage est qu’en cas de panne d’un serveur, le cluster continue à fonctionner. La charge processeur et RAM est répartie de façon équitable entre les serveurs. Dans le cas de VMware, un cluster est composé d’un groupe de serveurs ESX et/ou ESXi ainsi que d’un groupe de VMs. Les VMs sont hébergées par un serveur quelconque du cluster et non par un serveur spécifique. Le but est de répartir la charge générée par les VMs le plus équitablement possible entre les différents serveurs ESX/ESXi à l’aide de DRS.
Il est recommandé () que ces serveurs aient une configuration matérielle identique afin d’éviter qu’à charge égale un serveur soit à 90% de ses capacité et un autre à 50%.

Figure 3.1 : cluster de serveurs ESX vu depuis le VI Client


Dans cete section l'article de référence utilisé est:

Résultat de la recherche


vendredi 27 mai 2011

Migration et deploiment de windows 7 et/ou Windows Server 2008 R2

Migration et deploiment de windows 7 et/ou Windows Server 2008 R2
Cette session présentera à la fois les chemins de migration possibles mais aussi les outils disponibles pour assurer une migration et un déploiement en douceur vers Windows 7 et/ou Windows Server 2008 R2 : Application Compatibility Toolkit, Windows Automated Installation Kit, Microsoft Deployment Toolkit , System Center Configuration Manager ...
http://www.microsoft.com/france/vision/msdays09/Webcast.aspx?EID=991682e6-4667-41b9-8e72-d6bd4e0f4192.

I Définition  des différents outils de migration.

  MAP (Microsoft Assessment and Planning ToolKit): dresse un inventaire du parc en scannant l’intégralité (sans agent logiciel) des machines et analyse la compatibilité avec Windows 7.
- ACT (Application Compatibility Toolkit): identifie les problèmes de compatibilité applicative vers l’OS visé, hiérarchise dans des rapports les degrés de compatibilité, et formalise des solutions.
- App-V : gére les problèmes d’interopérabilité applicative, quand des composants ou des versions sont incompatibles avec le nouvel OS.
- XP-mode : résout les problèmes de compatibilité avec la souche Windows 7 en virtualisation l’application dans un noyau de l’OS différent.
- Med-V : résoud les problèmes de compatibilité avec la souche Windows 7. L’outil permet de déployer et gérer des machines virtuelles sur le desktop.
- Wim (Windows Imaging Format) : format de master universel qui permet de compiler plusieurs images dans un master.
- WAIK (Windows Automated Installation Kit) : ensemble d’outils de constitution d’image Windows et de partage afin d’automatiser les procédures d’installation.
- MDT (Microsoft Deployment Toolkit) : permet de déployer automatiquement un Windows en le téléchargeant sur le poste client depuis Windows Server.
- USMT (User State Migration Tools) : migration automatique des paramètres utilisateurs et des fichiers lors d’une installation. Les données restent physiquement en local.
 WDS (Windows Deployment Service)
Avant toute procédure de migration ,vous devez vous familliariser avec ces outils et maitriser leur fonctionnement pour un  bon déploiment.

Etape1:

Etape2:

Etape3:
 Je vais très prochainement réécrire l'article avec plus de détails sur les différents procédures.

Windows seven (Migration)

Introduction

To upgrade your PC from Windows XP to Windows 7, you'll need to select the Custom option during Windows 7 installation. A custom installation doesn't preserve your programs, files, or settings. It's sometimes called a "clean" installation for that reason.
A custom installation is more complex, and it can sometimes take a couple of hours to complete. We created this five-step tutorial to help guide you through the entire process each step of the way.

What you need

  • An external hard disk. You'll need to move your files off of your PC before you install Windows 7. To make this easier, we recommend a free download called Windows Easy Transfer, which will require an external hard disk. They're readily available at electronics and office supply stores, and they provide an easy way to add additional storage space to your computer.
  • The original installation discs or setup files for the programs that you want to use with Windows 7. You'll need to reinstall your programs by hand after installing Windows 7. When you run Windows Easy Transfer you will get a report that lists the programs that you are currently using with Windows XP.

32-bit or 64-bit: Which version of Windows 7 to install?

Both 32-bit and 64-bit installation discs are included in the Windows 7 package. 64-bit operating systems can handle large amounts of memory—typically 4 gigabytes (GB) of random access memory (RAM) or more—more efficiently than 32-bit operating systems. However, not all computers are 64-bit capable. For more information, see 32-bit and 64-bit Windows: frequently asked questions and 32-bit and 64-bit Windows 7.
You'll probably need the 32-bit version, but to make sure, click Start, right-click My Computer, and then click Properties.
  • If you don't see "x64 Edition" listed, then you're running the 32-bit version of Windows XP. Step 1 of this tutorial will show you how to run the Windows 7 Upgrade Advisor, which can let you know if your computer is capable of running the 64-bit version of Windows 7.
  • If "x64 Edition" is listed under System, you're running the 64-bit version of Windows XP and can run the 64-bit version of Windows 7.

    Step 1

    Make sure that your programs and devices will work with Windows 7

    To help find potential compatibility problems with your computer's hardware, devices, or programs that might affect installing Windows 7, download and run the free Windows 7 Upgrade Advisor. It provides a report listing any issues that it finds and gives recommendations on what to do before you upgrade to improve your PC's compatibility with Windows 7.
    Picture of an Upgrade Advisor reportA report lists any actions needed to prepare your computer for Windows 7.

    Download and install Windows 7 Upgrade Advisor

    Follow the steps below to download the Windows 7 Upgrade Advisor.
    1. Go to the Windows 7 Upgrade Advisor webpage.
    2. Click Download the Windows 7 Upgrade Advisor.
    3. Click Download, and then save the installation file to your PC.
    4. Double-click the installation file saved to your PC.

      Windows 7 Upgrade Advisor requires .NET Framework 2.0. If your computer doesn't have it installed, follow these steps. If you're not asked to install .NET 2.0, you can skip this and proceed to step 5.
      1. Click Yes.
      2. Click Next.
      3. If you agree to the license terms, click Install.
      4. Click Finish.
    5. If you agree to the license terms, click Install.
    6. Click Close.
      If you see a preselected check box, clicking Close will run Windows 7 Upgrade Advisor.

    Run Windows 7 Upgrade Advisor

    1. If Windows 7 Upgrade Advisor isn't already running, double-click the Windows 7 Upgrade Advisor shortcut on your PC's desktop.
    2. In the security warning dialog box, click Yes.
    3. Click Start check. The Windows 7 Upgrade Advisor will scan your PC's hardware, devices, and installed software. This might take a few minutes. When finished, it will provide you with a compatibility report that you can print or save for your reference.
    4. Read the report carefully, and make note of any issues that the Upgrade Advisor finds and what the recommended steps are to fix these issues.
    5. If you want to save the report and print or refer to it later, click Save Report, type a name in the File Name box, and then click Save.
    6. Click Close.
    You can scan your PC more than once. We recommend running the Windows 7 Upgrade Advisor again after taking any of the recommended steps or making any changes to your PC's hardware, devices, or installed software before upgrading to Windows 7. Be sure to save your updated report.
    Next: Use Windows Easy Transfer to save your files and settings.

    Step 2

    Moving files and settings, and gathering your program discs

    We recommend using Windows Easy Transfer, a free download, to help you move your files and settings to another location before you install Windows 7. Then, you can use Windows Easy Transfer again to move your files and settings back to your PC after Windows installation is completed.
    If you don't use Windows Easy Transfer, you'll need to copy your files manually to an external location, such as CDs, DVDs, an external hard disk, or a USB flash drive before installing Windows 7, and then move them back after Windows installation is completed.
    Picture of the Windows Easy Transfer welcome screen Windows Easy Transfer helps simplify moving your files and settings.
    Windows Easy Transfer creates a single file containing your files and settings. The file could be quite large depending on the amount of data you have, which is why we recommend using an external hard disk.
    As you prepare to move your files off of your computer to an external storage device, remember the following:
    • Windows Easy Transfer doesn't move your programs, only your files and settings. You'll need to reinstall your programs by hand after Windows 7 installation is complete. Windows Easy Transfer will provide you with a list of programs that you are currently using with Windows XP.
    • Don't use the File and Settings Transfer Wizard in Windows XP to move your files. It isn't compatible with Windows 7, and if you use it, you won't be able to restore your files in Windows 7. Use Windows Easy Transfer instead.
    • Windows Easy Transfer can't transfer files from a 64-bit version of Windows to a 32-bit version of Windows. If you're running a 64-bit version of Windows XP, but you plan to install a 32-bit version of Windows 7, you'll need to copy your files manually to an external location before installing Windows 7, and then move them back after Windows installation is completed.
    • Windows Easy Transfer moves your music and video files, but doesn't migrate the licenses for content protected by digital rights management (DRM). This means that you'll need to re-obtain rights to DRM‑protected files from the online store that provided them after you finish installing Windows 7 and restoring these files to your computer. For more information, see Step 4: Moving your files and settings back to your computer.

    Warning

    Some online stores don't restore rights to their DRM‑protected files. For details about store policies, refer to your store's customer support or Help information. If your music or video was obtained from a store that's no longer in business, you won't be able to restore your rights to that content.
    You'll also need Windows XP Service Pack 2 or higher. If you're not sure of what you have, click Start, right-click My Computer, and then click Properties. Under System, if you see "Service Pack 2" or "Service Pack 3," you can use Windows Easy Transfer. If you're not running Service Pack 2 or 3, go to the Service Pack Center to update your PC.

    Download and install Windows Easy Transfer

    1. Download Windows Easy Transfer from the Windows website. If you're running a 32-bit version of Windows XP, under For Windows XP, click Download 32-bit. If you're running a 64-bit version of Windows XP, click Download 64-bit.
    2. On the Microsoft Download Center webpage, click Download, and then click Run.
    3. In the Security Warning dialog box, click Run.
    4. In the Software Update Installation Wizard, click Next.
    5. If you agree to the license terms, select I Agree, and then click Next.
    6. After installation is complete, click Finish.

    Open and run Windows Easy Transfer to save your files and settings

    1. Make sure your external hard disk or other storage device is connected to your computer.
    2. Click Start, click All Programs, and then click Windows Easy Transfer for Windows 7.
    3. Click Next.
    4. Select An external hard disk or USB flash drive.
    5. Click This is my old computer, and then wait while Windows Easy Transfer scans the computer.
    6. Clear the check boxes next to any user accounts that you don't want to transfer data from, and then click Next.
    7. Enter and retype a password, and then write it down and keep it in a safe place; or leave the boxes blank, and then click Save.
    8. Browse to the external hard disk or other storage device where you want to save your Easy Transfer file, and then click Save.

      Warning

      You must save the Easy Transfer file to your external hard disk or other storage device, and not to the default location My Computer. If you don't save the Easy Transfer file to your external hard disk, the file you just created will be deleted during the custom installation of Windows 7.
    9. Windows Easy Transfer will begin saving your files and settings. Do not use your computer during this time.
    10. When you see the message These files and settings have been saved for your transfer, click Next.
      Windows Easy Transfer displays the file name and location of the Easy Transfer file you just created. Write down the file name and location so you can easily find it when you're ready to transfer files to Windows 7.
    11. Click Next, and then click Close.
    12. Ensure that the file is saved to your external hard disk or storage device, and then disconnect the device from your computer.

    Gather your program discs and setup files

    It's important to remember that the Custom installation option doesn't preserve any of your programs, so you'll need to reinstall the programs that you want to use in Windows 7.
    • Make sure you have the installation discs for the programs you want to keep using in Windows 7.
    • You might have downloaded some programs from the Internet. If you still have the installation files on your computer (often called setup.exe, install.exe, or similar), copy those setup files to your external hard disk as well. If you don't have the installation files, you'll need to download them again after Windows 7 installation is complete.
    • If you're running a 64-bit version of Windows and plan to install a 32-bit version of Windows 7, programs that were designed to run only on a 64-bit operating system might not work. Check the software manufacturer's website for more information, or go to the Windows 7 Compatibility Center on the Microsoft website. You can search the Compatibility Center for product names or browse many different categories of hardware and software tested to be compatible with both 32-bit and 64-bit versions of Windows 7.
    Next: Install Windows 7 using the Custom option.

    Step 3

    Installing Windows 7

    When you choose the Custom option during installation, you install a new copy of Windows on your PC.
    Picture of the Upgrade or Custom installation pageThe options for Windows 7 installation

    Note

    Formatting your hard disk during Windows 7 installation isn't necessary. If you want to format your hard disk, and you're using an upgrade version of Windows 7, don't use a program from another software manufacturer to reformat your hard disk prior to installing Windows 7. Instead, start your PC using the Windows 7 upgrade installation disc or a USB flash drive, click Custom (advanced), and then click Drive options (advanced).

    Before you begin

    • Connect your PC to the Internet so you can get installation updates during the installation process. (If you don't have an Internet connection, you can still install Windows 7.)
    • Update your antivirus program, run it, and then turn it off. After you install Windows 7, remember to turn the antivirus program back on, or install new antivirus software that works with Windows 7.
    • If you have a Windows 7 installation package, choose either the 32-bit or 64-bit Windows 7 installation disc, depending on whether you want to install the 32-bit or 64-bit version of Windows 7.
    • If you want to install a 64-bit version of Windows 7 on a PC running a 32-bit version of Windows XP, follow the instructions in "To install a 64-bit version of Windows 7 on a computer running a 32-bit version of Windows XP" at the bottom of the page. For more information, see 32-bit and 64-bit Windows: frequently asked questions.
    • Find your 25-character Windows product key. You can find it on the installation disc holder inside the Windows package—or in a confirmation e‑mail if you purchased and downloaded Windows 7 online.

    Perform a Custom installation of Windows 7

    1. With your computer on and Windows XP running, do one of the following:
      • If you've downloaded Windows 7, browse to the installation file you downloaded, and then double-click it (often identified as an Application file under the Type column).
      • If you have a Windows 7 installation disc, insert the disc into your computer. Setup should start automatically. If it doesn't, click Start, click My Computer, open the Windows 7 installation disc on your DVD drive, and then double-click setup.exe.
      • If you've downloaded Windows 7 installation files onto a USB flash drive, insert the drive into your computer. Setup should start automatically. If it doesn't, click the Start button, click Computer, double-click the drive, and then double-click setup.exe.
    2. On the Install Windows page, click Install now.
    3. On the Get important updates for installation page, we recommend getting the latest updates to help ensure a successful installation, and to help protect your computer against security threats. Your computer will need to be connected to the Internet during Windows 7 installation to get these updates.
    4. On the Please read the license terms page, if you accept the license terms, click I accept the license terms, and then click Next.
    5. On the Which type of installation do you want? page, click Custom.
    6. Choose the partition containing Windows XP (this is often the computer's C: drive), and then click Next. (Do not select your external USB hard drive.)
    7. In the Windows.old dialog box, click OK.
    8. Follow the instructions to finish installing Windows 7, which include naming your computer and setting up an initial user account. You can use the same names that you used in Windows XP, or choose new ones.

    1. Insert the Windows 7 installation disc or USB flash drive, and then turn off your computer.
    2. Restart your computer.
    3. Press any key when prompted, and then follow the instructions that appear.
    4. On the Install Windows page, enter your language and other preferences, and then click Next.
      If the Install Windows page doesn't appear, and you're not asked to press any key, you might need to change some system settings. To learn how to do this, see Start your computer from a Windows 7 installation disc or USB flash drive.
    5. On the Please read the license terms page, if you accept the license terms, click I accept the license terms, and then click Next.
    6. On the Which type of installation do you want? page, click Custom.
    7. Choose the partition containing Windows XP (this is often the computer's C: drive), and then click Next. (Do not select your external USB hard drive.)
    8. In the Windows.old dialog box, click OK.
    9. Follow the instructions to finish installing Windows 7, which include naming your computer and setting up an initial user account. You can use the same names that you used in Windows XP, or choose new ones.
    Next: Move your files and settings back to your computer.


    If an error message states that Windows can't be installed to the partition you chose, and Show detailsWindows must be installed to a partition formatted as NTFS," then your computer's hard disk is likely formatted using the older FAT32 file system. reveals a dialog box that says "

    To convert your hard disk to the latest version of NTFS

    1. Cancel the Windows 7 installation, and remove the installation disc or USB flash drive.
    2. Click Start, point to All Programs, point to Accessories, right-click Command Prompt, and then click Run as….
    3. Select The following user, choose a user with administrator permissions, type the password, and then click OK.
    4. At the command prompt, carefully type convert <drive>: /fs:ntfs where <drive> is the letter associated with your Windows XP installation. For example, if Windows XP is on your C: drive, type convert c: /fs:ntfs when you type, be sure to include a space immediately before /fs:ntfs.
      Picture of convert.exe in Command Prompt
    5. Press Enter.
    6. When asked if you would you like to force a dismount on this volume, type Y, and then press Enter.
    7. When asked if you want to schedule the drive to be converted the next time the system restarts, type Y, and then press Enter.
    8. Close the Command Prompt window.
    9. Click Start, click Turn Off Computer, and then click Turn Off. (You need to shut down the computer completely rather than simply clicking Restart.)
    10. Turn on your computer. Windows will proceed to convert the hard disk to NTFS and then restart your computer. Do not use your computer during this time.
    11. When Windows XP starts again, return to step 2 under Perform a Custom installation of Windows 7.


    Step 4

    Moving your files and settings back to your computer

    After you've installed Windows 7, now you're ready to run Windows Easy Transfer again and move your files and settings back to your computer.
    Be sure you run Windows Easy Transfer before you reinstall your programs. That's because Windows Easy Transfer moves your files back to where your old programs will expect them to be when you reinstall them.
    Picture of the Choose what to transfer to this computer screenUser accounts from Windows XP are moved to Windows 7.

    Move files and settings back using Windows Easy Transfer

    1. Make sure your external hard disk or other storage device that contains your Windows Easy Transfer migration file is connected to your computer.
    2. Click the Start button Picture of the Start button, click Computer, and under Hard Disk Drives, double-click your storage device.
    3. Browse to the location where you saved the Easy Transfer file, called Windows Easy Transfer – Items from old computer, and double click the file.
      If you gave the file a different name when you originally created it, browse to that file and double-click it.
    4. If you entered a password when creating the Easy Transfer file, type the password, and then click Next.

      Note

      If you receive an error that you don't have enough free disk space to migrate your files back to your computer using Windows Easy Transfer, you can use Disk Cleanup to delete temporary files left over from your Windows 7 installation and free up additional disk space. To learn how to do this, read the "Post-install clean up (optional)" section at the end of Step 5: Reinstall your programs and update drivers.
    5. On the Choose what to transfer to this computer page, you can decide how the user accounts from Windows XP are transferred to Windows 7.
      • To accept the current account mapping, click Transfer.
      • To change how the Windows XP accounts are mapped in Windows 7, click Advanced Options.
    6. On the Your transfer is complete page, click See what was transferred to view a list of the user accounts and files that were moved from Windows XP to Windows 7. Click See a list of programs you might want to install on your new computer to view what was previously installed on Windows XP.
    7. Click Close. If you are prompted to restart your computer, click Restart now.
    If you transferred more than one user account, you might be prompted to change the password the next time you log on. If you're prompted to do so, click OK, and in the dialog box that appears, do one of the following:
    • If you want to give the user account a password (recommended), type a new password, retype it, and then press Enter. There's no need to type the old password from Windows XP.
    • If you don't want to give the user account a password, leave the boxes empty, and then press Enter.

    Windows Easy Transfer moves your music and video files, including files protected by digital rights management (DRM), but it doesn't move the licenses for these types of files. To re-obtain rights to the files, you'll need to contact the provider of the files. Some online stores offer this and might refer to it in different ways, such as computer activation, computer authorization, library restoration, or license synchronization.
    The procedure for restoring your rights varies from store to store. The store might limit the number of times that you can restore your rights, or limit the number of computers on which you can use the songs or videos that you've obtained from them. Some stores don't permit you to restore rights to DRM‑protected files at all. For details about store policies, refer to your store's customer support or Help information. If your music or video was obtained from a store that's no longer in business, you won't be able to restore your rights to that content.

    To restore rights to files in Windows Media Player:

    If you're using Windows Media Player, you can add online stores and try to re-obtain rights to your music by doing the following:
    1. Click the Start button Picture of the Start button, click All Programs, and then click Windows Media Player.
    2. In the Player Library, click the arrow to the right of Media Guide at the bottom of the navigation pane, and then click Browse all online stores.
    3. Click your store, install the store software, and then click a customer service or account management link on the store's webpage.

    Note

    If you've recorded DRM‑protected TV content using Windows Media Center, you won't be able to restore your rights to that content after installing Windows 7.

    To restore rights to files in Zune

    If you purchased DRM-protected content from the Zune Marketplace, and used Windows Easy Transfer to move your content to Windows 7, you'll be able to access the content once you reinstall the Zune software and log in. If you didn't move over your content, you can use the restore feature in the Zune software to re-obtain the content and the rights to that content. After you've reinstalled the Zune software, do the following:
    1. In the Zune software, click Sign In, type your Windows Live ID and your password, and then click Sign In again.
    2. Do one of the following:
      • For purchased content, click Settings, click account, and then click Purchase History. To locate the content that you want to restore, click Songs, Movies, TV, Videos, or Music Videos, and then browse to the content.
      • For Rental or Zune Pass subscription content, click Settings, click account, and then click Rental History or Subscription History. Then, locate the content that you want to restore rights to.
    3. Next to the content, click Download. Or, click Restore All to download all the missing subscription content.

      Note

      If you try to restore non-DRM‑protected content, you will receive an error message.
    4. View your media collection to confirm that the content has been successfully restored. Some content might still be downloading and not immediately available.
    Précision:

    Windows Easy Transfer moves your music and video files, including files protected by digital rights management (DRM), but it doesn't move the licenses for these types of files. To re-obtain rights to the files, you'll need to contact the provider of the files. Some online stores offer this and might refer to it in different ways, such as computer activation, computer authorization, library restoration, or license synchronization.
    The procedure for restoring your rights varies from store to store. The store might limit the number of times that you can restore your rights, or limit the number of computers on which you can use the songs or videos that you've obtained from them. Some stores don't permit you to restore rights to DRM‑protected files at all. For details about store policies, refer to your store's customer support or Help information. If your music or video was obtained from a store that's no longer in business, you won't be able to restore your rights to that content.

    To restore rights to files in Windows Media Player:

    If you're using Windows Media Player, you can add online stores and try to re-obtain rights to your music by doing the following:
    1. Click the Start button Picture of the Start button, click All Programs, and then click Windows Media Player.
    2. In the Player Library, click the arrow to the right of Media Guide at the bottom of the navigation pane, and then click Browse all online stores.
    3. Click your store, install the store software, and then click a customer service or account management link on the store's webpage.

    Note

    If you've recorded DRM‑protected TV content using Windows Media Center, you won't be able to restore your rights to that content after installing Windows 7.

    To restore rights to files in Zune

    If you purchased DRM-protected content from the Zune Marketplace, and used Windows Easy Transfer to move your content to Windows 7, you'll be able to access the content once you reinstall the Zune software and log in. If you didn't move over your content, you can use the restore feature in the Zune software to re-obtain the content and the rights to that content. After you've reinstalled the Zune software, do the following:
    1. In the Zune software, click Sign In, type your Windows Live ID and your password, and then click Sign In again.
    2. Do one of the following:
      • For purchased content, click Settings, click account, and then click Purchase History. To locate the content that you want to restore, click Songs, Movies, TV, Videos, or Music Videos, and then browse to the content.
      • For Rental or Zune Pass subscription content, click Settings, click account, and then click Rental History or Subscription History. Then, locate the content that you want to restore rights to.
    3. Next to the content, click Download. Or, click Restore All to download all the missing subscription content.Note
      If you try to restore non-DRM‑protected content, you will receive an error message.

      Next: Reinstall your programs and update drivers. 

      Step 5

      Reinstall your programs and update drivers

      After you've run Windows Easy Transfer and your files and settings are back on your computer, you can reinstall your programs and check for new or updated drivers.
      Windows Easy Transfer provides a report detailing the programs you used in Windows XP that you might want to reinstall. To reinstall your programs, you'll need to use the installation discs or setup files that you gathered earlier.
      Picture of the program report from Windows Easy TransferA report lists programs that you might want to reinstall.
      If your computer came with several programs pre-installed, you might see programs listed in the report that you've never used before or rarely used. When you begin reinstalling programs, start with the ones that you know and use regularly, especially new antivirus software for your computer. If you don't have new antivirus software for your PC running Windows 7, you can look for new programs at the Windows 7 Compatibility Center.
      If you have a program that you used in Windows XP that isn't compatible with Windows 7, try using the Program Compatibility troubleshooter. For more information, see Open the Program Compatibility troubleshooter.
      If the troubleshooter can't fix the problem, you might be able to run the program using Windows XP Mode in Windows 7. For more information, see Windows XP Mode.

      Note

      Some programs such as Windows Mail and Outlook Express are no longer included in Windows 7. If you used Windows Mail or Outlook Express as your e‑mail program, you'll need to install a new e‑mail program to read your messages or to send and receive e‑mail. For more information about Windows Live Mail and instructions for importing your e‑mail, contacts, and calendar, see Importing your e‑mail, messages, contacts, and calendar into Windows Live Mail.

      Update drivers

      A driver is software that allows your computer to communicate with hardware or devices. Without drivers, the hardware you connect to your computer—for example, a video card or a printer—won't work properly.
      In most cases, drivers come with Windows, or you can find them by using Windows Update and checking for updates. To do so, click the Start button, click All Programs, and then click Windows Update.
      If Windows Update doesn't have the driver you need, check out the Windows 7 Compatibility Center, which has direct links to driver downloads and manufacturer support pages. For more information, see Update a driver for hardware that isn't working properly.

      Netbooks and drivers

      Some netbooks and laptops that were running Windows XP might not have specific Windows 7 drivers for features such as function buttons. If Windows Update doesn't find a driver, visit your computer manufacturer's website and search for a download or support page where you can search for drivers for your PC.
      You can try to install a driver made for Windows XP onto your PC running Windows 7. If the Windows XP driver won't install, you can run the Program Compatibility troubleshooter to try and fix the problem.
      1. Download or copy the driver installation file to your computer.
      2. Right-click the file, and then click Troubleshoot compatibility.
      3. Follow the steps in the Program Compatibility troubleshooter to change the compatibility settings for the driver.

      Post-install clean-up (optional)

      During Windows 7 installation, if you don't format the partition, files that were used in Windows XP are stored in the Windows.old folder. The type of files in this folder depends on your computer.
      After you've used Windows 7 for a while, for example one or two weeks, and you're confident that your files and settings are back to where you want them to be, you can safely reclaim disk space and use Disk Cleanup to delete the Windows.old folder.
      You can also delete the Windows.old folder if you receive an error during Step 4: Moving your files and settings back to your computer of this tutorial that indicates that you don't have enough free disk space to transfer your files and settings back to your computer.
      Warning
      Before you use Disk Cleanup, make sure that all of your files and settings moved correctly to Windows 7 where you expected them to be. Deleting the Windows.old folder can't be undone.
      1. Click the Start button, and in the search box, type Disk Cleanup. In the list of results, click Disk Cleanup.
        If you're prompted to choose a drive, choose the drive you just installed Windows 7 on, and then click OK.
      2. Click Clean up system files. If you're prompted for an administrator password or confirmation, type the password or provide confirmation.
        If you're prompted again to choose a drive, choose the drive you just installed Windows 7 on, and then click OK.
      3. Select Previous Windows installation(s) and any other categories of files you want to delete.
      4. Click OK, and then click Delete Files.