FAQ Logicielle » Windows Vista, Windows 7

ID #1016

Guide complet (US) : Comment déployer Windows 7 depuis un média avec sysprep et imagex

How To Image and Deploy Windows 7 a Complete Guide – Using sysprep and imagex

Starting with Windows Vista and continuing into Windows 7. Is the ability to image a machine and to have the Windows installer use that image to install Windows. This negates the need for an image for each hardware configuration. Or the use of any third party software

This guide will show you how to create and image from scratch then prepare it for your domain using sysprep. Then how to install Windows 7 from this image.



Getting Ready
Create WINPE Disk
SYSPREP your machine (For Domains)
Capture the Image
Create new Install Media

Getting Ready

  • Install Windows 7 from scratch on to your test machine.
  • Customise Windows 7 with any software, security settings or general settings you wish. When you install from this image all the settings as well as user accounts will be installed by default.
  • Install WAIK for 7/2008 on the test PC. Download from here.

Create WINPE Disk

  • Right click command prompt run as admin
  • Change to directory “C:\Program Files\Windows AIK\Tools\PETools”
  • run command “copype x86 c:\winpe”
  • run command “imagex /mountrw c:\winpe\winpe.wim 1 c:\winpe\mount”
  • copy imagex.exe from “C:\Program Files\Windows AIK\Tools\x86\imagex.exe” to “c:\winpe\mount\windows\system32″
  • Create wimscript.ini in “c:\winpe\mount\windows\system32″ with following inside
  • [ExclusionList]
    "System Volume Information"
  • Run Command “imagex.exe /unmount /commit c:\winpe\mount”
  • Run Command “copy c:\winpe\winpe.wim c:\winpe\iso\sources\boot.wim /y”
  • Run Command “oscdimg -n -h -bc:\winpe\etfsboot.com c:\winpe\iso c:\winpe\winpe.iso”
  • This will create an ISO in c:\winpe\winpe.iso.
    Burn this and keep. Now we need to sysprep our machine.
    (You can remove WAIK and any files you don’t need, test your iso first!)

Sysprep Your Machine

  • change to the folder “c:\windows\system32\sysprep\”
  • run command “sysprep /generalize /oobe /shutdown”
  • Sysprep will remove any unique information and reseal the OS. Then the system will shutdown
  • sysprep Windows 7
  • Now boot the ISO we created previously and load into WinPE

Capture Image

  • Once WinPE is booted you will be in a Command Prompt window
  • Run Command “diskpart”
  • Run Command “select disk 0″
  • Run Command “list volume”
  • Note the letter of the drive you are imaging. C:\ in WinPE is set as the running OS not as the internal HDD
  • Run Command “exit”
  • Run Command “imagex /capture d:\ d:\install.wim “My Windows partition”" where d:\ is the drive you are copying
  • This will create a file called install.wim in the root of your HDD. This is the custom image and will need to be added to the Windows 7 Install DVD

Create Installation Media

  • You will probably need to install from USB as the image will probably be to large for a DVD. Here is a guide for Windows 7 USB Install
  • overwrite install.wim to \sources on the windows 7 install source
Install.wim windows 7

Install Windows 7 as normal. Your changes will be installed along with Windows 7

Source: http://benosullivan.co.uk/windows/how-to-image-and-deploy-windows-7-a-complete-guide/

Nuage de tags: -

Questions - Réponses en relation :

Dernière mise à jour : 2010-12-21 00:13
Auteur : Joris Frugier
Révision: 1.0

Digg it! Share on Facebook Imprimer cet article Envoyer à un ami version PDF
Proposer une traduction pour Proposer une traduction pour
Merci de noter cette entrée :

Moyenne des notes : 0 (0 Vote)

complètement inutile 1 2 3 4 5 indispensable

Vous ne pouvez pas commenter cet enregistrement