3

I downloaded an ISO of Windows 7 64 bits, I have a problem: I saw 4 editions in .clg files (home basic, premium, professional and ultimate), I opened install.wim with 7zip and I saw folders called 1,2,3 and 4. I suppose numbers are the 4 editions I mentioned. How to remove editions from ISO? My problem is those editions makes iso size be up to 5.5 GB. I just need ultimate, no more editions needed.

3

First run Dism /Get-WimInfo /WimFile:DVDDRIVELETTER:\sources\install.wim to see which index the Edition has you want to have alone:

Deployment Image Servicing and Management tool Version: 6.3.9600.17029

Details for image : E:\sources\install.wim

Index : 1 Name : Windows 7 HOMEBASIC Description : Windows 7 HOMEBASIC Size : 11.623.452.494 bytes

Index : 2 Name : Windows 7 HOMEPREMIUM Description : Windows 7 HOMEPREMIUM Size : 12.136.659.100 bytes

Index : 3 Name : Windows 7 PROFESSIONAL Description : Windows 7 PROFESSIONAL Size : 12.037.929.390 bytes

Index : 4 Name : Windows 7 ULTIMATE Description : Windows 7 ULTIMATE Size : 12.200.638.813 bytes

The operation completed successfully.

You want ultimate so run this command with the index 4 for Ultimate:

Dism /Export-Image /SourceImageFile:DVDDRIVELETTER:\sources\install.wim /SourceIndex:4 /DestinationImageFile:C:\Win7Ultimate\sources\install.wim /DestinationName:"Windows 7 Ultimate"

This new ISO should now only include the Ultimate Edition.

| improve this answer | |
  • /Export-Image causes error 87 The export-image is unknown – CodigosTutoriales Apr 14 '16 at 19:16
  • install the Win8.1/win10 ADK (Deployment Tools) and run the deployment tools CMD and run the DISM command now – magicandre1981 Apr 15 '16 at 3:50
  • New comment (not related with first comment): If install.wim contains only one edition of Windows, Do I have to delete .clg files of editions different to ultimate? – CodigosTutoriales Apr 15 '16 at 19:49
  • the clg is only used by the Windows System Image Manager. you can ignore the files. technet.microsoft.com/en-us/library/hh825092.aspx – magicandre1981 Apr 16 '16 at 11:07
  • During Export-Image, Can we give comma separated index numbers as SourceIndex if we want more than one edition in the DestinationImageFile ? – Pratik Patil May 6 '18 at 3:46

Not the answer you're looking for? Browse other questions tagged or ask your own question.