If you have a Windows 7 Home Premium, you can use a batch file:
Example for Windows 7 Home Premium x86
Copy/paste inside Notepad:
One_Image.cmd
CLS echo. REM Deleting unwanted images to save space. REM Change the path and the index number to your needs echo. echo ==Exporting image Windows 7 Home Premium x86== echo. "C:\Program Files\Windows AIK\Tools\x86\imagex.exe" /export C:\Win7\sources\install.wim 3 C:\Win7\sources\installnew.wim "Windows 7 HOMEPREMIUM" echo. echo ==Deleting unwanted files== echo. DEL /S /F /Q "C:\Win7\sources\install.wim" DEL /S /F /Q "C:\Win7\sources\install_Windows 7 STARTER.clg" DEL /S /F /Q "C:\Win7\sources\install_Windows 7 HOMEBASIC.clg" DEL /S /F /Q "C:\Win7\sources\install_Windows 7 PROFESSIONAL.clg" DEL /S /F /Q "C:\Win7\sources\install_Windows 7 ULTIMATE.clg" echo. REN "C:\Win7\sources\installnew.wim" "install.wim" echo. echo ==End process== echo. echo ==Now the index number is: [install.wim 1]== echo. echo ==WARNING: Don't use twice this batch== echo. echo ==select any key to quit==&pause>nul
WARNING: don't use twice this batch file, because the new "install.wim" file will be irretrievably deleted, because it's renamed inside the same folder!
This post has been edited by myselfidem: 16 March 2011 - 03:01 PM



Help

Back to top











