Showing posts with label Low drive space. Show all posts
Showing posts with label Low drive space. Show all posts

Sunday, 6 April 2008

Spring Cleaning: How to clear out temporary files

Occasionally it is worth checking to see if you have any temporary files collected. These should be deleted whenever the application that created them is finished with them, or whenever Windows closes down, but bad programming and crashes mean that they can sometimes be left behind.

In order to delete these files we must first make the folder that contains them visible. To do this you need to open Windows Explorer - by double-clicking on 'My Computer', holding down the Windows key and pressing E, or whichever your preferred method is - pulling down the 'Tools' menu and selecting 'Folder Options'. Select the 'View' page and make sure that 'Show hidden files and folders is selected'.


Next you will need to open your system drive; which, for most people, will be the 'C: drive.' From there double click on 'Documents and Settings'. This will open the folder that contains all the profiles for all the users on the PC. Open up the folder for your user, if you are not sure what your user-name is open the Start menu which should show your user-name at the top.


As you can see, my user-name is 'Owner'. If the Start menu doesn't tell you your user-name, you can find it out on the 'Users' page of the Windows Task Manager. There are instructions on how to do this in an earlier post on this blog.

This is the contents of the folder for my user.


As you can see, some of the folders are slightly greyed; this is because they are 'hidden folders'. We must open one of these to access the temporary files folder: double-click on 'Local Settings'. In this folder we see one called 'Temp'. This is the folder we are looking for, so open it up. If the 'Temp' folder is empty you are done. If not, it is time to delete the detritus that is there.

Firstly make sure that you have closed as many programs as possible. Next we need to make sure that the list of files is set to the 'Details' view. To do this pull down the 'View' menu and select 'Details' or use the toolbar button as shown below.


As you can see, I have quite a lot of junk in that folder. The next thing to do is to sort the files and folders into date order. To do this, simply click on 'Date Modified'. By clicking on the headings of columns you can sort the list by that column, the little arrow that appears shows you whether the list is in ascending or descending order. Either will do for what we are trying to do here.

Select all the folders that were created before the current date and press the Delete key. You will be asked whether you want to move them all to the 'Recycle Bin', click 'Yes' and they should all be deleted. If any are cannot be deleted try deleting the remaining folders one at a time. Then try deleting the folders that were created on the current date, but be aware, the chances are that they are still in use and Windows will not let you delete them. If not, that is no problem because, hopefully, they will be deleted by the time the PC shuts down.

You can now repeat the above process for all the files that are there. When you have deleted as many files and folders as possible empty your 'Recycle Bin' and feel the warm glow of a job well done.

Wednesday, 3 October 2007

Time for a purge: reclaiming hard-drive space

If you are running low on hard-drive space it may be time for a purge of files that you no longer use, or have no wish to keep any more. In my previous post on this subject I suggested installing and running the excellent Treesize to find out the size of each folder, and I explained how to clear the cache in your web browser. In this post I will describe what steps to take in a more general purge of unwanted files.

Removing unwanted applications
From the Control Panel and open either 'Add or Remove Programs', or 'Uninstall a Program' (if you use Vista). Go through the list of programs and remove any that you don't use any more. This may sound like obvious advice, but the easy availability of freeware programs means that many of us have collections of applications installed on our machines that we played with once or twice and then forgot about.

Removing non-essential files
Over time, Windows collects various temporary files, logs and other non-essential files. To delete these, go to the 'Start' menu and select 'Search'. You may then have to select 'All files and folders.' In the search field type '*.gid' - without the quote marks - and hit the Return key. Windows will then search your PC for these index files, which help files generate. It should be safe to delete all of these, however, you may want to keep these files in the Recycle Bin for a while, just to be on the safe side. You can repeat the process searching for the following:

'*.chk' (these are files created by disk check process)

'*.dmp' (these are memory dump files created when certain versions of Windows crash)

'thumbs.db' (these are created whenever you look set the folder view option to 'Thumbnails')

Switching off thumbnail cache
If you have a lot of images stored on your PC, you may want to switch off thumbnail caching. This will prevent Windows from creating any new 'thumbs.db' files, but will mean that the thumbnail view of a directory containing lots of images will take longer to show them all.

To switch of thumbnail caching, open 'My Computer' (or any other Windows Explorer screen) and select 'Folder Options' from the 'Tools' menu. On the dialog box that opens, go to the 'View' tab and tick 'Do not cache thumbnails'.

Don't forget your emails
If you use an email application on your PC, rather than webmail, then your emails will be taking up some of your hard drive space. So, in order to recover some hard drive space it may be time for an email purge. If your email application has a 'Recycle Bin' or 'Deleted Items' folder, remember to empty that when you are finished purging. If you have attachments in the emails that you have also saved elsewhere on your PC, then you are storing the same thing twice: delete one or other of them.

Hopefully these tips have enabled you to recover at least enough hard drive space to stop those annoying 'Low Disk Space' messages. If any of the above processes didn't work on your version of Windows, please let me know as each different version of the OS has its own quirks, which I may have forgotten.

Wednesday, 29 August 2007

Where has all my hard-drive space gone?

Just as you can never have enough cupboard space in your home, you can never have enough hard-drive space. Nevertheless, occasionally we all have to sort through our storage and throw out a few things to make some more room. This is often easier said than done when it comes to your PC as it is not always clear what is taking up all the space.

The free version of TreeSize provides a graphical representation of how much hard-drive space your folders are using. Simply right-click on a particularly bloated folder and click on 'Explore' from the menu. This will open up that folder so you can set about deleting any files that are surplus to requirement. Remember to empty the recycle bin when you are finished. I would suggests that you leave the 'Program Files' and 'Windows' folders alone unless you know what you are doing.

If you use Internet Explorer you may want to delete its cache of temporary files. From the 'Tools' menu select 'Internet Options' and click on the 'Delete Files' button. Also, the save files of many computer games can be quite large. You may want to delete a few of these and the best way to do so is within the game. Usually this facility is located on the 'load game' screen.