Solved

winsxs folder for reclaiming space

Posted on 2014-12-16
9
202 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
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
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 
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

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

Suggested Solutions

Title # Comments Views Activity
Problem to search 5 42
Server 2012 R2 TLS 1.2? 2 40
Admin account lockout 10 39
Run Powershell Function as Scheduled Task with Parameters 1 23
New Windows 7 Installations take days for Windows-Updates to show up and install. This can easily be fixed. I have finally decided to write an article because this seems to get asked several times a day lately. This Article and the Links apply to…
This article explains how to install and use the NTBackup utility that comes with Windows Server.
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:…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…

776 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