Hard Disk Cleanup and Backup

Google

In addition to the suggestions below you can find answers on the net using a Google search  


Index Page  Index Page To view the whole site please click on >> SITE MAP Next Page Next Page

 

This page is not for the novice or the faint hearted.  Suggestions here can be very damaging to the health of your PC and the usual precautions should be taken to note what you have done, make backups and Restore points and don't blame the author !

 Wot,  no space left ?

One of the problems is that older machines have smaller hard disks and who has the older machines?  The novice!

I am getting increasing numbers of enquiries about PC's going slower.  Generally it is NOT because of all the files you have on the hard disk (unless it is nearly full)  For inforamtion about Speeding You PC see Here

These days hard disks can be enormous.   So, what if certain applications use a percentage of your disk space ?  In fact there are several Windows components that, by default, create needlessly huge temp file areas: e.g. System Restore, Recycle Bin, and Internet Explorer.

System Restore can be an incredible space hog. That might be OK if System Restore were a truly complete and foolproof form of backup, but it's not. At best, System Restore may get the core operating system running again after a bad crash, but it doesn't return all files to the pre-trouble state, and it can't remove all traces of a program that went bad. Because it's such a limited recovery tool, I don't feel it's worthwhile to devote vast amounts of disk space to it. Here's how it can be tamed: right-click on My Computer, select Properties, and select the System Restore tab. Then select your main drive (usually C:), click Settings, and move the slider to reserve a reasonable amount of disk space. If you already maintain a good regimen of daily backups, you can move the System Restore slider all the way to the left, or even disable it completely.

Recycle Bin and Internet Explorer are also voracious: Each reserves 10% of your hard drive for its own use. That's a fifth of your entire hard drive just for these two items! On today's large drives, the amount of space wasted is absurd. Worse, over time those huge reserved areas can accumulate an incredible number of junk files, many of which Windows will try to track either at startup or as the OS runs. You can gain space and maybe also speed up your system by taming these disk-hungry programs: right click on the Recycle Bin, select Properties, and on the Global tab, decide how much space you want the Recycle Bin to consume, either for all drives in your system, or on a per-drive basis. I adjust the slider way to the left. On a large drive, it still reserves a few hundred megabytes of space for recoverable trash, which should be plenty.

Similarly, open Internet Explorer, and select Tools, Internet Options. Under Temporary Internet Files, click the Settings button and select a reasonable size for this cache area. Generally speaking, if you have a fast connection, 5 MB to 10 MB is adequate; 25 MB or so is usually enough with a slower, dial-up connection.

Doing the above can remove as much as 3 GB of junk files from your system — a worthy result in itself — but this may not result in any major speed gains.

From the correspondence I receive I know that some people are anxious to keep their PC nice and clean.  They may want to create some space or are interested to see what rubbish has accumulated on it - usually as a result of program installations.  It isn't just  about being tidy, because unless a machine has quite a lot of spare space it cannot function properly.  This is because it often needs temporary hard disk space for one reason or another. So, if you are down to less than 100Mb space you should start to be concerned.  One of the main culprits is the Windows installation itself. Recently I deleted 150mb of files, all of which had arrived without my say-so.

Backup.  Before you start taking things off you should be sure that you would know how to get back to where you were if things go wrong. An excellent site on this question can be found at http://www.langa.com/backups/backups.htm. I have also added some notes about backup at the end of this page.

If all else fails to make room on your hard disk see http://www.askbobrankin.com/add_a_second_hard_drive.html and http://askbobrankin.com/make_windows_xp_run_faster.html

A very useful page is http://www.computeractive.co.uk/vnunet/downloads/2128643/hdd-health

At one stage I used a program called Fix-it from www.vcom.com.  It has a simple " One stop" facility which does a fairly thorough clean-up job.  But, more recently, I discovered a program, System Mechanic from www.iolo.com, which does an even deeper clean.  It starts with the usual frightening analysis of your hard drive. This gives you several 'warnings' about the number of irrelevant things in your register, broken links, security flaws, unnecessary programs in Startup, fragmentation and wasted space. These warnings are standard practice for all such programs.  Useful, but they must also help their sales no end ! But, despite my machine apparently suffering from hundreds of problems, it was working perfectly well. I ignored the usual adage " if it ain't broke......." and bought the program (off Ebay) and paid a fraction of the $39 advertised price. It really does have an infinite number of tools to check out your machine and I do recommend it.

Winzip - a shareware download from  www.winzip.com can be used to compress little used files (which can then be deleted).
XP has a facility that enables you to compress whole folders, without taking them out of general use.

Uninstallers are very powerful tools which can tell you what files are duplicated, what files are likely to be redundant, which files have rarely been used and which files you should not delete on pain of death etc.  Ashampoo has a version of an uninstaller which also has a simple Font checker and remover and is amazing at the number of temporary files that it finds (Megabytes) 

CLEANING UP THE HARD DISK  See also http://www.barrett.net/cleanup.htm

To start with you should check how much hard disk space you are using and how much is still free. This is done be clicking My Computer, right clicking your drive (C:) and clicking Properties in the Menu that appears.  If there appears to be just a small empty segment left you really need to do something about it. You will notice that there is a box which says Disk Cleanup.  Click on this. It shows a list of non essential files such as Temporary files and allows you to clear them. You can also empty your Recycle bin from there.  The program that does this is called Cleanmgr.exe and it can be run from Start, Run.

One thing even a novice should do quite frequently is delete the Temporary Internet Files.  These are unnecessary and, if you browse the net a lot, can accumulate very rapidly.  Simply right click the Internet Explorer icon on the desktop, click Properties and click Delete Files on the screen that  is displayed. This is especially important for AOL users as there is a limit to how much can be stored before it stops you looking at sites with that ominous 'Page Not Found'.  And it has been known to cause problems with MSN Messenger, too.  You can delete Cookies as well. These are small files that keep a (confidential) record of things like passwords. However, Cookies are also where most Adware and Spyware files are kept, so you might like to clear these too.

Even after deleting Temporary Internet Files by the normal method when you return to the c:\windows\Temporary Internet Files folder you may find that it is still full of junk.  Often there is a sub folder called IE 5.  If you right click this and click Properties you may find megabytes of stuff in there, all stashed away in individual folders. Right click one of these and click Delete.  An awful warning appears 'This is a Windows System Folder and delete it on pain of death etc' and most people leave it alone. I ALWAYS delete these folders (despite the warning).  First time I did it put them in the Recycle bin, just in case.  And what happened ? NOTHING ! Windows never noticed they were gone.  Another 150 Mb freed up.

Another possibility is to look at Add and Remove programs and get rid of things which you are CERTAIN you don't need.  Also you may find that some updates are absolutely massive. For instance I just looked at my Java updates in Add/remove.  Essential of course as some are about security weaknesses.  But 300 Mb !!!! in two updates.  So I looked to the net for advice abd this is what was said at Yahoo Answers

Best Answer (for vast Java Update files in Add/Remove Programs) - Chosen by Voters

You should uninstall them all then reinstall the most recent version of Java. Uninstalling older versions only might corrupt the current version. Problems can occur if you are running more than one version of Java as they can cause conflicts with each other. Furthermore, Java has a nasty habit of not removing older versions when updating to the newest so you have to uninstall old versions manually. Assuming that you are in the Administrator account, go to Control Panel, Add/Remove Programs and uninstall everything that says J2SE, Java and Java Runtime. Reboot (some computers require a reboot to complete the uninstall process). Then go to the site below and download the most recent version of Java. Afterwards, in IE, go to Tools, Internet Options, Advanced tab and scroll down to the Java section and tickmark the "Use 1.6.2 (version changes with each update) for applet". Click Apply, Click OK and reboot (a reboot is required for some computers for the settings to stick). http://www.java.com/en/download/index.js...

Your machine wont come to harm without Java but many fancy frills on websites are now written in Javascript and wouldn't function if you don't have Java installed

How is your FAT ? FAT refers to the File Allocation Table, which is the index held on every disk so that it can find the files you want.   You can tell which yours is based on when you are looking at how much space you have - see above.  If it just says FAT  (rather than FAT32) it is the older Fat 16 system. Changing it to FAT 32 will give you a lot more space and make you hard disk accesses faster. I once converted a 2Gb hard disk to Fat32. Amazingly it gave me an extra 600Mb of space, resulting in a full Win 98 system with internet access and numerous extra programs taking up just over a quarter of the disk. You can get more detail about this by going to Windows Help and typing in FAT. It takes very little time to convert the system but quite a long time to defrag the hard disk to recover the space. But it is well worth the effort if it is available to you. An even more advanced File System, called NTFS is available to people with modern machines. So, if you have an XP machine it is worth looking into this.

Having considered all these ideas you may wish to search for other less important files.

The following files are NOT essential to the running of Windows but might be important to you for other reasons. After all,  the Help files can be very useful and you will probably prefer to keep  them.   In the following list the star  (*) represents the file name.  The extension e.g. 'tmp' indicates the file type :      

 *.hlp (help)    *.zip  & *.cab  (compressed)*.swf  *.wmv    *.avi   *.mov  *. mpg (video) *.wma  *.wav    *.mid  *.mp3 *.rmi (sounds)  *.jpg   *.gif   *.bmp   *.pcx  (graphics)  *.txt (text files)   n.b.If you were not given a Windows disk with your machine the backup for Windows may be in the form of Cab files, traditionally kept in a Windows/ Options folder, so you will wish to keep these.

 *.tmp  (temporary)  *.old   *.bak  (backups of other files)  *.fot  *.fon  *.grp (old files left over from earlier Windows)  *.chk  (old Scandisk backups) and files starting in "~"(often Word documents) . All of this last group can be deleted without doubt.

Do be careful when deleting files. Be sure to put them in the Recycle Bin for a while so you can restore them if necessary. If, next time you switch on your machine, it says it can't find something, make a note of it and restore it immediately.

Finding the files.  If you go to Start, Find/Search, Files and Folders and type in - say - *.tmp  (that is Star, dot, TMP)- providing you have set 'Look in C:' you will be able to see a list of which *.tmp files are there and where they are.  If you right click on them and click Delete they will go to the Recycle Bin.  It is a good idea to clear the Bin before you start, so all the new deletions are obvious.  Another way to use Find to check which enormous files you have is to go to Find, Advanced. Click on At least, then enter a figure such as 2000.  This will show you all files greater than 2 megabytes.  All your important programs will be in there, so be careful not to go mad.  Most people will find reference to AOL's installation and Backup programs.  Altogether AOL has arranged with Bill Gates to put around 30Mb on your computer just in case you might want to join AOL !  It is a good idea to go back and search for AOL.  If you don't use AOL you can delete all references to this and you can still delete 30Mb even if you do use AOL. After all you could always reinstall AOL from that disk you use as a beer mat!  AT & T and Compuserve also used to manage to get in there but to a lesser extent.  These files are all grouped in one folder which can be deleted using Window Explorer.  I have also just deleted 76 *.wav files from my fax software because I do not use them - they were American answerphone messages.  In the folder relating to the fax software I clicked on View, Details then clicked the top of the File type column (in Explorer), got all the Wav files together, selected the lot and sent them to the Bin.  They amounted to 2Mb. Some machines have a Windows Plus folder. They are ScreenSaver themes and funny sounds.  Keep them if you want 30 different Baseball sounds and as many sounds of the jungle but who...............

Using an Uninstaller  There are a number of proprietary Undelete programs such as Uninstaller, First-Aid,Windelete, Ashampoo, Cleansweep and V-Com's excellent Fix-it, which is part of their System Suite. Recently, I used Cleansweep on a new full installation on a PC.  Cleansweep tells you which files are duplicated.  There were hundreds !  Most of them related to sound software.  I was nervous of deleting them  but there were no problems.  If there were, I could get them back from the Recycle bin. So, after a deletion session, restart your computer and watch for the names of any files it reports as missing and , if there are any, restore them immediately.  There are also trouble-shooting programs like Check-it and V-com's Fixit. Using Fix-it on an old machine I found 1000 'orphan' references in the machine's Register.  It started faster after I removed them. Microsoft also had an old one called Regclean and there is one called RegcleanXP which does a similar job

If there are programs which you are sure that you are not going to use you can either compress them using Winzip or delete them by going to Start, Settings, Control Panel, Add and Remove Programs. This will ensure that (most of) the extra bits that are scattered around various directories are deleted also, although Add and Remove is by no means perfect and it can leave whole folders and Shortcuts hanging around.. Alternatively you may see an Uninstall program associated with the program. With regard to older programs, these do not appear in the Add and Remove List. In this case only if their installation has been tracked by programs such as Cleansweep or Windelete can you be sure that the whole program will be deleted.  If you just delete the folder in which a program has its main files you are almost certain to leave a residue of DLL files in the Windows or Windows/System folder and you will not know which are important at a later date.  These are called 'Orphan Files' and may be located by the Uninstaller. 

Fonts.

Did you know that Windows loads every font you have in the Fonts folder when it starts up? The more you have, the longer it takes (and the more memory is tied up). So take a look in your Fonts folder and keep only those you really like and use. However, be careful not to remove fonts that have a red letter icon as these are System fonts.

Windows comes with a load of fonts and most of us use Times New Roman in Bold and Italic and maybe Arial, too. Some programs add even more fonts to this list.  If you are into desktop publishing you might need a few special ones.  Just how much space do these fonts take on your hard disk?  I just did a search on my PC, using the letters TTF.  These are just the Trutype fonts and there are more besides.  The total amounted to 130Mb ! You would be amazed at the variation in file sizes, ranging from 32k to 10 Megabytes ! See if you have a font called Simsun.ttf, right click it and click properties. Also look for Pmingliu.ttf and Msmincho.ttf.  These three amount to nearly 30Mb!  I used a program called Fontfinder from www.gosunshine.com and began to delete the ones I didn't like or never used.  With no difficulty at all I took off a further 20Mb and could have taken off many more.  Be careful, though; some of the fonts are used by your email or the system itself and, if you remove them, you may find things looking a little strange as your PC finds an alternative. So, if you are nervous about this, create a folder called Oldfonts and move them to that for a while. Fontfinder only allows you to remove TTF fonts, so some of the basic ones (such as Courier) are left untouched.

My Documents. One of the most difficult areas to tackle is your accumulation of word processed documents.  This folder can also get full of downloaded pictures.  One technique I use is to go for the really BIG files, which are usually those containing graphics.  Using Windows Explorer I click on My Documents.  I then click on View, Details.  This shows the size of the files in kilobytes. You can click at the top of the Size column to put them in Size Order. Some of mine were over 4 megabytes in size !  I look at them (click on them) before deciding which have to go. It is even possible to open a range of wordprocessed files, check them over, then close them, noting which are to be scrapped.  Most word processors allow you to right click a file and click delete. Incidentally the contents of the My Documents folder (and sub folders) are never lost when you do an XP Restore, so you need not worry that you would lost recent documents of photographs.

The Recycle Bin.  You can set the percentage of the hard disk set aside for the Recycle Bin (right click it and click Properties).  Although this means that emptying the bin may not give you as much space as you expected the bin should be cleared periodically.  It can get to be very unwieldy.  If you wish to put the files in the bin in size order you can use View, Arrange icons, By size (smallest at the top). Or you can select a group by file type in this way or even Date of Deletion, if you only want to delete ones you have sent to the Bin some time ago.  You can Delete or Restore individual items (or a group) from the Bin by right clicking them. You can use the technique of clicking the first, holding down the Shift key and clicking the last, if you wish to delete a whole list.  Once deleted from the Bin the only way to get them back is by using special undeletion software. And this must be done urgently, before the space they use is overwritten.

Winzip or other compression program.  If you do not have this program you should get it off a cover disk or download it from www.winzip.com.  It is shareware and until you pay a fee you will get a 'nag' to register.  Once you have compressed a number of files you can delete the originals knowing that Winzip will allow you to see what files are contained within a single zip file and that you can expand them back to normal at any time.  When they are expanded again you can delete the zip file which contained them.  Apart from its use in compressing files on your hard disk it is used frequently to send large files as e-mails - attachments - particularly pictures.  The person at the other end needs the same (or similar) program (Winzip) to extract them. To compress a number of files you need to go to Windows Explorer, select the files (Click the top one, hold shift, click the bottom one or select some holding Ctrl) right click and choose Winzip, which should be on the Menu. Note the size,  in Mb, of the list.  For a new Zip file click New and create a new name such as Test.  Compress the files.  Note the size of the compressed zip file.  It can be as much as one tenth of the original, although EXE programs will be compressed far less. One reason to compress EXE files is when you wish to send them to someone by e-mail.  Most ISPs will reject EXE files as they can contain viruses.

Notes :

Do not remove *.vxd, *.inf, *.sys, *.ini, *.dll , *.com, *.dat or *.exe files unless you know what you are doing

Other files to consider deleting: *.scr (screensavers), *.cur(cursors)..  Whilst some help files may be important to you. I found 242 of them, amounting to 30Mb! Most of them are never used. Some are in Korean and Chinese !

I found 40Mb of Wav (sound) files.  Many are related to the Windows 98 Tour - see Windows\Options\Cabs\Tour. This Tour directory can be deleted after you have looked at the Tour.  It alone is 16Mb. Other Wav files are associated with the various Themes, which Microsoft thinks you couldn't do without.  The Themes folder is 7.5Mb.  But do you use them ? If you spend time copying Music files of f music CD's you may find that they occupy a huge amount of space  (as Wav files) in a Temporary folder and must be deleted once they are transferred back to your CD - R. Music and video are best kept on CD or DVD.

*.zip files. Once they are unzipped, they do not need to stay on the hard drive. Use "Find" to find them all. But don't delete the ones you have made to keep your compressed files

In Win 95 (and earlier) when Scandisk found errors it created *.chk files in the root directory. People who switched off frequently without exiting Windows correctly might find megabytes of these. They were never any use and can be deleted.

If (in the last century !) you upgraded from Windows 3x and DOS you can delete the whole of the DOS directory. It is redundant.

And of course, when everything is working alright don't forget to scandisk and defrag as a final cleanup. Defrag may tell you that it is not necessary but do it anyway. Leave yourself plenty of time for this job. Close down your screensaver and all programs (except  Windows and Explorer) with Ctl+Alt+Del before you start or start the machine in Safe Mode to do this.  Defrag will work much faster. If you find that Defrag never gets past 10% it means that something is happening in the background. You can try a program such as Powerdefrag to get over this. But it can also mean that the hard disk is in a mess, so you should do a thorough Scandisk first.  In XP (and Win 95) this is called Chkdsk.

Backing up the hard disk

Windows Backup Everyone says .... be sure to backup everything before you do this......So what does Microsoft do ? It excludes the backup program for Windows XP Home Edition. What is worse, if you type 'backup' in Help it says nothing about how to go about it. So what to do ?
Searching the net leads us to the Microsoft article on the subject which says : "The Backup utility is not included in the default installation of Windows XP Home Edition. The Backup icon is not present on the Start menu in Windows XP Home Edition, nor is Backup listed in Add Remove Programs for Windows XP Home edition. This article describes how to install Backup, which is included on the CD-ROM in the Valueadd folder. To use Backup, you have to install it manually.

To Manually Install the Backup Utility
. You need to dig out your original Windows XP disk

1. Double-click the Ntbackup.msi file in the following location on the Windows XP Home Edition CD-ROM to start a wizard that installs Backup:
CD-ROM Drive:\VALUEADD\MSFT\NTBACKUP
2. When the wizard is complete, click Finish.
So, having installed it you can backup to another part of the disk or to CD or DVD.

However, if you back up to the hard disk that is only any good if your hard disk doesn't crash... and they do.
There is a great alternative to any of the above which you can sign up to on www.diino.com. The kind people at Diino offer 2 Gb of free space on a computer somewhere and, providing you have a reasonable Broadband speed (1Mb.second or more) they you can backup to it. You can even schedule it to do that weekly at a specific time and, after the first backup it will look to see what has changed and just backup those files or folders. Not only that, providing you are on line at the time you will be told that it is backing up but this will not stop you using the PC,

System Backups : Programs such as Mcafee and Norton may offer a complete 'system' backup, which is obviously useful if you have a serious problem.  Windows ME and XP may do this automatically, using its Restore facility. Obviously this takes a great deal of space, no matter what technique is used. On a smaller hard disk (say  4 gigabyte) it might amount to half a gigabyte.  If you are down to your last 100 Mb you will not be able to do this. To clear old Restore files (ME and XP), turn off Restore then turn it back on again. But it IS possible to reduce the percentage of the hard disk devoted to Restore points by going to Start, Control Panel, System, System Restore.  Click the C drive and then Settings and reduce the percentage shown.

Microsoft Security Backups. When you install one of the Security patches from Microsoft a backup will be created to enable you to uninstall it if things go wrong. In the case of SP2 this amounts to over 300Mb. If you are short of space you should seriously consider whether these are needed.  See c:\windows folder.  In Window Explorer they are all blue files with various numbers.

Backing up to a CD or DVD writer * is a good move. All those old graphic files and even word processing can be put on a disk and marked in case you wish to access them later. To make a compressed backup of your hard disk  you can use Norton Ghost or a similar utility. This is a utility for fast and safe system upgrading, backup, and recovery. Another candidate for backing up is Argentum from www.argentum.com, which backs up the more important files and settings.

If you wish to transfer main details to another drive or computer Windows XP has a special program called Fastwiz.exe which enables you to do this. It can even help you transfer settings from a Win 98 machine.

Computer Active gave a five star "Buy it" Award to Drive Image 7 (www.powerquest.com). At £50 it is not cheap but if you want a complete copy of your drive, including all programs and settings this is the one to get.  It includes versions for XP and other Windows. Another Drive Image program (free) can be found at http://www.runtime.org/dixml.htm  More on Backup at http://langa.com/backups/backups.htm  

Surprisingly, Windows XP Home edition does not automatically install the Microsoft Backup Program called NTbackup.  To check whether you have it go to Start, click Run and type NTbackup. A screen will appear which allows you to run the Backup 'Wizard'.  If you computer is unable to find NTbackup then it can be installed from your XP disk.  Double-click the Ntbackup.msi file in the following location on the Windows XP Home Edition CD to start a wizard that installs NTBackup: X:\VALUEADD\MSFT\NTBACKUP where X:\ refers to the CD-ROM drive-letter.  If you do not have an XP disk then you can download the MSI file from http://www.winxptutor.com/ntbackup.htm

However, I have always found this program very confusing and I would suggest dedicated backup software for this purpose.  One simple alternative, which does a good job for up to 2Gb of backups is the free online site called Diino, which can be accessed from www.computeractive.co.uk/2168693  It really is easy to use and even has 'incremental' backups for folders you schedule. i.e.. each Monday it would backup the changed files your My Pictures folder.

Best of luck with your hard disk cleanup.  If you are not happy about it don't do it.  If there is space  inside your computer get an additional hard disk instead !  Backup things which you think are important.  Keep things in the Recycle Bin until you are sure EVERY program is working satisfactorily.  At least a month.  If you have problems you can e-mail me but everything you do is YOUR responsibility !     

* More about CD and DVD Writers


Site Navigation Links :- Please click on SITE MAP
Index Page  Index Page Top of Page Next Page Next Page