Solved

Reduce size of Winsxs on Server 2008 SP1

Posted on 2016-10-13
11
36 Views
Last Modified: 2016-11-03
I know this has been asked many times, but I'm hoping there is an answer. We have a Windows 2008 SP1 server with a completely full 40GB C drive and a 13GB winsxs folder. Going to be replacing the server soon, so just need to buy a few GB to get it by until then.

Is there any way to safely shrink that folder on pre R2 versions of Windows 2008 servers? The disk cleanup options mentioned all over the place all refer to R2 as far as I have seen.

Thanks for any advice
0
Comment
Question by:willp2
  • 2
  • 2
  • 2
  • +5
11 Comments
 
LVL 92

Accepted Solution

by:
John Hurst earned 250 total points (awarded by participants)
ID: 41842702
The system is normal size and you should definitely not tamper with it.

40 GB is NOT enough space for server operating system. You need to (must) back up, get a bigger disk and restore the system onto a bigger disk.

If you have Server Desktop Experience installed, you can run Disk Cleanup (Admin tools) and when it comes up, select Clean up System files.  Restart after that. That may give you one or two GB to get by on.
0
 
LVL 29

Assisted Solution

by:ScottCha
ScottCha earned 250 total points (awarded by participants)
ID: 41842729
Other than the regular disk clean-up,  no, there is no way to shrink this.  If you try to do it manually, you risk corrupted your OS install and completely ruining your server.

About the only thing I can think of for you to try is move the pagefile to another drive if that hasn't been already done.
0
 
LVL 88

Expert Comment

by:rindi
ID: 41842773
No. For Pre 2008 r2 you can't reduce the size of the WinSXS folder.
0
 
LVL 7

Expert Comment

by:Senior IT System Engineer
ID: 41842776
Use the below batch script to cleanup after every windows update.

REM Windows Server 2012 and above: 
Dism /Online /Cleanup-Image /StartComponentCleanup /ResetBase

REM Windows Server 2008 R2: 
Dism /Online /Cleanup-Image /SPSuperseded

Open in new window

0
 
LVL 1

Author Comment

by:willp2
ID: 41842836
Thanks for the comments so far. I am aware that I shouldn't tamper with it and that the drive is too small. That's why I'm here. It's a RAID array, so we can't reasonably swap drives and I'm not willing to repartition the drive at this time.

We've done things like disk cleanup, move swap files, point some temp files to other drives, reinstall apps on other drives. But there's just so much you can do when about half the drive is taken up by the  WinSxS and SysWOW64 folders
0
Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

 
LVL 78

Expert Comment

by:David Johnson, CD, MVP
ID: 41842923
Then you are between a rock and a hard place. Your only option is to increase the storage space and you don't want to do that, so basically you're stuck
0
 
LVL 91

Expert Comment

by:nobus
ID: 41843107
check what's on the drive for any software - or parts that can be deleted
treesize shows the disk size for each : http://www.jam-software.com/treesize/?language=EN&pk_campaign=AdWords&pk_kwd=TreeSize%20Pro_EN
0
 
LVL 1

Author Comment

by:willp2
ID: 41843953
OK, thanks for the comments
0
 
LVL 91

Expert Comment

by:nobus
ID: 41844672
you can Always look for tmp, or temp files and folders to delete
also look for old - not used software anymore - and uninstall it
0
 

Expert Comment

by:Dhanraj Pratap
ID: 41844734
I run TFC.exe

It sure gives me couple of GBs.

Make sure users are not logged in.

If they are working on Excel, Word etc.... the user will not be able to save changes to their files as the temp files are flushed out by TFC.

Also be aware, it may ask for a system reboot.

But a useful program.
0
 
LVL 29

Expert Comment

by:ScottCha
ID: 41871793
First two solutions answered the question.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

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…
When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup" or a blinking cursor with black screen. A loop for Auto repair will start but fix nothing.  You will be panic as there are no back…
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…

920 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

16 Experts available now in Live!

Get 1:1 Help Now