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.
- 207
- 4
- 15
-
Where did you download the ISO from? Did you use the Microsoft site to do so? The media creation tool will help you get only the version you need. – CharlieRB Apr 13 '16 at 19:52
-
Easier just to download the specific version you need from Microsoft – Ramhound Apr 13 '16 at 20:04
-
2I downloaded it from http://www.intercambiosvirtuales.org/sistemas-operativos/win7-sp1-abril-2015-es (site is in spanish). I cannot download it from Microsoft because I'll waste GB of my quota (I have a limited quota for normal speed and an unlimited one for a slower speed), on the other hand, the media creation tool of Windows 7 requires a genuine serial key before download, I don't have a legal copy of Windows. – CodigosTutoriales Apr 13 '16 at 20:18
1 Answers
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.
- 98,168
- 30
- 181
- 248
-
-
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 03:50
-
1New comment (not related with first comment): If
install.wimcontains 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. https://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 06 '18 at 03:46
-
@TsYYaYY1ud121a If DISM throws an error for either of the above commands, then you should try installing the Windows ADK and using the version of DISM included along with it. Sometimes the DISM included with your Windows install runs into weird issues on newer images. – Nathan2055 May 10 '19 at 04:04
-
@magicandre1981 ignore or delete? (in case only one edition of Windows) thanks – acgbox Feb 19 '22 at 23:14