The program behind Vista's disk cleanup tool is the 'cleanmgr.exe' file. If you access this file from the command prompt, you can enable several previously hidden options which give you more control in terms of what is removed from your computer when you run disk cleanup. Let's look at doing this.
To use the cleanmgr command to create custom drive cleaning options:
Open an administrative command prompt (open the start menu, type 'cmd' in the search box and press CTRL+SHIFT+ENTER).
Type 'cleanmgr /sagetset: 1' and hit Enter. This brings up a checklist of the items you can set diskcleanup to delete when it is run. You'll notice that there are several options here which are otherwise not available. Choose the options you prefer.
When you hit 'ok' you have saved a cleaning profile. To run that cleaning profile and remove the items you specified from all drives, just enter the following in the command prompt: 'cleanmgr /sagerun: 1'

May 31, 2008
Used advanced disk cleanup tools to regain more space
May 29, 2008
Install Vista without product key
Don't feel like typing in your product key before installing Windows Vista? It is now possible to install any version of Windows Vista and use it for 30 days before having to enter a product key and activating it.
While on the product key screen during install, just hit the Next button. You will be presented with a new screen that allows you to select the version of Windows Vista you would like to install
Rearm Activation period
Would you like to extend the activation period to the maximum 120 days instead of the 30 day period that is set by default? It is possible and legal to do this using the software licensing manager in Windows Vista. Simply run slmgr -rearm to get another 30 days. You can do this a maximum of three times before Microsoft blocks further extensions.