Solved

winsxs folder for reclaiming space

Posted on 2014-12-16
9
200 Views
Last Modified: 2014-12-17
I have windows 2008R2 servers and windows 2008 standard. The c drive keeps getting low on space. I used a treesize free program to let me know folder sizes. The winsxs folder is the largest, which has folders manifest, MainifestCAche, temp,  and Backup, other x86_mircosoft-windows -? folders,. Which of these can be deleted, I shouldn't have to keep increasing the size of the C drive.
0
Comment
Question by:jim3725
  • 4
  • 3
  • 2
9 Comments
 
LVL 20

Assisted Solution

by:netcmh
netcmh earned 275 total points
Comment Utility
Do not delete manually. The ability to clean up the WinSxS directory and component store on Windows Server 2008 R2, an update is available. http://support.microsoft.com/kb/2852386

More at http://blogs.technet.com/b/askpfeplat/archive/2014/05/13/how-to-clean-up-the-winsxs-directory-and-free-up-disk-space-on-windows-server-2008-r2-with-new-update.aspx
0
 

Author Comment

by:jim3725
Comment Utility
This is very helpful info. The windows server 2008 r2 does not have windows cleanup within the system tools.
Is this a feature that needs to be installed
0
 
LVL 20

Assisted Solution

by:netcmh
netcmh earned 275 total points
Comment Utility
Yes, Disk Cleanup needs to be installed with the Desktop Experience feature.

Alternatively, you could use a script to automate the whole thing. TechNet Script Center: http://gallery.technet.microsoft.com/scriptcenter/CleanMgrexeKB2852386-83d7a1ae
0
 
LVL 24

Assisted Solution

by:VB ITS
VB ITS earned 225 total points
Comment Utility
There's no need to install the Desktop Experience feature to get access to the Disk Cleanup tool. You can simply copy over two files that already exists (funnily enough in the winsxs folder) to get access to the tool:

Copy cleanmgr.exe from C:\Windows\winsxs\amd64_microsoft-windows-cleanmgr_31bf3856ad364e35_6.1.7600.16385_none_c9392808773cd7da to %systemroot%\system32
Copy cleanmgr.exe.mui from C:\Windows\winsxs\amd64_microsoft-windows-cleanmgr.resources_31bf3856ad364e35_6.1.7600.16385_en-us_b9cb6194b257cc63 to  %systemroot%\system32\en-US

Now you can launch the Disk Cleanup tool by typing in cleanmgr.exe in an elevated Command Prompt window.
0
What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 
LVL 20

Assisted Solution

by:netcmh
netcmh earned 275 total points
Comment Utility
Did not know that bit. Thanks VB ITS.
0
 
LVL 24

Accepted Solution

by:
VB ITS earned 225 total points
Comment Utility
No worries netcmh, I only found this workaround because I am simply not a fan of having to install the entire Desktop Experience feature just to get access to the disk cleanup tool.
0
 

Author Closing Comment

by:jim3725
Comment Utility
both were helpful tips, I gained 6gb diskspace from cleanup
0
 
LVL 20

Expert Comment

by:netcmh
Comment Utility
Great! Good luck. Thanks for the grade.
0
 
LVL 24

Expert Comment

by:VB ITS
Comment Utility
Always nice to reclaim disk space on servers :)

Glad to have helped.
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

I have been working as System Administrators since 2003. I recently started working as a FreeLancer and was amazed to find out that very few people are taking full advantage of their Windows Server Machines. Microsoft Windows Server comes with so…
Normally after a failure of Domain Controller, when promoting new DC the DC is renamed, we will discuss the options in Dcpromo to re-create the DC with the same name. Scenario: You are a small IT shop with two Domain Controllers (Domain Contr…
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 the steps necessary to configure their installation of BackupExec 2012 to use network shared disk space. Verify that the path to the shared storage is valid and that data can be written to that location:…

763 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

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now