The WinReducer Forum
Would you like to react to this message? Create an account in a few clicks or log in to continue.

The WinReducer ForumLog in

FORUM

[ANSWERED] how can I reduce "assembly" and "Microsoft.NET" ?

+4
theKramer
billybully
mrpotter2510
caphp
8 posters

description[ANSWERED] how can I reduce "assembly" and "Microsoft.NET" ? Empty[ANSWERED] how can I reduce "assembly" and "Microsoft.NET" ?

more_horiz
Hello,

which components must I choose, to reduce the size of the directories "assembly" and "Microsoft.NET" ?
[ANSWERED] how can I reduce "assembly" and "Microsoft.NET" ? <a href=[ANSWERED] how can I reduce "assembly" and "Microsoft.NET" ? Reduce11" />

description[ANSWERED] how can I reduce "assembly" and "Microsoft.NET" ? EmptyRe: [ANSWERED] how can I reduce "assembly" and "Microsoft.NET" ?

more_horiz
Reomove net framework 4.0 could do that. But DON'T choose it or delete anything in those folders, it could cause many problems to your windows.

description[ANSWERED] how can I reduce "assembly" and "Microsoft.NET" ? EmptyRe: [ANSWERED] how can I reduce "assembly" and "Microsoft.NET" ?

more_horiz
Do you mean to remove the feature "Net Framework 4.5 Network Advanced Services" ?
(in the *.wccf file the line   <Element Category="Features" Name="Net Framework 4.5 Network Advanced Services" Selected="false" Value="enable" />   )

description[ANSWERED] how can I reduce "assembly" and "Microsoft.NET" ? EmptyRe: [ANSWERED] how can I reduce "assembly" and "Microsoft.NET" ?

more_horiz
That's it. Sorry for 4.0 mistake Very Happy

description[ANSWERED] how can I reduce "assembly" and "Microsoft.NET" ? EmptyRe: [ANSWERED] how can I reduce "assembly" and "Microsoft.NET" ?

more_horiz
Thank you. I'll try it this evening, but I'm sure it will work fine.

description[ANSWERED] how can I reduce "assembly" and "Microsoft.NET" ? EmptyRe: [ANSWERED] how can I reduce "assembly" and "Microsoft.NET" ?

more_horiz
Interesting thread. I used to remove both of the "NativeImages..." folders from my Windows 7 images, and absolutely nothing went wrong. Doing this saves like half a gigabyte at the moment of installation, and like a quarter gigabyte from the ISO itself. 

I haven't tried this on a Windows 8 image, but I guess it will work too. I'm assuming you're looking at the Assembly folder with an external software like 7-Zip or UltraISO, because trying to open the Assembly folder with the Windows Explorer will show up a list of the actual assemblies, not the folders it contains. To watch the actual folders like you do with the external software, you need to apply this registry tweak to your PC:

Create a new dword key under HKLM\Software\Microsoft\Fusion\ with the name DisableCacheViewer and set its [DWORD] value to 1.
One you've done this, you should be able to see the Assembly folder like a normal folder instead of a list of inaccessible data. After this, you just mount your image using WinReducer and erase both of the folders. You do this BEFORE saving the image, and make sure you just remove the "NativeImages..." folders. DON'T TOUCH ANYTHING ELSE. All this is for reducing the Assembly folder. As for the Microsoft.NET folder, I don't know if it can be reduced Wink.

I would like you to try this and report feedback so we can know if doing so is safe for Windows 8 (as it presented no problems in Windows 7).

description[ANSWERED] how can I reduce "assembly" and "Microsoft.NET" ? EmptyRe: [ANSWERED] how can I reduce "assembly" and "Microsoft.NET" ?

more_horiz
billybully wrote:
Interesting thread. I used to remove both of the "NativeImages..." folders from my Windows 7 images, and absolutely nothing went wrong. Doing this saves like half a gigabyte at the moment of installation, and like a quarter gigabyte from the ISO itself.
Hmmm. I never knew that one. Got any others :-)
I will have some time this weekend, so I can try it also.

Are the "NativeImages..." folders related to .NET or something else?

description[ANSWERED] how can I reduce "assembly" and "Microsoft.NET" ? EmptyRe: [ANSWERED] how can I reduce "assembly" and "Microsoft.NET" ?

more_horiz
Yes, the NativeImages* folders are belong to .Net, you can think they're some kind of .Net cache for running .Net programs, to increase performance.
You can safely remove them but they'll be recreated soon right when you run a .Net program, and you must be waiting so long to start it. tongue

description[ANSWERED] how can I reduce "assembly" and "Microsoft.NET" ? EmptyRe: [ANSWERED] how can I reduce "assembly" and "Microsoft.NET" ?

more_horiz
OK,

I choosed these two settings in my *.wccf file:

    <Element Category="Features" Name="Net Framework 3.5" Selected="OK" Value="remove" />
    <Element Category="Features" Name="Net Framework 4.5 Network Advanced Services" Selected="true" Value="remove" />

and the result looks like this

[ANSWERED] how can I reduce "assembly" and "Microsoft.NET" ? <a href=[ANSWERED] how can I reduce "assembly" and "Microsoft.NET" ? Winred10" />

- "assembly" becomes 34MB smaller
- no change in "Microsoft.NET"
- "WinSxS" becomes 0,5GB smaller

description[ANSWERED] how can I reduce "assembly" and "Microsoft.NET" ? EmptyRe: [ANSWERED] how can I reduce "assembly" and "Microsoft.NET" ?

more_horiz
@theKramer They, indeed, are part of .NET Framework. Those folders act like a cache for .NET applications so they can run fast and smooth since day one. If you remove them, .NET applications will be somewhat slow. But both folders are rebuilt as soon as you launch a .NET Framework application (only that with WAY less crap than before), so they will be slow only at first. Once you have used .NET applications for a little time, they will be as fast as if you had never touched the folders.

description[ANSWERED] how can I reduce "assembly" and "Microsoft.NET" ? EmptyRe: [ANSWERED] how can I reduce "assembly" and "Microsoft.NET" ?

more_horiz
Hello guys,

Really interesting thread
!


I will try to remove those "NativesImages" folders before installation as it seems to save 500Mo during installation, that could be faster (less files to install).

I will let you know ... If you find something else let me know ...

Very Happy

description[ANSWERED] how can I reduce "assembly" and "Microsoft.NET" ? EmptyRe: [ANSWERED] how can I reduce "assembly" and "Microsoft.NET" ?

more_horiz
GREAT ! cheers

description[ANSWERED] how can I reduce "assembly" and "Microsoft.NET" ? EmptyRe: [ANSWERED] how can I reduce "assembly" and "Microsoft.NET" ?

more_horiz
OK, guys, It works perfectly ... Here are a quick x64 test :
All components removed :

. x64 ISO = 1.22 Go

. x64 Installation = 3.00 Go !

Congratulation for your excellent idea !!!! Very Happy 

And if there will be others ideas like this, I'm really interesting ! Wink 

description[ANSWERED] how can I reduce "assembly" and "Microsoft.NET" ? EmptyRe: [ANSWERED] how can I reduce "assembly" and "Microsoft.NET" ?

more_horiz
How much did it reduce the ISO size?

description[ANSWERED] how can I reduce "assembly" and "Microsoft.NET" ? EmptyRe: [ANSWERED] how can I reduce "assembly" and "Microsoft.NET" ?

more_horiz
Around 220 Mo for a x64 so the wim size is 998 Mo ...

description[ANSWERED] how can I reduce "assembly" and "Microsoft.NET" ? EmptyRe: [ANSWERED] how can I reduce "assembly" and "Microsoft.NET" ?

more_horiz
I will also post another screenshot with the results after installing w8.1 with beta8.

description[ANSWERED] how can I reduce "assembly" and "Microsoft.NET" ? EmptyRe: [ANSWERED] how can I reduce "assembly" and "Microsoft.NET" ?

more_horiz
Excellent idea ! Very Happy 

description[ANSWERED] how can I reduce "assembly" and "Microsoft.NET" ? EmptyRe: [ANSWERED] how can I reduce "assembly" and "Microsoft.NET" ?

more_horiz
winterstorm2050 wrote:
Around 220 Mo for a x64 so the wim size is 998 Mo ...
Holy crap. That's what I call a milestone!! cheers Very Happy

description[ANSWERED] how can I reduce "assembly" and "Microsoft.NET" ? EmptyRe: [ANSWERED] how can I reduce "assembly" and "Microsoft.NET" ?

more_horiz
Here is the result with beta8:

[ANSWERED] how can I reduce "assembly" and "Microsoft.NET" ? <a href=[ANSWERED] how can I reduce "assembly" and "Microsoft.NET" ? Beta810" />

-530 MB !!!

Great work Winterstorm !!!

Thank you

description[ANSWERED] how can I reduce "assembly" and "Microsoft.NET" ? EmptyRe: [ANSWERED] how can I reduce "assembly" and "Microsoft.NET" ?

more_horiz
Thanks to you ! Very Happy 

And good news I'm trying to remove more files in these folders ... maybe it could save around 150-200 Mo more !

cheers

description[ANSWERED] how can I reduce "assembly" and "Microsoft.NET" ? EmptyRe: [ANSWERED] how can I reduce "assembly" and "Microsoft.NET" ?

more_horiz
So will this removal be an option we can select by itself, or is it lumped underneath a more general title, like "Remove Unneeded Files"?

It would be extremely helpful is some of those titles mentioned what directories they are removing, for debugging purposes, and maybe show how many megabyte they save both on iso and install.

description[ANSWERED] how can I reduce "assembly" and "Microsoft.NET" ? EmptyRe: [ANSWERED] how can I reduce "assembly" and "Microsoft.NET" ?

more_horiz
Hello,

All information are in this thread : https://forum.winreducer.net/t380-optimizations-windows-winsxs-files-cleanup-extreme

This WinReducer Component is separated from others because it's highly experimental and we don't exactly know the consequences for Net framework depending software are with other ones...

description[ANSWERED] how can I reduce "assembly" and "Microsoft.NET" ? EmptyRe: [ANSWERED] how can I reduce "assembly" and "Microsoft.NET" ?

more_horiz
hi friends i am beginner with this i only remove this 4.5 network services and save into wim. now i cant open install.wim with 7zip it show cant open as archive also i cant unpack this  Shocked  Surprised  Surprised

before that i see my install.wim on saved iso  is 1.43GB my assembly folder has  209 266 968
my winsxs has 2 751 187 614

description[ANSWERED] how can I reduce "assembly" and "Microsoft.NET" ? EmptyRe: [ANSWERED] how can I reduce "assembly" and "Microsoft.NET" ?

more_horiz
What is your ambition ?
To look into a wim file you should mount it with dism.

description[ANSWERED] how can I reduce "assembly" and "Microsoft.NET" ? EmptyRe: [ANSWERED] how can I reduce "assembly" and "Microsoft.NET" ?

more_horiz
i mount it but it always show me cant open  Sad and also i want remove some files from winsxs assembly but i dont know how

i see on forum that it can be install.wim less than 900 MB-

description[ANSWERED] how can I reduce "assembly" and "Microsoft.NET" ? EmptyRe: [ANSWERED] how can I reduce "assembly" and "Microsoft.NET" ?

more_horiz
You have to remove .net 4.5 and 3.5 under "Features" and you have to choose "Windows - WinSXS Backup Folder Cleanup" and "Windows - WinSXS Folder Compression" under "Optimizations".

But be aware. With this removement there will be many other things, which won't work after that.

description[ANSWERED] how can I reduce "assembly" and "Microsoft.NET" ? EmptyRe: [ANSWERED] how can I reduce "assembly" and "Microsoft.NET" ?

more_horiz
Shocked ahaa ok thanks uff wont work Sad

description[ANSWERED] how can I reduce "assembly" and "Microsoft.NET" ? EmptyRe: [ANSWERED] how can I reduce "assembly" and "Microsoft.NET" ?

more_horiz
No idea what you are doing, but it is not possible to test this in 8 minutes  Evil or Very Mad

description[ANSWERED] how can I reduce "assembly" and "Microsoft.NET" ? EmptyRe: [ANSWERED] how can I reduce "assembly" and "Microsoft.NET" ?

more_horiz
ok so i remove this 3.5 and 4.5 now i make this WinSXS Backup Folder Cleanup" and "Windows - WinSXS Folder Compression" 
also cleanup net framework folder 

now i see on install.wim 


windows/assembly/ 0mb
microsoft.net 313936MB still Sad (assembly - gacmsil is there only )
framework folder 193990MB still Sad


there is v 2.0 0MB
v 1.1            493
v 1.03          100 265 
v 4.0            193 790 242  Shocked  Shocked  Shocked 




so any solution how reduce this 2 folders or delete ?

description[ANSWERED] how can I reduce "assembly" and "Microsoft.NET" ? EmptyRe: [ANSWERED] how can I reduce "assembly" and "Microsoft.NET" ?

more_horiz
I realize this is an old thread, but I was wondering if there has been any progress on slimming the microsoft.net folder. Winter suggested that he would look into reducing its size, but as I understand, he put it under one of the 'extreme' presets or 'experimental' options.

Has anybody figured out what can be safely deleted from that folder? As others have noted above, all the native assemblies in windows\assembly can be safely deleted to reclaim a lot of space.
privacy_tip Permissions in this forum:
You cannot reply to topics in this forum