How to reduce size of C:\Windows\winsxs folder in windows 2008 R2?

Hello,
Is there any way to reduce size of C:\Windows\winsxs folder in windows 2008 R2
simular to 
DISM /online /Cleanup-Image /SpSuperseded
Many thanks

Okay maybe some background on the root of the problem would help.
Windows XP (and Windows 2000) used a fast and great mechanism called Hotfix Installer (Update.exe) to install updates. Updates installed in very little time. If you wanted to further reduce update times on Windows XP, you could just temporarily stop the
System Restore service and updates would install at crazy speeds. Note that this is not recommended for novice users who don't know advanced recovery methods, as some updates can sometimes cause your system to stop booting so you cannot even uninstall them.
The method the Hotfix Installer used was simple, it just installed a new version of files to be updated at %windir%\system32 and %windir%\system32\dllcache (the Windows File Protection cache). For files that were in use, a restart copied them from dllcache
to the system32 folder. This is simple file-based servicing. The hotfix installer (Update.exe) also supported various command line switches like /nobackup which means not to backup files it patches. Again, this is not recommended for novice users as some updates
can screw your system even after the comprehensive testing Microsoft does before releasing them. But if you won't be uninstalling any updates (usually one only requires uninstalling updates if they cause problems), you could save a ton of disk space by not
backing up the files it patched. The Hotfix Installer backed up files to C:\Windows\$Uninstall$KBxxxxxx folders so even if you did back up the files at install time, they could be safely deleted after a few days if no stability issues were found after using
Windows with the newest updates applied. Update.exe also supported the very important and convenient ability to slipstream a service pack or update into the original Windows setup files using the /s switch.    
When Microsoft was developing Windows Vista, they realized that components had gotten too many interdepencies on each other and to service each file reliably without breaking another component that relied on it, Microsoft introduced what they called as Component
Based Servicing (CBS). You can read all about it in a much more technical way at The Servicing Guy's blog. What CBS does basically is it installs all files of the entire operating system, including all languages into C:\Windows\WinSxS and then it hard-links
files from there to C:\Windows\system32. This has the benefit of not having to insert the OS disc to add or remove any components, and some other advantages as well like offline servicing of a Windows Vista or Windows 7 image. But the design introduces a major
disadvantage of taking up a lot of hard disk space. Whenever an update is installed, it no longer installs it to C:\Windows\system32 and C:\Windows\system32\dllcache like Windows XP's hotfix installer (Update.exe) did. Instead, it updates the files in C:\Windows\WinSxS.
Now, Windows keeps multiple copies of the same file but with different version in WinSxS if it is used by more than one Windows component. The higher the number of components, that many number of times the file exists in C:\Windows\WinSxS. When a Windows Vista
update (.MSU) is installed, the components get updated, each and every one, instead of the files and the worst part is it still maintains the older superseded previous versions of components in WinSxS so the user would be able to uninstall updates. Microsoft
does say that some sort of "scavenging" or deleting older copies of components takes place but is scarce on the details. The scavenging seems to take place automatically at certain intervals in Windows 7 but not in Windows Vista. In Windows Vista, you have
to add or remove any Windows component for the scavenging to take place. And Microsoft says the scavenging will free up some disk space but in practice, on my system, I see my free disk space only decreasing on Vista as I remove or add any component. Windows
does not give the user an option to not backup the earlier versions of components like Windows XP's /nobackup switch in Hotfix Installer did. As as you install more and more updates on your system, they will take more and more disk space. This is one of the
primary reasons Windows Vista and Windows 7 are so bloated. Another reason for them being so bloated is the DriverStore that these OSes store. All drivers that are shipped with the OS and the OEM ones which you download and which are installed for a particular
system are staged in C:\Windows\System32\DriverStore. But let's not go there for now.
Now, an important thing to note is that the size of the WinSxS folder is not what Explorer or the dir command report, it is far less but is misreported by Explorer because it counts the hard links more than once when calculating size. That does not mean,
the size of WinSxS is not causing real-world disk space problems on numerous Windows Vista/7 systems in use today. Microsoft's ingenious recommendation to this problem of ever growing disk consumption is to install fewer updates to keep the size of the servicing
store under control. Of course, users cannot deny installing security updates and leave their system open to security holes. What they can do is install less optional updates, the ones that Microsoft releases on the fourth Tuesday of every month and also install
less of the hotfixes that are available by request from a Knowledge Base article. In short, you have to trade the number of bugs fixed in the OS by installing hotfixes at the cost of enormous amounts of disk space. The whole servicing stack is a total downgrade
to Windows XP's update.exe method. It causes heavy disk thrashing and slow logoffs/logons while Windows configures these updates at the Welcome Screen. Many systems are unable to boot because of failed updates. Another disadvantage of the "new" servicing stack
(and the redesigned Setup mechanism of Windows Vista) is the inability to do a true slipstream of service packs and hotfixes.
The time it takes to actually install these hotfixes online compared to Windows XP is also completely unacceptable. When you start installing an MSU update, it spends a lot of time determining whether the update applies to your system. Then, the update itself
takes much longer to install compared to Windows XP's Update.exe (hours instead of minutes if you are installing dozens of updates through a script). Finally, that post-installation process ("Configuring updates... Do not turn off your computer") takes several
minutes before shut down followed by a second post-installation process (configuration) upon restart before logon that also takes also several minutes and thrashes the disk.
I can install the entire SP3 for Windows XP in about 10 minutes after downloading the full installer. I can also install a slipstreamed-with-SP3 copy of Windows XP is about 45 minutes on a modern fast PC. In contrast, Windows Vista or Windows 7 do install
relatively quickly (in just about 15-20 minutes) on a modern PC but installing the service packs and updates takes more time than anything on XP did. Not only can service packs not be slipstreamed, but Vista Service Packs are not even cumulative, which means
if you clean install Windows Vista today, you have to install SP1 first which takes about 90 minutes, then SP2 which takes less time, then all the post-SP2 updates which do take hours to install. If you really HAVE to use Windows 7 or Windows Vista, you are
stuck with this slow update non-sense as Microsoft does not even acknowledge that there is any slowdown or loss of functionality in the new servicing mechanism. The fact remains: MSU updates are slow as **** and take too much time and as Windows 7/Vista get
older and Microsoft stops producing service packs, a clean install is going to take longer and longer to bring it up-to-date with all patches installed. Is is worth wasting your time on an OS whose servicing mechanism Microsoft completely screwed up? I once
again recommend you read more about the servicing stack and how it operates at The Servicing Guy's blog:http://blogs.technet.com/b/joscon/. To fix this messed up servicing stack, Microsoft also offers a tool
called CheckSUR for your system if it finds “inconsistencies in the servicing store”.
Microsoft's Windows Vista and Windows 7 products are not engineered with disk space in mind. It causes a problem, especially for SSDs which are still low capacity and very expensive. The only hope is that Microsoft again completely redesigns this servicing
mechanism in a future Windows release so it would not cause this growing disk space consumption issue, speed up installation of updates by an order of magnitude, not slow down logon and logoff, not prevent systems becoming unusable because of failed updates
being stuck at a particular stage and allow true slipstreaming.
Microsoft's response to this is vague - they simply state "Windows 7's servicing is more reliable than Windows XP" but they cannot acknowledge it is a million times slower and still unreliable...slow to the point of being unusable and sometimes leaving systems
in an unbootable damaged state. Of course they know all this too but can't admit it since it makes their latest OSes look poor. Moving from a very simple and fast update mechanism that worked to a complex one that requires endless “configuring” and repair
through CheckSUR is a product engineering defect.
Take a look at servicing-related complaints in Microsoft's own forums:
1.
Very slow install of updates to Windows 7
2.
Windows 7 - Updates are very slow
3.
Windows 7 Ultimate, it takes long time configuring updates
4.
"Preparing To Configure Windows. Please Do Not Turn Off Your Computer"
5.
Very slow update install at shutdown (Windows 7 Home Premium)
6.
Why does my computer run so slow when installing updates?
7.
Every time the computer is shut down, it always says installing update do not turn off your computer
8.
Computer is working slow and wants to do windows updates all the time
9.
Windows 7 Update install time taking a very long time
10.
Windows wants to install 6 updates every time I log off or put the computer in sleep mode
11.
Problem In Configuring Windows Updates at the time of Startup
12.
Computer really slow after latest updates
13.
Windows hangs up in "configuring updates"
14.
Why can't windows 7 install updates?
15.
Every time computer is shut down, receive Installing updates, do not shut off....
16.
How long does it take for the Windows 7 Home Premium updates take?
17.
Windows 7 "Installing Update 2 of 2" for 12 hours now
18.
Updates causes endless reboots
19.
Updates stuck installing for over 24 hrs. Computer does not boot
20.
Cannot load Windows 7 after installing 2 critical updates
A proper solution to this problem would be to completely re-engineer and rewrite the servicing mechanism so it operates with the speed, reliability and pain-free operation of the XP servicing mechanism.
I don't see this situation improving in Windows 8 either. Good luck with your Windows tablet taking hours to install service packs and updates. Now, do iPads take that long to install updates?
Microsoft understated the real system requirements to keep a Windows 7/Vista system running. System requirements at install time may be 15 GB of free disk space but over time, this number increases to alarming levels as you install more service packs and
post SP-updates. You can find out the real size of the WinSxS folder using a tool like cttruesize (ctts.exe) (download it from
http://www.heise.de/software/download/cttruesize/50272 and run ctts -la -a -l C:\Windows to find the correct size minus the hard links which MS says causes Explorer to misreport the WinSxS
folder size but the fact remains that even with the correctly calculated size of WinSxS, the disk space requirements of Windows 7 to keep it updated are unacceptable, especially for people's SSDs which are running out of disk space!

Similar Messages

  • How to reduce size pdf file with 10.5.8

    How to reduce size pdf file with 10.5.8, I know it can be done with snow....

    Look at this link.
    https://discussions.apple.com/thread/1292868?start=0&tstart=0
     Cheers, Tom

  • How to reduce size of the executables

    Colleagues,
    I just would like to share small tip, which may be useful for someone else.
    Sometimes size of LabVIEW - based executable is pretty big (especially if you have placed arrays or graphic on the front panel, then set values as default, etc). Time to time we have discussed - how to reduce size of the builded executable. One possible soultion is open source Ultimate Packer for eXecutables - UPX and it seems to be OK for LabVIEW - based apps. Also command line arguments passed correctly.
    For example, Vision Assistant (which is LabVIEW-written itself) packed from 7 MB to 5 MB and works.
    with best regards,
    Andrey.

    In the days of <$100 1TB HDs and 20mbps FIOS, this seems less and less of a real problem that needs to be solved.  
    I am curious if this works also with older LabVIEW executables. Many years ago I was beta testing a similar utility and it would break LabVIEW executables. They were able to work around it but the compression benefit was less.
    Just curious. 
    From the UPX documentation:
    "Obviously UPX won't work with executables that want to read data from themselves"
    LabVIEW Champion . Do more with less code and in less time .

  • How to reduce size or compress PDF files?

    Hi guys,
    Does someone knows if there is a way  to reduce the size of the PDF file with good quality even on Pictures and Scanned documents? I know the option 'export', 'quartz filter' 'reduce size', but the compression is so extrem. Many files can't not been read, the quality is so bad. Is there a additional app, software or extension that let the user play with the compression on pdf files and let it be more personalized like the dopdf V7 available for windows? i am very dissapointed with this. Please help or suggestion. I will appreciate it. Thanks

    I have used the excellent PDF Toolkit app for a while, and its preformed well. Occassionaly it makes the document into a negative image...which Im noyt sure why...
    Mathishk, im trying your online version out, and am impressed and admire the fact that you have done this.
    Well done. 
    A TRICK i use often. Once all hires images are on the designed document - and its coming in at 15-20mb, just change the link to the images so they are 'missing' then make a pdf.
    i.e 'Hi Res images' to HRes images - old'
    The screen resolution of images is still great, but file comes in at fraction of the size.
    You 'trick' the document to use screen images only. So my 18mb file comes in as 5.2mb.
    Just remember to change the images folder name back, so files relink.
    Andy

  • File size augments after editing a form? How to reduce size?

    Hello,
    I have been building a form and found that the size of my file grew after I made 'edits' onto (ie:  changing the wording of the original form scanned onto Acrobat Pro X, changing the font colour some letters etc.)
    Question 1:  Is this normal?
    Question 2: How to reduce the size of the file? (I am aware of the option that I could save the pdf into a version that's higher (by selecting anything between 6 to 10) and that would reduce the size of the pdf.
    BUT, I also learned that if the end-user, who will receive my form and fill it in, do not have that particular version that I've saved it to, then s/he could not fill in the form!!
    Is there a solution to my problem? Please help!
    *I am using Acrobat Pro X.

    Thank you all for your responses!
    Yes, I always save my file as PDF.   Just not reduced its size by saving it to a particular version.
    to 'Test Screen Name', there is a misunderstanding on option 2.  I referred to it so that I can save the file into a version like version 8.0 or higher.  But, I understood from earlier discussions in the forum here, that people may still have earlier versions of reader (ie 6.0 or lower?) and so that's why I suggested having a link for download.
    Even with that, I don't know how savvy my end-users may be to download.  I 've had problems where people read my file using Apple and that caused problems.

  • How to reduce size of image without loss quality

    I am website developer design a website http://www.ritikakaur.com/ in wordpress php i am new in photoshop and i want to use some image plz suggest me how can i reduce size of image without loss of image quality.

    Which file formats are eligible for your purposes?
    non-destructive compression has limits, so you may have to compromise.

  • How to Reduce size of Data Markers

    Hi,
    I created a "Line Chart" and it has just 2 measures , so there are two lines. There are 33 charts and each page has one chart. I enabled data markers. The markers are too big as the height of chart is more and how to reduce the size of the markers. I reduced height of chart then markers size becomes less. But We want the chart to occupy entire page but marker size should be little smaller. Is this possible.
    BR, Nanda Kishore

    hi Nanda Kishore,
    As per my knowledge, it is not possible in WEBI as there is no control/setting on the size of data markers of Chart unlike Crystal.
    Regards,
    Vamsee

  • How to reduce size of pics saved in iPhoto?

    How do i reduce the size of a pic that is already saved in iphoto?

    You can't. iPhoto is specifically designed to protect your original photo. You cannot change it in any way.
    If you want a reduced size for use somewhere else - to upload to a website or similar - then you can reduce the size on Export, using the File -> Export command.
    This User Tip
    https://discussions.apple.com/docs/DOC-4921
    has details of the options in the Export dialogue.

  • How to reduce size of AW Space?

    Hi,
    I want to reduce size of AW Space. It means size of BLOB in tablespace.
    1) My AW Space have 60 GB
    2) I have deleted all of variables data
    but AW Space (used space of tablespace) is still 60 GB.
    Is it possible to reduce its size.
    Thanks Vasek.

    Its probably retaining the space used by the largest variable that you had.
    Try the following trick:
    Do the following:
    AW attach rwx
    make a trivial change such as make a change to a scalar variable you’ve created
    e.g.
    define my_var variable int
    my_var = 1
    Update
    Commit;
    my_var=2
    Update
    commit;
    If this is 10g you don't need to do the last 3 steps (ie the second change).

  • How to reduce size of image in Selection Screen

    Hi all
    I am trying to add an image in Selection screen and i want to reduce size of image .
    Please help me asap.
    Thanks & Regards
    Shaveta

    Hi Prashat
    I tried by reducing the size of container , But scroll bars appears automatically .
    The size of Picture remains same .
    Please tell me if there is any option to fix the size of container ... so that picture reduces its size automatically .
    Thanks & Regards
    Shaveta

  • How to reduced size of PNG images

    size of my application is increases because I used PNG images . Is there any way to compress the PNG images size which will help me to reduce the size of application

    Did you try to save all PNG files in the big PNG file?
    This can help you to reduce size of file header of multiple PNG file.
    however this coz you to change display PNG file process by
    cut from big PNG file instead of read and show from each multiple file.

  • Cleanup WinSxS folder of Windows 7 Sp1

    Microsoft released an update to cleanup WinSxS.
    Go this this KB article and install the update:
    Update is available that enables you to delete outdated Windows updates by using a new option in the Disk Cleanup wizard in Windows 7 SP1
    http://support.microsoft.com/kb/2852386
    When you now launch the disk cleanup (as admin) you get an option "Windows Update Cleanup":
    Click ok to start cleanup. now you must reboot Windows 7. After the reboot you get a screen which shows you that cleanup happens:
    You can get more information here:
    Breaking News! Reduce the size of the WinSxS Directory and Free up Disk Space with a New Update for Windows 7 SP1 Clients
    http://blogs.technet.com/b/askpfeplat/archive/2013/10/08/breaking-news-reduce-the-size-of-the-winsxs-directory-and-free-up-disk-space-with-a-new-update-for-windows-7-sp1-clients.aspx
    "A programmer is just a tool which converts caffeine into code"

    Horinius - you have to reboot for the clean up to occur. WHen I did, it cleaned up the amount of disk space that the Cleanup manager said, but my winsxs folder had about 8 GB more, most of which is files and folder that at 3+ years old. My theory is that
    this is garbage that my IT department left behind when they build the standard image.
    Anyone know how to delete the rest of the trash in WinSxS?
    Of course we have to reboot for the clean up.  Did I say we didn't have to?
    If you want to do the "Windows Update cleanup" (as specified in the original post), there's no need to use this "Cleanup manager".  You just need to open "C:\Windows\SoftwareDistribution\Download" and delete everything inside it.
    Please read carefully my posts before commenting.

  • WinSxs folder in Windows 7 deployment

    Hi
    I know the topic of the size of the Winsxs has been done to death a bit but I wonder if anyone can help me.
    I've installed a fresh copy of Windows 7 64 bit SP1 from an ISO.
    Without installing any updates or any applications the Winsxs folder is 5.5GB.
    I've run disk cleanup and it doesn't make any significant difference.
    Running 
    DISM /online /cleanup-image /spsuperseded /hidesp 
    gives the message
    Service Pack Cleanup can't proceed: No service pack backup files were found. 
    does anyone know a way to install Windows 7 without starting out with such a large WinSXS folder?

    Hi,
    I consider 5.5 GB is not too big size for this folder. The component store (WinSxS folder) contains all the components that make-up Windows to allow you operate your system. These components are kept to rollback any problematic change or to repair a file
    that becomes corrupted.
    For operating system files, it can appear that more than one copy of the same version of a file is stored in more than one place on the operating system, but there’s usually only one real copy of the file. The rest of the copies are just “projected” by hard
    linking from the component store. A hard link is a file system object that lets two files refer to the same location on disk. Some tools, such as the File Explorer, determine the size of directories without taking into account that the contained files
    might be hard linked. This might lead you to think that the WinSxS folder takes up more disk space than it really does.
    This blog could be referred:
    Breaking News! Reduce the size of the WinSxS Directory and Free up Disk Space with a New Update for Windows 7 SP1 Clients
    http://blogs.technet.com/b/askpfeplat/archive/2013/10/07/breaking-news-reduce-the-size-of-the-winsxs-directory-and-free-up-disk-space-with-a-new-update-for-windows-7-sp1-clients.aspx
    Karen Hu
    TechNet Community Support

  • How do I move web addresses from a folder in windows explorer into a bookmark folder

    I have folder of favorites (urls) from IE in a folder in Windows Explorer. I created a new bookmarks folder. how do I move these urls into the new bookmarks folder?

    See the following article.
    * [[Import Bookmarks from Internet Explorer]]
    In case of problems, first export your bookmarks in Internet Explorer as an HTML file, then import them in Firefox from the HTML file.
    * [http://windows.microsoft.com/en-US/internet-explorer/add-view-organize-favorites Add to, view, and organize favorites | Microsoft Support]
    * [[Import Bookmarks from a HTML file|Import Bookmarks from an HTML file | Mozilla Support]]

  • How to reduce size of spelling and grammar window in Mail

    In Mail, the spelling and grammar window that pops up for correction when an email is sent is the size of the entire screen.  How do I shrink it to allow the drafted email to show as corrections are proposed?

    Hi Prashat
    I tried by reducing the size of container , But scroll bars appears automatically .
    The size of Picture remains same .
    Please tell me if there is any option to fix the size of container ... so that picture reduces its size automatically .
    Thanks & Regards
    Shaveta

Maybe you are looking for

  • Batch consingment to own

    hello, we want to batch convert consignment stock to own stock. who know this program? thanks.

  • Child value is not updated?

    Private Sub SBO_Application_ItemEvent(ByVal FormUID As String, ByRef pVal As SAPbouiCOM.ItemEvent, ByRef BubbleEvent As Boolean) Handles SBO_Application.ItemEvent         Dim i As Integer         Dim sumdepth As Decimal = 0         Dim oForm As SAPbo

  • Read external XML stream into a field

    Hello all - I have been trying to get this working for a week now and still no luck. It seems like it's possible to find field values to external XML file, but Acrobat tries to parse the XML and be smart about it. I have a custom form logic that need

  • PC not detecting my Nomad MuVo

    I was pasing a music file and it froze, when I rebooted and tryed to verify if all my music was still in it just didnt detect it and have tryed to use it on other computers and have had no luck. I can still use it for listening to music but I andt co

  • Advice on displaying XML Data

    Hello everyone! I am somewhat stuck on building a specific layout in AS3 with data coming from an XML file. And I really didn't expect any problems with layout in Flash. A while ago I built a Flex banner, but due to performance and size issues I want