Solved

Windows 2008 - c:\windows\winsxs?

Posted on 2011-02-22
4
11,292 Views
Last Modified: 2012-05-11
Hi.

We have a server running Windows Server 2008 SP2 that is running out of space... I found out that the folder c:\windows\winsxs uses 12 GB and c:\windows\installer usees 6 GB... What are these folder for? And can I free up some of that space they are using?

The server is running WSUS 3, SCCM 2007 and nothing else.
0
Comment
Question by:Sum Wum
4 Comments
 
LVL 52

Assisted Solution

by:Carl Tawn
Carl Tawn earned 167 total points
ID: 34951341
It is the folder that allows different versions of DLL's to run side-by-side, and it is generally best to leave it alone.

Further reading:

    http://www.ghacks.net/2010/07/24/the-winsxs-folder-explained/
0
 
LVL 59

Assisted Solution

by:Darius Ghassem
Darius Ghassem earned 166 total points
ID: 34952322
0
 
LVL 7

Accepted Solution

by:
CSI-Windows earned 167 total points
ID: 34955725
C:\Windows\Installer is the cached files for the windows installer service.  Any .MSI files in there (with randomized names) are used for uninstall.  As of version 6.1 of the kernel  (Windows 7, Server 2008 R2) the ENTIRE MSI file is cached here.  This is done ONLY to avoid an unsigned uninstall prompt.

Here is a possible way to reduce the files in there, but please test it first as I've never done this myself.

1

Find a  huge .MSI in c:\windows\installer.

2

Run "MSIEXEC /A <name>.msi"  Where <name> is the random name it had in the cache.  

3

It will prompt for an extract location.  Point it to a location OFF the machine where there is roughly twice the space of the size of the .MSI. (e.g. "\\otherserver\share\tempextract")

4

When it is complete, look at the root of the location you extracted to for a MUCH smaller copy of the .MSI file. (e.g. "\\otherserver\share\tempextract")

5

Rename the one in the cache (in case this does not work).

6

Copy the smaller file into the cache (must have the same name it had before).

7

Test the product uninstall - if the uninstall starts up properly, then the smaller copy with *PROBABLY* work fine.  

8

If you really want to make absolutely sure before doing this with other cached .MSI files - then you should do a full uninstall of at least one product.

9

If you do not want the cache filling up like this in the future, always perform an administrative install of the product before (msiexec /a) before installing it on the server.

10

Delete the renamed file in the cache (in future operations you can simply overwrite it when copying back)

11

Delete the temporary extract location. (e.g. "\\otherserver\share\tempextract")
0
 
LVL 1

Author Comment

by:Sum Wum
ID: 34958459
Okay thanks for the answers... I'll leave them as they are... We moved our page-file to another partition and found 5 GB logs, so now we have 12 GB free disk space instead of 500 MB...
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

We recently had an issue where out of nowhere, end users started indicating that their logins to our terminal server were just showing a "blank screen." After checking the usual suspects -- profiles, shell=explorer.exe in the registry, userinit.exe,…
Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
This tutorial will walk an individual through locating and launching the BEUtility application and how to execute it on the appropriate database. Log onto the server running the Backup Exec database. In a larger environment, this would generally be …
This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…

786 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question