Reclaim Disk Space after Windows 7 SP1 install

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 months, if you are comfortable with SP1 and if you are sure that you will not need to uninstall the Service Pack, 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.

If you have liked this post, you might want to check out some more, on topics like , .

About AnandK@TWC

Anand aka HappyAndyK is an end-user Windows enthusiast, a Microsoft MVP in Windows Desktop Experience since 2007, and the Admin of TheWindowsClub.com, TheGeeksClub.com & WinVistaClub.com. Creating a System Restore Point before trying out a new software or a tweak is always recommended.

Ads

Random Posts

  • lyndon

    I believe you can also reclaim space using disk cleanup
    Choose: “cleanup system files” then select “Service pack backup files”.

© 2012 The Windows Club All Rights Reserved