.NET & WOW64 removal

LTSB

Member
With these commands you can save some extra space.
Save as commands.txt and run it as follows:

This will drop it to about 1.3 GB

Code:
wimlib-imagex.exe update image.wim 1 < commands.txt --check --rebuild
wimlib-imagex.exe apply image.wim 1 <path> --check

Code:
delete --force --recursive "\Program Files (x86)\"

delete --force --recursive "\Windows\SysWOW64\"
delete --force "\Windows\System32\wow64win.dll"
delete --force "\Windows\System32\wow64cpu.dll"
delete --force "\Windows\System32\wow64.dll"
delete --force "\Windows\System32\wowreg32.exe"
delete --force "\Windows\System32\api-ms-win-core-wow64-l1-1-0.dll"

delete --force --recursive "\Windows\Microsoft.NET"
delete --force --recursive "\Windows\assembly"
delete --force "\Windows\System32\mscoree.dll"
delete --force "\Windows\System32\mscorier.dll"
delete --force "\Windows\System32\mscories.dll"
delete --force "\Windows\System32\MUI\0409\mscorees.dll"
 
you can save some extra space
Its gonna be limited to very few users, so much geeky stuff needs .nets and other stuff is either 32bit only(damn you Nero) or combined 32 and 64bit installers, you be fine with Protables as many come in both varieties.
Question, do those dll's need to be unregistered first or do they just sit there?

Off topic but if you are trying to save as much space as possible,,,
If you are driver savvy then copy the contents of C:\Windows\System32\DriverStore\FileRepository to another location, external drive/odd then delete the original contents, 8.1 with chipset and display drivers. NTLite may do the same with Reuse Driver Cache. OS wont be able to automatically install drivers but you can install them manually by searching to the saved location. Only do this when once you have installed all your drivers. Maybe usefull for laptop/netbook users with 32gb or less ssd's or maniacs. :D

If you combine that lot with my w7 barebone then you will see 7 pro x64 at under 1gb installed, i reckon around 800mb or a bit less.

Capture.PNG
 
Last edited:
:cool: .Nets are an abomination and should be banished from society. If i can get a fully updated captured image installed somewhere between 5 and 6 n a bit gb its an acceptable(just :mad:) compromise. And for good measure i strip the tits out of winsxs too.
 
Last edited:
With these commands you can save some extra space.
Save as commands.txt and run it as follows:

This will drop it to about 1.3 GB

My slimmed 7 source is 1.26 GB, the install.wim is 1.09 GB (installed after 8 months running a somewhat broken 7).

It keeps most needed components:
Bluetooth and compatibility needed components
Diagnostic and troubleshooting
Drivers needed for Mobile hardware
Hardware support (some)
Mobile device support
Mobile PC
Touchscreen compatibility
Volume Shadow Copy (needed for )
Windows Error reporting (needed for Diagnostics and troubleshooting)
Wireless and network compatibility
Internet Explorer needed for Open File location (don't know with the latest changes)

and some not basic
Character map
Performance tools
Performance monitor
WinSAT
and others not listed

Clanger's 7 barebone is not suitable for most users as some users needs one or other component.
 
I've got my 10 down to 1.9gb.. i think if we could frankenstein a server 2019 + 10 combination it could be brought down further.
server 2019 allows you to make x32 support optional, but it doesnt perform the same as desktop windows and isnt optimized for it.
Especially the networking adapter.
 
Back
Top