SOLVED Reclaim Disk Space after Windows 7 SP1 install

Nibiru2012

Quick Scotty, beam me up!
Joined
Oct 27, 2009
Messages
4,955
Reaction score
1,302
From: The Windows Club 10-28-2010

When you install Windows 7 SP1 or Windows Server 2008 R2 SP1, it backs up all the files that it replaces. This is done so, if, should you choose to uninstall Service Pack 1 at any point of time, these backed up files are readily available.

However after a couple of weeks, if you are comfortable with SP1 and if you are sure that you will not need to uninstall SP1, then you may wish to consider removal of several 100 MB of such back up files and reclaim disk space.

To do so, open a command prompt with administrative privileges.

To remove the Service Pack backup files online, run the following command:

DISM /online /cleanup-Image /spsuperseded

To remove the Service Pack backup files from an offline image, run the following command:

DISM /image:<path_to_offline_image> /cleanup-Image /spsuperseded

The /spsuperseded option removes the backup files created during installation.
If you wish to simply hide the service pack from the list of installed updates without actually removing the files, use the /hidesp option.

Deployment Image Servicing & Management (DISM) is a new command line tool which was introduced in Windows 7 to manage a Windows image or prepare a Windows PE image.


SOURCE
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

This is what the "cmd" window looks like after running the "online" process described above.



It's peculiar in the fact that the "cmd" window shows "Microsoft-Windows-UltimateEdition" when I have Professional installed. :cool: :hmmmm2:
 
Last edited:
Joined
Mar 8, 2009
Messages
5,063
Reaction score
1,185
We shouldn't have to resort to such measures to remove BS leftovers from an install.

Microsoft, that is your mess, learn to clean it up.
 
Joined
Mar 8, 2009
Messages
5,063
Reaction score
1,185

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top