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: 448
Last edited by a moderator:
I'm just getting the message...'compcln.exe' is not recognized as an internal or external command, operable program or batch file.

Oh - and Newbie means just that...............
 

My Computer

Hello Hanntom, and welcome to Vista Forums.

Do you have the Vista SP2 installed, and ran the command in a elevated command prompt (link at step 1)?

Hope this helps,
Shawn
 

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
    Mouse
    Logitech MX Master 3
    Keyboard
    Logitech wireless K800
    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
    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 lost 1GB after this - does that make any sense?

When I entered Y it began to work and I did not have to press enter. I never got the message that it was completed though, the command prompt window just closed. I tried to run it again to make sure it completed but as soon as I typed in Y the command prompt box closes, no time to hit enter.
 

My Computer

System One

  • Manufacturer/Model
    Sony VGC-JS130J
    CPU
    Intel E5200
    Motherboard
    Intel G45
    Memory
    4 GB
    Graphics card(s)
    Integrated
    Sound Card
    Integrated
    Monitor(s) Displays
    20.1
    Screen Resolution
    1680 x 1050
    Hard Drives
    WD 500 GB
Hello Moon unit,

That sounds about right. I would not worry about it. :)
 

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
    Mouse
    Logitech MX Master 3
    Keyboard
    Logitech wireless K800
    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
    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
Another usefull guide thanks Brink
I need those extra GB's. Using a 120 GB SSD wich fast can go out of space :D
104GB Before
105GB After
This was with a clean install. I only have SP1 "build" in disc so I install SP2 after and clean it up. But also I must still use RTM becouse SP2 final is not available in my language. Dosn't matter, this works fine and I have used it for long time now. But I need a clean install today :p
 

My Computer

System One

  • Manufacturer/Model
    Toshiba X300-13o
    CPU
    Intel Core2Duo T9600 at 2.8GHz 6 MB - L2 Cache FSB: 1066Mhz
    Motherboard
    Intel® GM45 Express chipset
    Memory
    4,096 (2,048 + 2,048) MB
    Graphics card(s)
    NVIDIA® GeForce® 9800M GTX 1GB
    Monitor(s) Displays
    Toshiba TruBrite® WXGA+
    Screen Resolution
    1,440 x 900
    Hard Drives
    OCZ Vetex 120GB SSD Read/Write - 200/160 MB 64MB Cache
    Mouse
    Logitech VX Nano
    Other Info
    24-Biters stereo, Harman Kardon® Toshiba Bass Enhanced Sound System With Dolby® Home Theater™. Includes Suboofer Yes, This is a laptop :)
OK Shawn,
I'm going to do the clean-up.
attached I have pics of my current allocation.
I also made an image using acronis.

btw, since I updated to SP2, my system restore does not auto create upon boot up or at 00:00



~Carmine
 

Attachments

  • Capture.JPG
    Capture.JPG
    146.8 KB · Views: 622
  • Capture2.JPG
    Capture2.JPG
    124.9 KB · Views: 561
  • Capture3.JPG
    Capture3.JPG
    80.5 KB · Views: 521
  • Capture4.JPG
    Capture4.JPG
    126 KB · Views: 565

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!!!!
Hello Carmine,

Have you made any system changes or installed any programs or drivers since installing SP2? It will not auto create a restore point unless it detects a change in the system at that scheduled time.
 

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
    Mouse
    Logitech MX Master 3
    Keyboard
    Logitech wireless K800
    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
    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,
here is the difference.

capture2=original
capture5=after clean up

was the difference 720MB?
 

Attachments

  • Capture2.JPG
    Capture2.JPG
    124.9 KB · Views: 539
  • Capture5.JPG
    Capture5.JPG
    142.5 KB · Views: 522

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!!!!
Hello Carmine,

Have you made any system changes or installed any programs or drivers since installing SP2? It will not auto create a restore point unless it detects a change in the system at that scheduled time.


Hi Shawn,
No changes at all.
I thought a restore point was made everyday.
( it used to because I increased the allocation size for RP's to 50GB ) then I just deleted them all.

it's kewl, thanks for the help.
 

Attachments

  • Capture.JPG
    Capture.JPG
    65.2 KB · Views: 608

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!!!!
Most people have been seeing around a 1GB gain, so that is about right.
 

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
    Mouse
    Logitech MX Master 3
    Keyboard
    Logitech wireless K800
    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
    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 saved 1 gb well better then nothing right? Thanks
 

My Computer

System One

  • Manufacturer/Model
    HP Pavilion Laptop/DV2845SE
    CPU
    ACPI x64-based PC
    Memory
    4GB
    Sound Card
    Conexant High Definition SmartAudio 221
    Monitor(s) Displays
    NVIDIA MCP67M
    Screen Resolution
    1280x800
    Hard Drives
    FUJITSU 250GB Hard Drive
Didn't get a "space saved" report. Here's what I did get.

compcln.jpg


Great postings here though. Very useful !!! Thank you.
 
Last edited:

My Computer

System One

  • Manufacturer/Model
    Acer X1700
    CPU
    Intel Pentium Dual CPU E2220 @ 240Ghz, 2403Mhz, 2 Cores,
    Memory
    4GBs DDR2
    Graphics card(s)
    NVIDIA GeForce G100
    Monitor(s) Displays
    LG Flatron W2061TQ
    Hard Drives
    600GB
Hello Schmitman,

You would have had to manually look to see how much free space you had on your C: drive before and after running this to see how much space you have gained instead. It looks like it has ran successfully though. On average, most people have been getting back around 1 GB though. :)
 

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
    Mouse
    Logitech MX Master 3
    Keyboard
    Logitech wireless K800
    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
    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 Gorn, and welcome to Vista Forums.

Wow, now that is a record. Did you not run the SP1 Disk Cleanup Tool before? If not, then that may be why you had more free space after running the SP2 cleanup tool.
 

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
    Mouse
    Logitech MX Master 3
    Keyboard
    Logitech wireless K800
    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
    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
Thank you for posting back Gorn to confirm that. Still not a bad amount though. :)
 

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
    Mouse
    Logitech MX Master 3
    Keyboard
    Logitech wireless K800
    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
    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
Have just got 2 gig back following this guide after installing SP2 on Vista x64 Ultimate, so pretty pleased with that and once again it's all down to Shawn - cheers!
 

My Computer

System One

  • CPU
    Q6600@stock
    Motherboard
    Asus P5N32-E SLI
    Memory
    4GB Geil DDR2 PC6400 CAS4
    Graphics card(s)
    1 x BFG 8800 GTS 512mb OC
    Hard Drives
    2 x 80Gb Samsung SATAll in RAID 0 2 x 80Gb Maxtor SATA1 in RAID 1 1 x 120Gb Maxtor SATA1 back-up
    Internet Speed
    Bt Broadband, so about same as 56k modem!
I checked before doing it, and i have 49,6 GB free on C:, and now I still have the same after it, everything ran just fine and correctly, but I didnt gain even an 0,1 GB, and I haven't ran this in SP1 cause I didn't even know that this exists. Anyway, I upgraded to SP2 just today lol
 

My Computer

System One

  • Manufacturer/Model
    Toshiba Satellite A300-15I
    CPU
    Intel Pentium Dual Core T2370 1.73 GHz (3.46GHz)
    Motherboard
    I don't know
    Memory
    Standard(I now) : 2,048 MB ; maximum expandability : 4,096 MB ; technology : DDR2 RAM (667 MHz)
    Graphics card(s)
    manufacturer:ATI ; type : ATI Mobility Radeon™ HD 3470
    Sound Card
    I don't know
    Monitor(s) Displays
    15.4" Toshiba TruBrite® WXGA TFT High Brightness display and LG LCD TV
    Screen Resolution
    1280x800, and I don't know for TV
    Hard Drives
    capacity : 200 GB certification : S.M.A.R.T. drive rotation : 5,400 rpm
    Cooling
    I don't know
    Mouse
    Logitech V220 Cordless Optical Mouse For Notebooks
    Keyboard
    Keys : 87 Windows® keys : 2
    Internet Speed
    100 Mbps
    Other Info
    Physical dimensions: W x L x H : 363 x 267 x 34.5 (front) / 38.5 (rear) mm weight : starting at 2.7 kg Security features : Wireless LAN switch main hard disk (by screw) main memory (by screw) HDD password on request supervisor password slot for Kensington Cable Lock main battery pack (by sliding latch) user password Special features: integrated 1.3 Megapixels Web Camera for Video
Back
Top