Step1:create winpe and add imagex to iso
1.copype amd64 or x86 c:\winpe
2 dism /mout-wim /winfile:c:\winpe\winpe.wim /index:1 /mountdir:c:\winpe\mount
3 Copy Imagex(tools)  to  ..\mount\windows\system32
4 dism /unmount-wim /mountdir:c:\winpe\mount /commit
Step 2:Capture image:
5 sysprep tool
     enter system new experience
     select common for create new ssid
     shutdown option select shutdown
6 start system from winpe
7  cd to drive d (drive for system)
8  d:\>net use w: \\lab\wim abc123,./ /user:lab\softice
9 imagex /capture d: w:\win7.wim "decribe the image" 
     imagx /info  look at the details of the image
     imagex /append d: w:\win7.wim "decribe"  # append the wim
     imagex /export d:\sources\install.wim 5 c:\wim\win7ult.wim  # split the wim
10   split iso to  CDs
     c:\...\AIK\samples>createspannedshares.cmd c:\source c:\span 
     oscdimg  #convert to iso file
Step 3:Install System 
      imagex /apply w:\win7.wim 1 d:\
      bcboot d:\windows /s c: 
      wpeutil reboot # reboot the computer
Step4:Integrated the drivers
        dism /get-wininfo /wimfile:c:\sources\install.wim  # check the Index No.
        dism /mount-wim /mountfile:c:\sources\install.wim /index:5 /mountdir:c:\mount 

#mount the wim
        dism /image:c:\mount /add-driver /driver:c:\hvdriver\ws3cap.inf or # add driver for 

 one file
        dism /image:c:\mount /add-driver /driver:c:\hvdriver # add driver for a folder
        dism /image:c:\mount /get-drivers # check the driver
        dism /image:c:\mount /remove-driver /driver:oem8.inf # delete the driver 
        dism /unmount-wim /mountdir:c:\mount /commit # unmount the wim
Step5:Integrated the Service Pack
        dism /mount-wim /mountfile:c:\sources\install.wim /index:5 /mountdir:c:\mount 

#mount the wim
        expand -F:* C:\windows6.1-KBXXX-X86.msu c:\KBXXXX #expand the sp
        dism /image:c:\mount /add-package /packagepath:"c:KBXXXX\" # add package
        dism /unmount-wim /mountdir:c:\mount /commit # unmount the wim
Step6: Windwos 7 USB/DVD download tool
Step7:Make the usb winpe tool 
      C:\>copype x86 c:\winpe
          copy c:winpe\winpe.wim c:winpe\iso\sources\boot.wim
          format usb driver
          xcopy c:\winpe\iso\*.* /e h:\
Step 8: create self answer file
         use WSIM
Step 9: Native VHD
        create VHD c:\win7utl.vhd
        ADD Boot Menu for VHD
        bcdedit /copy {default} /d "windows 7 ultimate"
        bcdedit /set {GUID} device vhd=[C:]\win7utl.vhd
        bcdedit /set {GUID} osdevice vhd=[C:]\win7utl.vhd
        bcdedit /set {GUID} detecthal on
        bcdedut /bootsequence {GUID}   
Step 10: Evaluate the hardware for deploy win7 #Use MAP 6.0
         Install .net framework 3.5 and 4.0
         Install MAP 6.0
         Use MAP 6.0 
Step11: Move the user profile
        At Win7:
        share AIK\tools\USMT\x86 folder
        create folder USMT at driver C
        At XP:
                copy folder x86 to XP,change name to usmt
                map the USMT on win7 to XP for Z:
                cd usmt
                usmt>scanstat Z:\ /auto
         At Win7:
                double usmt file or loadstat command