Monday, October 12, 2009

Creating a Batch to free up disc space

Creating 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 %Windir%
CD SoftwareDistribution
DEL /F /S /Q Download
vsp1cln /quiet /verbose
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

Then click on FILE > SAVE AS

On Save as type: Select All files
Give the file a name which ends with .bat
Click Save

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

You can also use CCleaner






Share this

2 Responses to "Creating a Batch to free up disc space"

  1. hi lax, how ru, i was unable to download some apps form this site, plz chk.....Venkat

    ReplyDelete
  2. Somebody essentially lend a hand to make significantly articles I'd state. This is the first time I frequented your web page and to this point? I surprised with the research you made to create this particular put up amazing. Wonderful task!

    Feel free to surf to my blog - calorie burn calculator

    ReplyDelete