[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 235
  • Last Modified:

winsxs folder for reclaiming space

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
jim3725
Asked:
jim3725
  • 4
  • 3
  • 2
5 Solutions
 
netcmhCommented:
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
 
jim3725Author Commented:
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
 
netcmhCommented:
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
Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

 
VB ITSSpecialist ConsultantCommented:
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
 
netcmhCommented:
Did not know that bit. Thanks VB ITS.
0
 
VB ITSSpecialist ConsultantCommented:
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
 
jim3725Author Commented:
both were helpful tips, I gained 6gb diskspace from cleanup
0
 
netcmhCommented:
Great! Good luck. Thanks for the grade.
0
 
VB ITSSpecialist ConsultantCommented:
Always nice to reclaim disk space on servers :)

Glad to have helped.
0

Featured Post

[Webinar] Kill tickets & tabs using PowerShell

Are you tired of cycling through the same browser tabs everyday to close the same repetitive tickets? In this webinar JumpCloud will show how you can leverage RESTful APIs to build your own PowerShell modules to kill tickets & tabs using the PowerShell command Invoke-RestMethod.

  • 4
  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now