Windows 7 SP1 Disk Cleanup Tool

Page 1 of 7 123 ... LastLast
    Windows 7 SP1 Disk Cleanup Tool

    Windows 7 SP1 Disk Cleanup Tool

    How Use the Windows 7 SP1 Disk Cleanup Tool to Recover Lost Disk Space
    Published by
    Designer Media Ltd


    How Use the Windows 7 SP1 Disk Cleanup Tool

       Information
    This will show you how to run the Windows 7 SP1 cleanup tool to permanently remove the backed up files created during the installation of the Windows 7 SP1 to gain back more hard drive space, and remove the Service Pack for Microsoft Windows (KB976932) entry in Installed Updates.

    You must be logged in as an administrator to be able to do this tutorial.

       Note
    The Windows 7 SP1 disk cleanup tool gave me back around 1.5 GB on my hard drive. This amount may vary on your computer.

    To see how much space you recovered, make a note of how much free space you have on the C:/ drive in Computer before and after you run the Windows 7 SP1 cleanup tool. Afterwards, please post and let us know how much space you have recovered.
       Warning
    It is recommended to wait about a week after installing SP1 to see how your Windows 7 is running with SP1 installed before deleting the SP1 backups as in the tutorial below. This way if you discover a issue, you will still have the option to uninstall SP1 if need be.

    Once you delete the SP1 backup files, you will no longer be able to uninstall the Windows 7 SP1 afterwards. The only option would be a clean install or custom install.






    OPTION ONE

    Delete Windows 7 SP1 Backup Files Using Disk Cleanup

    1. Open Disk Cleanup.

    2. Select the drive (ex: C: ) that your Windows 7 is installed on, and click on OK. (see screenshot below)
    Windows 7 SP1 Disk Cleanup Tool-step1.jpg
    3. Click on the Clean up system files button. (see screenshot below)
    Windows 7 SP1 Disk Cleanup Tool-step-2.jpg
    4. If prompted by UAC, then click on Yes.

    5. Select the drive (ex: C: ) that your Windows 7 is installed on, and click on OK. (see screenshot below)
    Windows 7 SP1 Disk Cleanup Tool-step1.jpg
    6. Check the Service Pack Backup Files box and click on OK. (see screenshot below)
    Windows 7 SP1 Disk Cleanup Tool-step3.jpg
    7. Click on Delete Files. (see screenshot below)
    Windows 7 SP1 Disk Cleanup Tool-step4.jpg
    8. The SP1 backup files will now be deleted. You will now no longer be able to uninstall the Windows 7 SP1, but have gained around 1 GB of hard drive space back.





    OPTION TWO

    Delete Windows 7 SP1 Backup Files Using a Elevated Command Prompt

    1. Open a elevated command prompt (Run as administrator).

    2. In the elevated command prompt, copy and paste the command below and press enter. (see screenshot below)
    dism /online /cleanup-image /spsuperseded /hidesp

    Windows 7 SP1 Disk Cleanup Tool-cmd.jpg
    3. After a few moments, you will see the The Operation completed successfully message. (see screenshot above)

    4. Close the elevated command prompt. You will now no longer be able to uninstall the Windows 7 SP1, but have gained around 1 GB of hard drive space back.



    OPTION THREE

    Delete Windows 7 SP1 Backup Files Using a Command Prompt at Boot


    NOTE: This option will also work on a slipstream Windows 7 SP1 installation at boot.
    1. Open a command prompt at boot. (click on link for how)

    2. To Verify the Windows 7 Drive Letter at Boot
    NOTE: This needs to be done since the Windows 7 drive letter may not be C: if you have the 100 MB System Reserver partition created during installation, or if you multiboot with more than one operating system.
    A) In the command prompt, type diskpart and press Enter. (see screenshot below)

    B) In the command prompt, type list volume and press Enter.

    C) Make note of the drive letter (ex: D ) that you have Windows 7 installed on.
    NOTE: It helps to look at the drive size and label to help ID the Windows 7 partition/drive.

    D) In the command prompt, type exit and press Enter.
    Windows 7 SP1 Disk Cleanup Tool-slipstream-1.jpg
    E) Continue on to step 3.
    3. To Delete the Windows 7 SP1 Backup Files at Boot
    A) In the command prompt, type the command below and press Enter. (see screenshot below)
    NOTE: Substitute D: in the command below with the drive letter of your Windows 7 from step 2C above instead.
    Code:
    dism /image:D: /cleanup-image /spsuperseded /hidesp
    Windows 7 SP1 Disk Cleanup Tool-slipstream-2.jpg
    B) After a few moments, you will see the The Operation completed successfully message. (see screenshot above)

    C) Close the command prompt window, and restart the computer. You will now no longer be able to uninstall the Windows 7 SP1, but have gained around 1 GB of hard drive space back.
    That's it,
    Shawn










  1. Posts : 851
    Windows 8 Professional x64
       #1

    you mean to say that after using this command ,once the final SP is installed it can`t be uninstalled rite?
      My Computer


  2. Posts : 70,190
    64-bit Windows 10 Pro
    Thread Starter
       #2

    Hello Bagavan,

    Correct. When you install the final Windows 7 SP1 and do the tutorial to delete it's backup files to save space, you will then no longer be able to uninstall the Windows 7 SP1 without having to do a clean install first.

    It's a trade off to gain about 1.5 GB of HDD space back since most people do not ever plan on uninstalling a service pack anyways.
      My Computer


  3. Posts : 48,214
    Windows 11 Workstation x64
       #3

    Works fine with SP1 final.
      My Computers


  4. Posts : 7,681
    Windows 10 Pro
       #4

    Is SP1 final released?
      My Computer


  5. Posts : 8,383
    Windows 10 Pro x64, Arch Linux
       #5

    sygnus21 said:
    Is SP1 final released?
    Yes, but not officially, you can already obtain the final version from some sources
      My Computer


  6. Posts : 7,681
    Windows 10 Pro
       #6

    Yeah I see. I'll wait.

    Thanks.
      My Computer


  7. Posts : 14
    Windows 7 32 bit
       #7

    It did not work for me and I got the following information after the attempt.

    Any help appreciated.



    Microsoft Windows [Version 6.1.7601]
    Copyright (c) 2009 Microsoft Corporation. All rights reserved.

    C:\Windows\system32>dism /online /cleanup-image /spsuperseded

    Deployment Image Servicing and Management tool
    Version: 6.1.7600.16385

    Image Version: 6.1.7601.17514

    Removing backup files created during service pack installation.

    Error: 0x80042302

    DISM failed. No operation was performed.
    For more information, review the log file.

    The DISM log file can be found at C:\Windows\Logs\DISM\dism.log

    C:\Windows\system32>
      My Computer


  8. Posts : 70,190
    64-bit Windows 10 Pro
    Thread Starter
       #8

    Hello Midgo,

    Could you post back a copy of the contents of the C:\Windows\Logs\DISM\dism.log file? This will help us determine why it may have failed.

    It's only a text file, so you should be able to open in Notepad and copy and paste the content into your post. :)
      My Computer


  9. Posts : 3,302
    Windows 7 Home Premium x64 SP1
       #9

    Hi all

    Can someone take a look at this cmd window ant tell me if this is correct.Im concerned that it mentions "removing ultimate edition" i have home premium.
    Last edited by xxxdannyxxx; 15 Apr 2011 at 07:45.
      My Computer


 
Page 1 of 7 123 ... LastLast

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 07:00.
Find Us