Solved

winsxs folder for reclaiming space

Posted on 2014-12-16
9
208 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
  • 2
9 Comments
 
LVL 20

Assisted Solution

by:netcmh
netcmh earned 275 total points
ID: 40503455
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
ID: 40503507
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
ID: 40503510
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
Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

 
LVL 24

Assisted Solution

by:VB ITS
VB ITS earned 225 total points
ID: 40503584
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
 
LVL 20

Assisted Solution

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

Accepted Solution

by:
VB ITS earned 225 total points
ID: 40503655
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
ID: 40503759
both were helpful tips, I gained 6gb diskspace from cleanup
0
 
LVL 20

Expert Comment

by:netcmh
ID: 40504668
Great! Good luck. Thanks for the grade.
0
 
LVL 24

Expert Comment

by:VB ITS
ID: 40504682
Always nice to reclaim disk space on servers :)

Glad to have helped.
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

Suggested Solutions

The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
A safe way to clean winsxs folder from your windows server 2008 R2 editions
This tutorial will give a an overview on how to deploy remote agents in Backup Exec 2012 to new servers. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as connecting to a remote Back…
This tutorial will walk an individual through locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…

734 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