Windows Vista Service Pack 2 Clean Up Tool (COMPCLN.EXE)

With the release of Windows Vista Service Pack 2 (SP2) will have a new tool called compcln.exe which supersedes Windows Vista SP1 clean up tool called "vsp1cln.exe". The compcln.exe tool is a clean up tool that removes the archived files after a Windows Vista SP1 install or a Windows Vista SP2 install. If you run this tool then you will not be able to uninstall Windows Vista SP1 or Windows Vista SP2 from your computer. The compcln.exe clean up tool is located at "c:\windows\system32".

How to Run the COMPCLN.EXE Tool

Online Mode

  1. Open an elevated Command Window, refer to "Opening an Elevated Command Prompt" blog article for instructions.
  2. Type:

    compcln

  3. Type Y to start the clean up process.

Offline Mode

  1. Open an elevated Command Window, refer to "Opening an Elevated Command Prompt" blog article for instructions.
  2. Type:

    compcln /o:e:\windows

    NOTE

    The above command assumes the offline location of Windows Vista is at the root of drive E. If you have the Windows Vista image mounted at “e:\VistaMount” then the command would be:

    compcln /o:e:\VistaMount\Windows


  3. Type Y to start the clean up process.

Platforms Tested

  • Microsoft Windows Vista Ultimate, x86 Versions
  • Microsoft Windows Vista Business, x86 Versions
  • Microsoft Windows Vista Home Premium, x86 Versions
Related Articles

Version 1.1
Edited: May 17, 2012

Advertisements

Microsoft Released Windows Vista Service Pack 2 – May 26, 2009

On Tuesday, May 26, 2009, Microsoft released Windows Vista Service Pack 2 (5 languages) to Windows Updates and on the Download Center.

NOTE

This articles does not show Windows Vista Security Updates. Please review “MSFT Security Updates“ blog category for Windows Vista Security Updates.

Windows Vista users are recommended to use Windows Update to install Windows Vista Service Pack 2 because the download size is much smaller than the download on the Download Center.

How Do I Get Windows Vista Service Pack 2

Windows Update

Download Center (5 Languages)

Requirements

Windows Vista Service Pack 1 is a required for installing Windows Vista Service Pack 2. Ensure that your system is running Windows Vista Service Pack 1 before you install Windows Vista Service Pack 2.

How To Check if Service Pack 1 is Installed

  1. Click the Start Orb.
  2. Type:

    winver.exe

    In the About Windows window, if Service Pack 1 is listed then Service Pack 1 is installed. If no Service Packs are listed then Windows Vista has no Service Pack installed.

How Do I Get Windows Vista Service Pack 1

Windows Update

Download Center (5 Languages)

Why is Windows Vista Service Pack 2 Not Offered

If Windows Vista Service Pack 2 is not offered to you by using Windows Update then please read the following KB article to discover why the Service Pack 2 is not being offered.

Windows Vista Service Pack 2 KB Articles

Updating your Windows Vista System

Please keep your computer up to date with Critical and Important updates by using the Windows Update feature in Windows Vista (refer to Checking for Updates on Windows Vista Manually blog article for help) or by visiting Microsoft Update. If you experience any problems with Microsoft Security updates then please call Microsoft support for help. There will be no charge for support on Security Updates.

Microsoft has set up newsgroups for self-support. If you need help for Security updates or any other updates that is issued by Microsoft then please visit the Windows Update newsgroup at using your newsreader news://msnews.microsoft.com/microsoft.public.windowsupdate.

Version 1.1
Edited: May 16, 2012

Slipstreaming Service Pack 2 into a Bootable Windows XP CD

In this blog post, I will describe how to slipstream or integrate Windows XP Service Pack 2 into a Windows XP RTM or Service Pack 1 CD.

One of the benefits of slipstreaming Windows XP Service Pack 2 into a bootable Windows XP CD is being able to reinstall Windows XP without the need to download and install SP2 from Windows Update afterwards. All Windows XP system files will updated to the Service Pack 2 level. Your computer will still need updates to be fully patched. Visit Microsoft Update to check your PC for Critical and Important updates. If you experience any problems with Microsoft Security updates then please call Microsoft support for help. There will be no charge for support on Security Updates.

Microsoft has set up newsgroups for self-support. If you need help for Security updates or any other updates that is issued by Microsoft then please visit the Windows Update newsgroup at using your newsreader news://msnews.microsoft.com/microsoft.public.windowsupdate.

NOTE

To enlarge the images, simply click on the images you would like to view. With Internet Explorer 7, you can right-click on the image to select Open in New Tab.

What I Used

What I Did

  1. Create a folder called WinXP in the root of the system drive, C:\WinXP.
  2. Create four folders called BOOT, CD, ISO, and SP2 in the WinXP folder, C:\WinXP\BOOT, C:\WinXP\CD, C:\WinXP\ISO, and c:\WinXP\SP2.

     

  3. Copy your original Windows XP CD to C:\WinXP\SP2 folder or use the following command assuming your CD Drive is letter D.

    xcopy d:\*.* c:\WinXP\CD /H /E

  4. Download Windows XP Service Pack 2 Network Package Microsoft to c:\WinXP\SP2 folder.NOTE: The Windows XP Service Pack 2 Network Package is quite large to download. You may want to use BitsAdmin.exe to download the install file without worries of being disconnected during the download. If you are going to use BitsAdmin.exe to download Windows XP Service Pack 2 then use the instructions further down this blog post.
  5. Slipstream or integrate Windows XP Service Pack 2 Network Package to C:\WinXP\CD by using the following command:

    C:\WinXp\SP2\WindowsXP-KB835935-SP2-ENU.exe /integrate:C:\WinXP\CD

  6. Open UltraISO and insert your Windows XP RTM or Service Pack 1 CD into your CD Drive. On the File menu, select Bootable then Extract Boot File from CD/DVD…. Click ,name the file BootFile, and save it to C:\WinXP\BOOT folder.

     

  7. Click Make. A message box should appear stating "Boot image file extracted successfully!". Click OK then Close.
  8. On the File menu for UltraISO, select File > New > Bootable CD/DVD Image. Select the extracted boot file named BootFile located in C:\WinXP\BOOT. Click Open.
  9. In the bottom left window pane for UltraISO, select C:\WinXP\CD.

     

  10. In the bottom right window pane for UltraISO, select all of the contents. To do this, simply right-click in the bottom right window pane and select Select All. Click Add to add all the contents in the bottom right window pane of UltraISO.

     

  11. In the top left window pane for UltraISO, rename the ISO image by selecting the ISO name to select Rename. Rename the ISO Image to what you like.

     

  12. Now save the ISO image to C:\WinXP\ISO. To do this, go to the File menu and select Save. Type in your ISO file name and save to C:\WinXP\ISO.
  13. You can now burn the ISO image to a blank CD using your favorite CD Burner software or using UltraISO like I did. Open UltraISO, go to the File menu to select Open…. Navigate to C:\WinXP\ISO to select the ISO image we have created.
  14. Insert a blank CD into your CD / DVD burner.
  15. Click the Burn CD/DVD Image button on the toolbar for UltraISO.

     

  16. A Burn Image should appear, click Burn to starting the burning process.

     

  17. Congratulations, you have made a Bootable Windows XP Service Pack 2 CD with your Windows XP RTM or Service Pack 1 CD.

NOTE

To enlarge the images, simply click on the images you would like to view. With Internet Explorer 7, you can right-click on the image to select Open in New Tab.

Download Windows XP SP2 Network Package using BitsAdmin (Optional)

  1. Download and install Windows XP SP2 Support Tools.
  2. Open a Command Prompt Window (Start > Run > cmd.exe) and type:

    bitsadmin /Create /Download SP2Job
     

    NOTE

    This creates a download job called SP2Job.

     

  3. Type:

    bitsadmin /AddFile SP2Job http://download.microsoft.com/download/1/6/5/165b076b-aaa9-443d-84f0-73cf11fdcdf8/WindowsXP-KB835935-SP2-ENU.exe C:\WinXP\SP2\WindowsXP-KB835935-SP2-ENU.exe

    NOTE

    Adds the Windows XP SP2 Network Package to SP2Job.

  4. Type:

    bitsadmin /Resume SP2Job

    NOTE

    Starts the download for SP2Job.

  5. Type:

    bitsadmin /GetState SP2Job

    NOTE

    If GetState returns TRANSFERRED then the SP2Job is finished transferring the bits and you can continue with Step 6.

  6. Type:

    bitsadmin /complete SP2Job

    NOTE

    Completes the SP2Job.

  7. Some other switches which may interest you.

    bitsadmin /GetBytesTotal SP2Job   [NOTE: Checks how many bytes are for the SP2Job]

    bitsadmin /GetBytesTransferred SP2Job  [NOTE: Checks how much bytes have been transferred for the SP2Job]

    bitsadmin /cancel SP2Job  [NOTE: Cancels the SP2Job]

    bitsadmin /Suspend  [NOTE: Pause the SP2 Job. Use ‘bitsadmin /Resume SP2Job‘ to resume the SP2Job.]

Platforms Tested

  • Microsoft Windows XP Editions x86 Versions
Related Articles

Version 1.4
Edited: May 11, 2012