[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....