[Vista] How to free some disk space

Last update on July 29, 2009 11:52 AM by jak58
Published by jak58

[Vista] How to free some disk space








Sometimes when checking your hard disk cappacity, you found that there is not much free space left , even though there are not may program installed.

Vista consumes a lot of disk resources for several reasons:
  • The thumbnails cache
  • The update cache
  • Restore points
  • Cache for installation of service packs



This batch file groups almost all the resource consumming features of Vista:
  • Go to Start> All Programs> Accessories> Notepad
  • Copy this:

CD\
CD %APPDATA%
CD..
CD LOCAL\MICROSOFT\WINDOWS\EXPLORER
DEL *.db
CD\
CD %Windir%
CD SoftwareDistribution
DEL /F /S /Q Download
vsp1cln /quiet /verbose
compcln /quiet
vssadmin resize shadowstorage /On=C: /For=C: /Maxsize=3GB
reg add hklm\SYSTEM\CurrentControlSet\Services\VSS /v Start /t REG_DWORD /d 3 /f
reg add hklm\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SystemRestore\cfg /v DiskPercent /t REG_DWORD /d 5 /f
  • Go to the File Menu> Save.
  • Change the file type "All Files".
  • Give the file a name that ends with .Bat
  • Confirm and close.



To run the file, you have to right click on it> Run as administrator.

You can also use other cleaning software like CCleaner.

Thanks to fahd_zboot for this tip....
Best answers for « How to free some disk space » in :
Free up space on the system partition Show Free up space on the system partition The folder "My Documents" Favorites Messages from Outlook Express Temporary files Restore points Additional things you can do Your hard drive encloses two partitions complying of:...
How to free disk space under Windows Vista Show How to free disk space under Windows Vista Below are listed several reasons of why vista consumes lot of space on your disk: Disabling the DNS cache of Mozilla Firefox Clearing the cache Update Cache installing service pack 1...
Disk space / memory missing on USB stick / mp3 player Show Disk space / memory missing on USB stick / mp3 player This is probably a problem of system files on the USB key. First of all, read the manual for the key, and verify that no utility provided with the key to reset or reformat. If...
[Myth] NTFS occupies more disk space than FAT ShowNTFS uses more disk space than FAT Myth Reality Explanations Conclusion Microsoft invented both NTFS and FAT file system. FAT is inherited from MS-DOS and Windows 95/98, while NTFS is inherited from Windows NT4. NTFS is the file...
Disable alert -Low Disk Space ShowDisable alert -Low Disk Space Whenever the free space on your partitions becomes very low, a notification in form of pop up might regularly appears on windows taskbar. Below is a tips of how to disable this alert. Make a back up of...
Creating a Batch to free up disc space ShowCreating a Batch to free up disc space You can free up spaces on your hard drive. Just follow these instructions: Open Notepad, copy and paste: CD\ CD %APPDATA% CD.. CD LOCAL\MICROSOFT\WINDOWS\EXPLORER DEL *.db CD\ CD...
Download Free Disk Cleanup ShowDescription The application is designed by MindGems Inc. Free Disk Cleanup is a tool that allows you detect and remove all duplicate files stored on your system. It has been awarded from certain places. The application compares the contents of your...
Partition - Partitioning a hard drive ShowWhat is a partition? The partitioning of a hard drive occurs after the drive has been physically formatted but before it is logically formatted. It involves creating areas on the disk where data will not be mixed. It can be used, for example, to...
Creating an audio CD from an MP3 ShowWhat is an MP3 file An MP3 file is a compressed audio file, i.e., a file that takes up less disk space due to a compression algorithm, and which can be read by programs that execute decompression algorithms. Legality The MP3 format is not illegal,...
Creating an audio CD from an MP3 ShowWhat is an MP3 file An MP3 file is a compressed audio file, i.e., a file that takes up less disk space due to a compression algorithm, and which can be read by programs that execute decompression algorithms. Légalité The MP3 format is not illegal,...