Page 1 of 4 • 1, 2, 3, 4 

- KrX
Slim down boot.wim
on Sat 11 Oct 2014 - 19:00
hey guys,
i have got a batch file here and it would be nice if you could test it if it work.
Download
[You must be registered and logged in to see this link.]
How to use it
Mount your boot.wim like this
replace
C:\test\images\myimage.wim
by the path to your boot.wim file and
C:\test\offline
by the path where you want to mount it
after that place the downloaded ROOT.bat to the mounted folder *next to the Windows Folder* and run it as administrator
after that unmount your wim file with this command
after that test it in a virtual machine.
if you get an error while installing windows and an missing file is shown please post it here so i can remove it from my batch file and if all files that are needed are removed winterstorm could add that to winreducer
after that open the Root.bat and search for your file that is needed and remove the whole line from it. save it and repeat all steps again.
it would be really nice if a lot of people could test it so hopefully this batch will work for everyone.
PS my boot.wim is currently 42.4 Mb tall and it works with this batch file
EDIT: open the ROOT.bat with i.e. Notepad ++ and search for "de-DE" and replace it with your language code
i have got a batch file here and it would be nice if you could test it if it work.
Download
[You must be registered and logged in to see this link.]
How to use it
Mount your boot.wim like this
Dism /Mount-Image /ImageFile:C:\test\images\myimage.wim /index:1 /MountDir:C:\test\offline
replace
C:\test\images\myimage.wim
by the path to your boot.wim file and
C:\test\offline
by the path where you want to mount it
after that place the downloaded ROOT.bat to the mounted folder *next to the Windows Folder* and run it as administrator
after that unmount your wim file with this command
Dism /Unmount-Image /MountDir:C:\test\offline /commit
after that test it in a virtual machine.
if you get an error while installing windows and an missing file is shown please post it here so i can remove it from my batch file and if all files that are needed are removed winterstorm could add that to winreducer
after that open the Root.bat and search for your file that is needed and remove the whole line from it. save it and repeat all steps again.
it would be really nice if a lot of people could test it so hopefully this batch will work for everyone.
PS my boot.wim is currently 42.4 Mb tall and it works with this batch file
EDIT: open the ROOT.bat with i.e. Notepad ++ and search for "de-DE" and replace it with your language code
- brittech
Re: Slim down boot.wim
on Sat 11 Oct 2014 - 19:26
Hi KrX
Sorry, my security settings are blocking ZippyShare. Any other way I can get that file?
Sorry, my security settings are blocking ZippyShare. Any other way I can get that file?
- KrX
Re: Slim down boot.wim
on Sat 11 Oct 2014 - 19:43
i added some more hoster, hopefully you can download it from one
- brittech
Re: Slim down boot.wim
on Sat 11 Oct 2014 - 20:00
Thanks, plenty of choice 
Just tried it out and within seconds of booting CD ... BSOD stop: 0x...F4
Bearing in mind I had to change your entries of de-DE into en-US.

Just tried it out and within seconds of booting CD ... BSOD stop: 0x...F4
Bearing in mind I had to change your entries of de-DE into en-US.
- KrX
Re: Slim down boot.wim
on Sat 11 Oct 2014 - 20:06
brittech wrote:Thanks, plenty of choice
Just tried it out and within seconds of booting CD ... BSOD stop: 0x...F4
Bearing in mind I had to change your entries of de-DE into en-US.
ah you are right i forgot to mention that you need to change all de-DE to your language
because of the error. to find what file is causing it you will need to test i.e 50% of the batch file
if that works try again some line from the batch and so on. till you find the file you need
its a lot of work and i know that

- Torrentus
Re: Slim down boot.wim
on Sat 11 Oct 2014 - 22:06
KrX, I thought we already finished this subject more than half year ago!? You want to test and share it with other users?
Here brittech try mine, I think its compatible with all Windows 7 x64 US versions...
[You must be registered and logged in to see this link.]
Cheers

Here brittech try mine, I think its compatible with all Windows 7 x64 US versions...
[You must be registered and logged in to see this link.]
Cheers

- brittech
Re: Slim down boot.wim
on Sat 11 Oct 2014 - 22:30
Ok. Thanks.
I tried the boot.wim file and it came up with an error -
'Windows could not display the images available for installation.'
I'm using a 7 Pro x64 untouched install.wim
I tried the boot.wim file and it came up with an error -
'Windows could not display the images available for installation.'
I'm using a 7 Pro x64 untouched install.wim
- Torrentus
Re: Slim down boot.wim
on Sat 11 Oct 2014 - 22:38
Oh Ok, so it seems that you need to remove the other editions in your install.wim the .clg files.
You could try to replace my boot.wim on your slimmed down ISO...
You could try to replace my boot.wim on your slimmed down ISO...
- Torrentus
Re: Slim down boot.wim
on Sat 11 Oct 2014 - 22:43
Or it really is only for the Ultimate edition, because the Ultimate edition can install all versions.
Lets see if you can install Windows Ultimate with your Pro Version. In your untouched ISO open the install.wim with 7zip
and tell me how many folders are inside? I have 4 folders and a xml file, this means Ultimate can install all versions...
Lets see if you can install Windows Ultimate with your Pro Version. In your untouched ISO open the install.wim with 7zip
and tell me how many folders are inside? I have 4 folders and a xml file, this means Ultimate can install all versions...
- KrX
Re: Slim down boot.wim
on Sun 12 Oct 2014 - 3:12
hey, yes we finished the project.
the batch works for me. but it would be nice if it works for all people so winterstorm could add it to winreducer
EDIT:
i reuploaded my batch file and removed lines that deleted .nls files and keyboard layouts and windows editions so that it hopefully works for more people
the batch works for me. but it would be nice if it works for all people so winterstorm could add it to winreducer
EDIT:
i reuploaded my batch file and removed lines that deleted .nls files and keyboard layouts and windows editions so that it hopefully works for more people
- parapher
Re: Slim down boot.wim
on Sun 12 Oct 2014 - 15:43
Torrentus, I use Win7 x64 SP1 image and tried your boot.wim but it errors with following message:


- Torrentus
Re: Slim down boot.wim
on Sun 12 Oct 2014 - 15:55
Try to mount the boot.wim and put back the HDD drivers, I think it is a HDD issue...
- Torrentus
Re: Slim down boot.wim
on Sun 12 Oct 2014 - 16:01
In Windows\inf and Windows\System32\drivers and Windows\System32\DriverStore\FileRepository
The problem is we all have different hardware and on some users it won't work. We need to find out which Universal Drivers we need to keep, so it will work for everyone!
The problem is we all have different hardware and on some users it won't work. We need to find out which Universal Drivers we need to keep, so it will work for everyone!
- parapher
Re: Slim down boot.wim
on Sun 12 Oct 2014 - 18:58
OK, thanks for the tips. Also tried KrX's script (changed all de-DE to en-US) and ran it (admin mode) but the boot.wim after commit and export (compress max) only got down to 135mb or so. Since I'm able to do this with NTLite already I have not tried to run it live.
Not sure if you tried this but you can install x64 Win with x86 boot.wim (easy, I always do) so maybe you can reduce even further.
Yeah, would be good if pretty universal way could be found to reduce boot.wim, there's a lot of stuff in there that's not needed.
Not sure if you tried this but you can install x64 Win with x86 boot.wim (easy, I always do) so maybe you can reduce even further.
Yeah, would be good if pretty universal way could be found to reduce boot.wim, there's a lot of stuff in there that's not needed.
- Yuriy
Re: Slim down boot.wim
on Sun 12 Oct 2014 - 22:47
Hello! After connecting boot.wim, along the way, for example: dism / mount-wim /wimfile:c:\dism\iso\boot.wim / index: 1 / mountdir: c: dism\offline where to insert ROOT_MultiUpload.bizd.bez? Copying a folder with an attached boot.wim - run as administrator, after - Unmount the conservation, and the size remains the same. Please repeat the whole process after mounting. In advance, thank you!
- KrX
Re: Slim down boot.wim
on Sun 12 Oct 2014 - 23:25
hi
normally you should put it here:

at the mounted folder and than next to the windows folder.
------------------------------------
if you did that could you try this:
mount again your boot.wim and copy the Root batch to that folder.
Press Windows-key and R and enter in the Run Box "cmd" without "
go to the directory where you mounted your boot.wim with the CD comand
i.e. "cd C\bootwim"
click enter, now you put that command:
that will log all the output. now go to i.e C:\bootwim and open the output.txt and copy some line from there in a Post so we can check that
-----------------------------------------------------
PS it would be better if your command would look like that
normally you should put it here:

at the mounted folder and than next to the windows folder.
------------------------------------
if you did that could you try this:
mount again your boot.wim and copy the Root batch to that folder.
Press Windows-key and R and enter in the Run Box "cmd" without "
go to the directory where you mounted your boot.wim with the CD comand
i.e. "cd C\bootwim"
click enter, now you put that command:
ROOT_MultiUpload.bizd.bez.bat > output.txt 2>&1
that will log all the output. now go to i.e C:\bootwim and open the output.txt and copy some line from there in a Post so we can check that
-----------------------------------------------------
PS it would be better if your command would look like that
i changed the "mountdir: c:" to "mountdir: c:\bootwim"dism / mount-wim /wimfile:c:\dism\iso\boot.wim / index: 1 / mountdir: c:\bootwim dism\offline
- Yuriy
Re: Slim down boot.wim
on Mon 13 Oct 2014 - 12:21
Something I did not get ...KrX wrote:hi
normally you should put it here:
at the mounted folder and than next to the windows folder.
------------------------------------
if you did that could you try this:
mount again your boot.wim and copy the Root batch to that folder.
Press Windows-key and R and enter in the Run Box "cmd" without "
go to the directory where you mounted your boot.wim with the CD comand
i.e. "cd C\bootwim"
click enter, now you put that command:
ROOT_MultiUpload.bizd.bez.bat > output.txt 2>&1
that will log all the output. now go to i.e C:\bootwim and open the output.txt and copy some line from there in a Post so we can check that
-----------------------------------------------------
PS it would be better if your command would look like that
i changed the "mountdir: c:" to "mountdir: c:\bootwim"dism / mount-wim /wimfile:c:\dism\iso\boot.wim / index: 1 / mountdir: c:\bootwim dism\offline
My actions:
1. This is the path C:\dism\iso is boot.wim

2. Mounts in c:\bootwim\offline:
dism /mount-wim /wimfile:c:\dism\iso\boot.wim /index:1 /mountdir:c:\bootwim\offline
3. Copy the file ROOT_MultiUpload.biz here c:\bootwim\offline, run as administrator...

4. After work ROOT_MultiUpload.biz, dismantle, with preservation of image:
Dism /Unmount-Image /MountDir:C:\bootwim\offline /commit
5. Here's what happened:

Where is my mistake?
Please, treat with understanding. Thank you!
- KrX
Re: Slim down boot.wim
on Mon 13 Oct 2014 - 13:45
hey,
the error you get is this:
it seems like some process or file is still running from your mounted folder
the error you get is this:
Error: 0xc1420117
The directory could not be completely unmounted. This is usually due to applications that still have files opened within the mount directory. Close these files and unmount again to complete the unmount process.
This error happens when you use another Dism.exe which is located in C:\Windows\System32. The correct application to use is C:\Program Files\Windows AIK\Tools\amd64\Servicing\Dism.exe, so you need to direct your command line tool to that location before you run the unmount-command (use cd C:\Path to change directory). Replace amd64 in the path with your architecture or leave it out to go in the Servicing folder inside Tools.
it seems like some process or file is still running from your mounted folder
- Yuriy
Re: Slim down boot.wim
on Mon 13 Oct 2014 - 14:10
C unmounting - figured out ... Thanks.Yuriy wrote:Something I did not get ...KrX wrote:hi
normally you should put it here:
at the mounted folder and than next to the windows folder.
------------------------------------
if you did that could you try this:
mount again your boot.wim and copy the Root batch to that folder.
Press Windows-key and R and enter in the Run Box "cmd" without "
go to the directory where you mounted your boot.wim with the CD comand
i.e. "cd C\bootwim"
click enter, now you put that command:
ROOT_MultiUpload.bizd.bez.bat > output.txt 2>&1
that will log all the output. now go to i.e C:\bootwim and open the output.txt and copy some line from there in a Post so we can check that
-----------------------------------------------------
PS it would be better if your command would look like that
i changed the "mountdir: c:" to "mountdir: c:\bootwim"dism / mount-wim /wimfile:c:\dism\iso\boot.wim / index: 1 / mountdir: c:\bootwim dism\offline
My actions:
1. This is the path C:\dism\iso is boot.wim" />
2. Mounts in c:\bootwim\offline:
dism /mount-wim /wimfile:c:\dism\iso\boot.wim /index:1 /mountdir:c:\bootwim\offline
3. Copy the file ROOT_MultiUpload.biz here c:\bootwim\offline, run as administrator..." />
4. After work ROOT_MultiUpload.biz, dismantle, with preservation of image:
Dism /Unmount-Image /MountDir:C:\bootwim\offline /commit
5. Here's what happened:" />
Where is my mistake?
Please, treat with understanding. Thank you!

But boot.wim, anyway does not change, the opposite - increased slightly.

What I'm doing wrong?
- KrX
Re: Slim down boot.wim
on Mon 13 Oct 2014 - 14:27
normally your bootwim folder should look like this after using the batch file:

maybe its a usrer-rights problem?
maybe try mounting the boot wim to your user desktop (like you see on my picture, i do the same)

maybe its a usrer-rights problem?
maybe try mounting the boot wim to your user desktop (like you see on my picture, i do the same)
- Yuriy
Re: Slim down boot.wim
on Mon 13 Oct 2014 - 14:45
Please (right), the path to the desktop, to tryKrX wrote:hi
normally you should put it here:
at the mounted folder and than next to the windows folder.
------------------------------------
if you did that could you try this:
mount again your boot.wim and copy the Root batch to that folder.
Press Windows-key and R and enter in the Run Box "cmd" without "
go to the directory where you mounted your boot.wim with the CD comand
i.e. "cd C\bootwim"
click enter, now you put that command:
ROOT_MultiUpload.bizd.bez.bat > output.txt 2>&1
that will log all the output. now go to i.e C:\bootwim and open the output.txt and copy some line from there in a Post so we can check that
-----------------------------------------------------
PS it would be better if your command would look like that
i changed the "mountdir: c:" to "mountdir: c:\bootwim"dism / mount-wim /wimfile:c:\dism\iso\boot.wim / index: 1 / mountdir: c:\bootwim dism\offline
- Yuriy
Re: Slim down boot.wim
on Mon 13 Oct 2014 - 14:46
Please (right), the path to the desktop, to try
- KrX
Re: Slim down boot.wim
on Mon 13 Oct 2014 - 14:52
what i meant was try mounting the boot wim to your desktop:
just change KrX for your username:
C:\Users\KrX\Desktop\bootwim
dism / mount-wim /wimfile:c:\dism\iso\boot.wim / index: 1 / mountdir: C:\Users\KrX\Desktop\bootwim
just change KrX for your username:
C:\Users\KrX\Desktop\bootwim
- KrX
Re: Slim down boot.wim
on Mon 13 Oct 2014 - 15:06
hey i was just wandering. did you choose at winreducer the winsxs folder cleanup?
if no than there should be still a lot of files at your bootwim -> windows/winsxs
and maybe thats why your boot.wim is still so big
if no than there should be still a lot of files at your bootwim -> windows/winsxs
and maybe thats why your boot.wim is still so big
- Yuriy
Re: Slim down boot.wim
on Mon 13 Oct 2014 - 15:24
Did as you advised ...KrX wrote:what i meant was try mounting the boot wim to your desktop:
dism / mount-wim /wimfile:c:\dism\iso\boot.wim / index: 1 / mountdir: C:\Users\KrX\Desktop\bootwim
just change KrX for your username:
C:\Users\KrX\Desktop\bootwim
Create a folder bootwim on the desktop, made all the manipulation,
but it's still not coming out ... can not be changed boot.wim.
What could it be?

- KrX
Re: Slim down boot.wim
on Mon 13 Oct 2014 - 15:29
KrX wrote:hey i was just wandering. did you choose at winreducer the winsxs folder cleanup?
if no than there should be still a lot of files at your bootwim -> windows/winsxs
and maybe thats why your boot.wim is still so big
1) how about this?
-----------------------------
2)
KrX wrote:
if you did that could you try this:
mount again your boot.wim and copy the Root batch to that folder.
Press Windows-key and R and enter in the Run Box "cmd" without "
go to the directory where you mounted your boot.wim with the CD comand
i.e. "cd C\bootwim"
click enter, now you put that command:
ROOT_MultiUpload.bizd.bez.bat > output.txt 2>&1
that will log all the output. now go to i.e C:\bootwim and open the output.txt and copy some line from there in a Post so we can check that
could you try this command and upload the whole output.txt file and post it here.
because if you used with winreducer the winsxs folder cleanup the output.txt file should help me to check whats got wrong
- Yuriy
Re: Slim down boot.wim
on Mon 13 Oct 2014 - 15:47
Maybe because it is impossible that I Windows Russian? Here is what the text file obtained by:

" />

- KrX
Re: Slim down boot.wim
on Mon 13 Oct 2014 - 15:59
hmm thats really funny. normally it should work even if your language is Russian
- Yuriy
Re: Slim down boot.wim
on Mon 13 Oct 2014 - 16:08
So what does not work?KrX wrote:hmm thats really funny. normally it should work even if your language is Russian
It seems to do everything as you write ... Or not?
- Yuriy
Re: Slim down boot.wim
on Mon 13 Oct 2014 - 16:11
Okay ... So far, leave this venture ... We need to switch ... 

Page 1 of 4 • 1, 2, 3, 4 

Permissions in this forum:
You cannot reply to topics in this forum
|
|