Home > Cloud > Windows 2008R2 running out of disk space?

Windows 2008R2 running out of disk space?

One of the fun parts about keeping up my own lab is being able to be my on sysadmin. This posting is as a reminder to myself of how to fix this problem with out having to use a search engine to find the command line below. Yesterday a few VMs that I maintain for ongoing support reasons, ran out of disk space on the C drive, that is running Windows 2008 R2. Naturally the WinSxS folder was huge, so I found the following command line to get rid of some of the extra fluff in that folder that maintains hot fixes downloaded from Microsoft. This not intended to be an all about post for DISM as there are better resources for that, if you are not sure what this utility does please use your favorite search engine to learn more about what this utility does. After Running DISM you will not be able to uninstall Service Pack 1 anymore on Windows 2008 R2.

From an elevated command prompt issue the following command:

DISM.exe /online /Cleanup-Image /spsuperseded

If I create another gold Windows 2008 R2 image to run VMs on I’ll run this command to make the master image smaller. SCORE!

Advertisements
Categories: Cloud Tags:
  1. March 9, 2014 at 10:48 pm

    As an enthusiast of information technology encourage all people interested in IT at my blog.
    Drawing of events professional describe I control as well as I practice multipurpose
    type equipment – beginning by with mobile phones, on very HP
    servers, IMB or Cisco. Good relations with distributors accesses give me to
    power gear lot before the premiere.

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: