SP2 Disk Cleanup Tool

How to Use the Vista SP2 Disk Cleanup Tool

information   Information
This will show you how to run the Vista SP2 Cleanup tool to permanently remove the Vista RTM and SP1 backed up files created during the installion of the Vista SP2 to gain more hard drive space.
warning   Warning
Running the Windows Vista Service Pack 2 Disk Clean-up tool permanently removes the ability to uninstall the Vista SP1 and SP2. Do not run this tool unless you have no plans of uninstalling the Vista SP1 or SP2 and just want to save or regain hard drive space. The only option to remove them after using this tool is to do a clean install of Vista.
Note   Note
To see how much space you recover, make a note of how much free space you have on the C:/ drive in Computer before and after you run the SP2 Cleanup Tool.

It appears that most people are gaining on average 1GB of space back afterwards. :)




Here's How:
2. In the elevated command prompt, type compcln.exe and then press Enter. (See screenshot below)​
3. Type Y when you see Would you like to continue? and press Enter.​
NOTE: Tying N will cancel running the Vista SP2 disk cleanup tool. You can also just close the command prompt window to cancel to.​
Command.jpg

4. It will take a little bit to finish. When it is finished, you will see the Windows Component Clean completed message. (See screenshot above)​
NOTE: You will see the Windows Component Clean was already run on this install message instead if you already ran this or installes Vista with a Vista installation disc that included SP2 with it.​
5. When it's done, you can close the elevated command prompt.​
6. Now, you just need to let all of us know how much space the tool cleared and saved for you. ;)
NOTE: I would happily tell you mine, but I have a Vista installation DVD that already includes the SP1 and SP2, so I have not backup files to clean up.​
That's it,
Shawn


 

Attachments

  • thumb_Disk_Cleanup.png
    thumb_Disk_Cleanup.png
    8.8 KB · Views: 359
Last edited by a moderator:
Great find, mate. I just got 2.23GB back! :D I hadn't run the SP1-version of this tool. Very very happy, I'm on a tight budget (went from 4.47GB free to 6.7GB free!).

Fantastic stuff! :D

~Ibrahim~
 

My Computer

System One

  • Manufacturer/Model
    Overdrive PC
    CPU
    E6600 @ 3.5GHz
    Motherboard
    P5N-E SLI
    Memory
    4GB DDR2
    Graphics Card(s)
    8800GTS 640MB
    Sound Card
    Onboard Realtek ALC883
    Monitor(s) Displays
    Dell SP2008WFP
    Screen Resolution
    1680x1050
    Hard Drives
    WD 640GB (50GB OS/100GB Programs/490GB TV Recordings)
    Seagate 320GB
    PSU
    Enermax 620W
    Case
    Cooler Master Stacker 830
    Cooling
    6x120mm
    Keyboard
    Gateway OEM
    Mouse
    Razer Copperhead
    Internet Speed
    6Mbps/512kbps
Great find, mate. I just got 2.23GB back! :D I hadn't run the SP1-version of this tool. Very very happy, I'm on a tight budget (went from 4.47GB free to 6.7GB free!).

Fantastic stuff! :D

~Ibrahim~


Wow, time for a bigger HDD
 

My Computer

System One

  • Manufacturer/Model
    gateway/m6881
    CPU
    centrino core 2 duo 2.2ghz T7500
    Memory
    3GB
    Hard Drives
    500GB WD
    Mouse
    logitech
    Internet Speed
    fios 35MB not!!!!
Great find, mate. I just got 2.23GB back! :D I hadn't run the SP1-version of this tool. Very very happy, I'm on a tight budget (went from 4.47GB free to 6.7GB free!).

Fantastic stuff! :D

~Ibrahim~


Wow, time for a bigger HDD

Haha, I have Vista on a separate 50GB partition (but it's a 640GB drive); short-stroking, if you've heard of it? Keeps all my Windows files on the innermost section of the disk and I think it helps a little:

partitionbench.jpg


~Ibrahim~
 

My Computer

System One

  • Manufacturer/Model
    Overdrive PC
    CPU
    E6600 @ 3.5GHz
    Motherboard
    P5N-E SLI
    Memory
    4GB DDR2
    Graphics Card(s)
    8800GTS 640MB
    Sound Card
    Onboard Realtek ALC883
    Monitor(s) Displays
    Dell SP2008WFP
    Screen Resolution
    1680x1050
    Hard Drives
    WD 640GB (50GB OS/100GB Programs/490GB TV Recordings)
    Seagate 320GB
    PSU
    Enermax 620W
    Case
    Cooler Master Stacker 830
    Cooling
    6x120mm
    Keyboard
    Gateway OEM
    Mouse
    Razer Copperhead
    Internet Speed
    6Mbps/512kbps
Interesting:)
 

My Computer

System One

  • Manufacturer/Model
    gateway/m6881
    CPU
    centrino core 2 duo 2.2ghz T7500
    Memory
    3GB
    Hard Drives
    500GB WD
    Mouse
    logitech
    Internet Speed
    fios 35MB not!!!!

My Computer

System One

  • Manufacturer/Model
    Overdrive PC
    CPU
    E6600 @ 3.5GHz
    Motherboard
    P5N-E SLI
    Memory
    4GB DDR2
    Graphics Card(s)
    8800GTS 640MB
    Sound Card
    Onboard Realtek ALC883
    Monitor(s) Displays
    Dell SP2008WFP
    Screen Resolution
    1680x1050
    Hard Drives
    WD 640GB (50GB OS/100GB Programs/490GB TV Recordings)
    Seagate 320GB
    PSU
    Enermax 620W
    Case
    Cooler Master Stacker 830
    Cooling
    6x120mm
    Keyboard
    Gateway OEM
    Mouse
    Razer Copperhead
    Internet Speed
    6Mbps/512kbps
Cleaned up 1 GB. Worked just like you said. Thanks so much for this tip and for many others I have used.
 

My Computer

System One

  • Manufacturer/Model
    My Build
    CPU
    Q9550
    Motherboard
    ASUS Rampage Extreme
    Memory
    8GB DDR3 1333
    Graphics Card(s)
    8800GTS 512
    Sound Card
    Supreme XF X-Fi
    Monitor(s) Displays
    Samsung 2253BW 22"
    Screen Resolution
    1680x1050
    Hard Drives
    (2) Velociraptor 10000rpm 300GB
    Seagate 500GB 7200rpm
    PSU
    PC Power and Cooling 750W
    Case
    CoolerMaster Cosmos S
    Cooling
    Air
    Keyboard
    Microsoft Wireless 7000
    Mouse
    Logitech MX Revolution
    Internet Speed
    Broadband
You're most welcome Dan (Sky173). :)
 

My Computers

System One System Two

  • Operating System
    Windows 10 Pro 64-bit
    Manufacturer/Model
    Custom
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G7 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2,
    4TB Samsung 990 PRO PRO M.2,
    8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gb/s Download and 35 Mb/s Upload
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    APC SMART-UPS RT 1000 XL - SURT1000XLI,
    Galaxy S23 Plus phone
  • Operating System
    Windows 10 Pro
    Manufacturer/Model
    HP Envy Y0F94AV
    CPU
    i7-7500U @ 2.70 GHz
    Memory
    16 GB DDR4-2133
    Graphics card(s)
    NVIDIA GeForce 940MX
    Sound Card
    Conexant ISST Audio
    Monitor(s) Displays
    17.3" UHD IPS touch
    Screen Resolution
    3480 x 2160
    Hard Drives
    512 GB M.2 SSD
I gained 1 GB after I did this :D
 

My Computer

System One

  • Manufacturer/Model
    GigaByte/M78SM-S2H
    Graphics Card(s)
    eVGA GeForce GTX 275 FTW Edition
    Sound Card
    Realtek HD Audio
    Monitor(s) Displays
    Acer
    Screen Resolution
    1680x1050
    PSU
    Corsair HX750W
    Case
    XCLIO a380
    Internet Speed
    D : 18.35mb/s U : 0.44mb/s
Greetings, thought I'd share my findings. I took snapshots of the properties dialogs of the drive and the winsxs folder before and after running the SP2 cleanup tool. I had done a fresh install 2 weeks earlier with Vista, then SP1 followed by SP2. Take a close look at the Contains: Files, Folders section of the winsxs properties. Also the winsxs folder seems to have gotten way more space back than the drive it resides on.
Local Disk.pngLocal Disk AC.png
winsxs.pngwinsxs AC.png
 

My Computer

System One

  • Manufacturer/Model
    Dell/MM061
    CPU
    Intel Pentium Dual-Core Processor T2080 @ 1.73GHz
    Motherboard
    0XD720
    Memory
    1GB, DDR2, 533MHz 2 Dimm
    Graphics Card(s)
    256MB ATI MOBILITY RADEON X1400 HyperMemory
    Screen Resolution
    1280x800
Hello Wii,

This is not the Disk Cleanup in Vista. It is the separate SP2 Disk Cleanup Tool instead. ;)
 

My Computers

System One System Two

  • Operating System
    Windows 10 Pro 64-bit
    Manufacturer/Model
    Custom
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G7 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2,
    4TB Samsung 990 PRO PRO M.2,
    8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gb/s Download and 35 Mb/s Upload
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    APC SMART-UPS RT 1000 XL - SURT1000XLI,
    Galaxy S23 Plus phone
  • Operating System
    Windows 10 Pro
    Manufacturer/Model
    HP Envy Y0F94AV
    CPU
    i7-7500U @ 2.70 GHz
    Memory
    16 GB DDR4-2133
    Graphics card(s)
    NVIDIA GeForce 940MX
    Sound Card
    Conexant ISST Audio
    Monitor(s) Displays
    17.3" UHD IPS touch
    Screen Resolution
    3480 x 2160
    Hard Drives
    512 GB M.2 SSD
Thanks Shawn,

........how simple is that? 1.2GB gained in 30 seconds, flat!!:roflmao:
 

My Computer

System One

  • Manufacturer/Model
    Acer Aspire Notebook 5633WLMi.[5630 Series]
    CPU
    Intel Centrino Duo Processor - Intel Core 2 CPU.
    Memory
    4GB DDR2 [3.07GB maximum real available]
    Graphics Card(s)
    nVidia GeForce Go 7300, 128MB
    Sound Card
    Realtek HD Audio, Ver. 6.0.1.5717, 2.08MB
    Monitor(s) Displays
    Acer Aspire Notebook - 15.4"; Acer LCD Monitor X223Wsd - 22".
    Screen Resolution
    1280x800x60Hertz [max.]
    Hard Drives
    Notebook - Samsung HM320JI 320GB HD installed 07 August 2009.
    External HDs [4];Maxtor One Touch4 - 500GB External HD [Drive M:\].Western Digital WDXMS1200TA - 120GB External HD [Drive G:\ - Windows Defender Backup Files only]. Two x LaCie 320GB Mobi
    Mouse
    Logitech Wireless V320 for Notebooks - Model M/N: M-RCD125
    Internet Speed
    Down 20000kb/sec / Up 1000kb/sec [Bigpond-Aus]
    Other Info
    Brother MFC-465CN; PC to Fax/Scan/Copy/Photo MFC. Epson Perfection V300 Photo Scanner. Siemens Speedstream 6520 Router. Wacom 'Bamboo Fun' CTE-650 PC Tablet, Stylus and Mouse. UAC - On;Activated. Browsers; [1] FireFox v3.6[2] IE8. Honorary R.S.M. to the 4th [Assault Pioneer] Troop Pune Sepoys , and 3rd Troop Jodhpur Bengali Lancers.
LOL, not bad at all Tony. :)
 

My Computers

System One System Two

  • Operating System
    Windows 10 Pro 64-bit
    Manufacturer/Model
    Custom
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G7 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2,
    4TB Samsung 990 PRO PRO M.2,
    8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gb/s Download and 35 Mb/s Upload
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    APC SMART-UPS RT 1000 XL - SURT1000XLI,
    Galaxy S23 Plus phone
  • Operating System
    Windows 10 Pro
    Manufacturer/Model
    HP Envy Y0F94AV
    CPU
    i7-7500U @ 2.70 GHz
    Memory
    16 GB DDR4-2133
    Graphics card(s)
    NVIDIA GeForce 940MX
    Sound Card
    Conexant ISST Audio
    Monitor(s) Displays
    17.3" UHD IPS touch
    Screen Resolution
    3480 x 2160
    Hard Drives
    512 GB M.2 SSD
Hello Brink,
I was hoping to get some feedback on my post, is it possible that my winsxs folder's properties is calculating it's size based on some uncompressed data in archives, there seems to be a significant difference ~1.2GB.
 

My Computer

System One

  • Manufacturer/Model
    Dell/MM061
    CPU
    Intel Pentium Dual-Core Processor T2080 @ 1.73GHz
    Motherboard
    0XD720
    Memory
    1GB, DDR2, 533MHz 2 Dimm
    Graphics Card(s)
    256MB ATI MOBILITY RADEON X1400 HyperMemory
    Screen Resolution
    1280x800
Hello Ruby,

Sorry about that. This is a perfectly normal amount of space to be recovered. When the SP1 and SP2 is installed, they create backups in case you want to uninstall them later. Using this SP2 Disk Cleanup Tool removes these backups to recover the space since you would not likely uninstall them afterwards anyway.
 

My Computers

System One System Two

  • Operating System
    Windows 10 Pro 64-bit
    Manufacturer/Model
    Custom
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G7 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2,
    4TB Samsung 990 PRO PRO M.2,
    8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gb/s Download and 35 Mb/s Upload
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    APC SMART-UPS RT 1000 XL - SURT1000XLI,
    Galaxy S23 Plus phone
  • Operating System
    Windows 10 Pro
    Manufacturer/Model
    HP Envy Y0F94AV
    CPU
    i7-7500U @ 2.70 GHz
    Memory
    16 GB DDR4-2133
    Graphics card(s)
    NVIDIA GeForce 940MX
    Sound Card
    Conexant ISST Audio
    Monitor(s) Displays
    17.3" UHD IPS touch
    Screen Resolution
    3480 x 2160
    Hard Drives
    512 GB M.2 SSD
Hi Brink,

I think you meant to say a normal amount of space, anyway I understand what the tool does, I should have been a little more specific, there seems to be more space recovered ~2.3GB in my winsxs folder compared to my drive ~1.2. You would think that it should be the other way around.
 

My Computer

System One

  • Manufacturer/Model
    Dell/MM061
    CPU
    Intel Pentium Dual-Core Processor T2080 @ 1.73GHz
    Motherboard
    0XD720
    Memory
    1GB, DDR2, 533MHz 2 Dimm
    Graphics Card(s)
    256MB ATI MOBILITY RADEON X1400 HyperMemory
    Screen Resolution
    1280x800
Oh, DOH! :o

I'm not exactly sure why it would be like that either unless the data was compressed as you thought as well in the winsxs folder.
 

My Computers

System One System Two

  • Operating System
    Windows 10 Pro 64-bit
    Manufacturer/Model
    Custom
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G7 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2,
    4TB Samsung 990 PRO PRO M.2,
    8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gb/s Download and 35 Mb/s Upload
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    APC SMART-UPS RT 1000 XL - SURT1000XLI,
    Galaxy S23 Plus phone
  • Operating System
    Windows 10 Pro
    Manufacturer/Model
    HP Envy Y0F94AV
    CPU
    i7-7500U @ 2.70 GHz
    Memory
    16 GB DDR4-2133
    Graphics card(s)
    NVIDIA GeForce 940MX
    Sound Card
    Conexant ISST Audio
    Monitor(s) Displays
    17.3" UHD IPS touch
    Screen Resolution
    3480 x 2160
    Hard Drives
    512 GB M.2 SSD
O.K. It seems with Windows there's always something. The reason I posted my findings in the first place was because of the amount of space people were reporting. My initial reason for the snapshot of the winsxs properties dialog was to see how many files/folders were actually being deleted. So I guess it's safe to assume that I recovered 1.2GB. Anyway I'm off to do a little research on this matter as my curiosity has now peaked.
 

My Computer

System One

  • Manufacturer/Model
    Dell/MM061
    CPU
    Intel Pentium Dual-Core Processor T2080 @ 1.73GHz
    Motherboard
    0XD720
    Memory
    1GB, DDR2, 533MHz 2 Dimm
    Graphics Card(s)
    256MB ATI MOBILITY RADEON X1400 HyperMemory
    Screen Resolution
    1280x800
Hi Brink,

I'm back from my brief research which landed me here. I believe it is beyond the scope of your tutorial, but thought you might be interested in my findings. From this I believe it is safe to assume that what the drive properties dialog reports is the correct space recovered. Am I correct?
 
Last edited:

My Computer

System One

  • Manufacturer/Model
    Dell/MM061
    CPU
    Intel Pentium Dual-Core Processor T2080 @ 1.73GHz
    Motherboard
    0XD720
    Memory
    1GB, DDR2, 533MHz 2 Dimm
    Graphics Card(s)
    256MB ATI MOBILITY RADEON X1400 HyperMemory
    Screen Resolution
    1280x800
Yes, I would always trust the drive properties over anything else. Hidden files or subfolders can affect a folder's size by not being included in it until they are unhidden.

Thank you for posting back with this. :)
 

My Computers

System One System Two

  • Operating System
    Windows 10 Pro 64-bit
    Manufacturer/Model
    Custom
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G7 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2,
    4TB Samsung 990 PRO PRO M.2,
    8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gb/s Download and 35 Mb/s Upload
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    APC SMART-UPS RT 1000 XL - SURT1000XLI,
    Galaxy S23 Plus phone
  • Operating System
    Windows 10 Pro
    Manufacturer/Model
    HP Envy Y0F94AV
    CPU
    i7-7500U @ 2.70 GHz
    Memory
    16 GB DDR4-2133
    Graphics card(s)
    NVIDIA GeForce 940MX
    Sound Card
    Conexant ISST Audio
    Monitor(s) Displays
    17.3" UHD IPS touch
    Screen Resolution
    3480 x 2160
    Hard Drives
    512 GB M.2 SSD
Back
Top