aviv00 Posted May 7, 2009 Author Posted May 7, 2009 (edited) The process mentioned above might cause serious system issues. You might want to try the following procedure instead:http://windowsfixup.com/2009/05/winsxs-fol...disk-space-fix/Agreed, this tool was able to delete 600 MB in my winsxs reducing a vlited 7 RC installation to a fantastic 3.2 GB !64bit ? i did 3.2gb too with 32bit but not with the toolbtw the guide is meant to be post-install64bit ultimate.Vlited with this conf.Removed hiberfil and pagefile.Then used winsxslite.I think I used your guide but made the system instable.No problem with this tool AFAIK.I think this is the slimmest installed size I know.BTW if someone knows how to remove other components (IE, firewall, update) please let me know.sorry duno if its possible maybe sidebar but firewall ... anyways this footprint really nice how much it in iso file ?another thing i dont understand the hard linking with winsxslitedoes it already hard linked ? Edited May 7, 2009 by aviv00
darkon11 Posted May 8, 2009 Posted May 8, 2009 ISO is about 1.8 GB.I don't understand completely the hard linking.For what I know the links show as the real files increasing a lot the size on disk.Reducing is made AFTER installation, but there's a way to make it before using imagex (I'm trying right now).
aviv00 Posted August 20, 2009 Author Posted August 20, 2009 (edited) hey levelsorry meant features in Control Panel\All Control Panel Items\Programs and Features Edited August 20, 2009 by aviv00
Jatin Beniwal Posted August 24, 2009 Posted August 24, 2009 Is there any chances it can support windows 7 too?
aviv00 Posted August 24, 2009 Author Posted August 24, 2009 (edited) Is there any chances it can support windows 7 too?how u mean ?this guide can do on any os u like just remember remove all the dupes are not safe so make backup for few daysso if will have problem u could restore itor make checkpoint of dupes removal so u will see when the os getting unstable for ur demands Edited August 24, 2009 by aviv00
CrendKing Posted August 24, 2009 Posted August 24, 2009 As far as I know, all the component files in WinSxS are hard links to the files in other directories, i.e. different file entry in the file system but pointing to the same data blocks. If you just remove one entry (the ones under the WinSxS directory), the actual data are not erased, and you should not get any extra free space. How do you manage to get the cut off? Thanks!You can view the hard links in your file system by installing Link Shell Extension.Here's Wikipedia page about hard link: http://en.wikipedia.org/wiki/Hard_link
aviv00 Posted August 25, 2009 Author Posted August 25, 2009 (edited) vista didnt work well with hard link the file process on it was very slowwindows 7 got improved and know to handle it better NTFS system duno to handle it good enuf and show the right space that usedanyways this guide is good for who use lot of MS apps and his winsxs dir is going high cos thatthe iso wont change cos the dupe deletion but its will improve installation time its will improve AV scan time i duno if its improve the performance of the Windowsmaybe less files make the windows work faster less dll to load and search but its improve the feeling when ur windows is dupeless and save 4 giga hard links of dupes like movies sound drivers langs and more stuff that not needed to back-uppedand i really dont understand how hard link supposed to fix the hell DLL problemor recover the system from damage failuresif the file damage the dupe will damage too cos its the sameand if u have DLL hell problem why its need to be 2 files that are the same [sometime there are dupes 4 times]if there another file that is diff then other dll files then its should be one dll for original one another for updated dll filein reality they have 1 original in system32 one in winsxs for dupe and one updated in winsxs and system32 if the os need the original go directly to winsxs original dir if to the update go directly to system32the hard link system is not needed at all! Edited August 25, 2009 by aviv00
CrendKing Posted August 25, 2009 Posted August 25, 2009 (edited) Point me out if I understand you incorrectly. Since the files under System32 and the files under WinSxS are hard links, and based on the definition of hard link, once the WinSxS files change, the System32 files change automatically, since they are pointing to the same data block. Therefore you will never get an updated file in System32 while still have the original one in WinSxS.I'm not Microsoft people. In my opinion, WinSxS is what they use to do package and version controls, as well as some level of backup. As the softwares are becoming bigger and bigger, we need multiple library files to collaborate with each other, and we need to make sure they always have the compatible version. Without WinSxS, the system cannot have two "msvcp.dll" files with different versions in System32. Rather, they have to name them msvcp80.dll and msvcp90.dll respectively, which is not scalable solution.I mean, WinSxS is not a bad solution, and it does not take extra space. I do not know how bad does Vista support hard links (since I never had problem with it), but removing dupe in WinSxS is not always good. Use it when you are sure you will not need those files. Edited August 25, 2009 by CrendKing
aviv00 Posted August 26, 2009 Author Posted August 26, 2009 (edited) Point me out if I understand you incorrectly. Since the files under System32 and the files under WinSxS are hard links, and based on the definition of hard link, once the WinSxS files change, the System32 files change automatically, since they are pointing to the same data block. Therefore you will never get an updated file in System32 while still have the original one in WinSxS.yes u got it, that make hard link not usable cos if u want to save old dll then save it why dupe if beforeI'm not Microsoft people. In my opinion, WinSxS is what they use to do package and version controls, as well as some level of backup. As the softwares are becoming bigger and bigger, we need multiple library files to collaborate with each other, and we need to make sure they always have the compatible version. Without WinSxS, the system cannot have two "msvcp.dll" files with different versions in System32. Rather, they have to name them msvcp80.dll and msvcp90.dll respectively, which is not scalable solution.try take original wim of windows 7 or vista and check with whereisit how much dupes files in 64bit just 10% from it not dupesin 32bit case is much less 5-7% is not dupes check for ur selfI mean, WinSxS is not a bad solution, and it does not take extra space. I do not know how bad does Vista support hard links (since I never had problem with it), but removing dupe in WinSxS is not always good. Use it when you are sure you will not need those files.WinSxS is gr8 but why to all the files :| Edited August 26, 2009 by aviv00
joesi Posted February 12, 2011 Posted February 12, 2011 (edited) I tried using both winsxslite as well as this method by aviv00 to change a win7x64 install. (I dd this in an attempt to fix the 800+MB of file size that is added to my drive after installing 30 or so small windows updates.)for aviv00's, the program (whereisit) wasn't allowed to delete any of the files, even though I gave the command prompt commands and they executed successfully.for winsxslite, phase 1 didn't seem to work (kept saying "could not find file "c:\""), and while phase 2 scan seemed to work (it said it would change 800-900MB of stuff I think), it was let with some files that couldn't be reverted, and couldn't be replaced. If a reschedule was executed, then absolutely everything fubars up (almost no executable file will run in windows anymore).Even ignoring the few files it left stuck, the windows directory wasn't any smaller after the change. In fact, it was actually a bit larger.I am aware that these are both rather old, but have not heard of alternatives. I thought I'd let people know that this didn't work for me, and very likely wouldn't work for you (unless something is pointed out that i should do different of course). Edited February 12, 2011 by joesi
aviv00 Posted February 13, 2011 Author Posted February 13, 2011 use the old wimfilter so then u will be able to delete the fileselse u will have to takeown and permission
vinifera Posted April 27, 2011 Posted April 27, 2011 (edited) small bumpI managed to delete (with this method) only 200MB on w7 SP1 after the **** thing grew over 4GBso all in all not really worth itbut with SxS cleaner for 7SP1 it did remove ~2.5GB making SxS folder ~1.5GB in sizerebooted ok, CP with progs and features still works okonly didn't test win updatesstill In my opinion, removing only .net 3.5 with RT7lite is best solution as it shrinks WinSxS folder down to 800MB by default (atleast did to me/tested only in VM) Edited April 27, 2011 by vinifera
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now