IMG Techie


Windows Software: Securely delete your files with Eraser

Eraser1Last week we looked at NTFS Undelete, which is a great free program to undelete deleted files. As I tested it, I was able to recover many deleted files, some of which had been deleted for years. It raised a security concern for me that these files were so easily recovered, so I had a look for some programs that would help to make deleted files stay deleted.

Normally it does not matter if files are recoverable. It is handy in many cases. If a file is accidentally deleted, it is nice to know that all is not lost. Some sensitive files, you may want out of your life forever.

I came across a small but powerful utility called Eraser that would fulfill my needs. After running it, my deleted files were no longer recoverable. It can be used in two main ways.

First off is the Recycle Bin add-in. When you right click on the Recycle Bin, you normally get the option to empty it. Eraser adds a number of extra options for you. You can securely delete the files in the recycle bin using any of the extra options. Most of them will run several passes over the file. Others will replace the file with random data, which in both cases will ensure the file is gone forever. This does take longer than a normal bin empty, but it is not an uncomfortable wait.

Secondly, Internet history, cookies and uninstalled programs all bypass the recycle bin. That is why Eraser offers another component to look after you. Eraser can be setup to do a number of tasks on a schedule. You can delete files, folders… or my favourite, erase all free space. This ensures that any deleted files will remain deleted.

Lastly, many people sell their computers without correctly wiping the disk beforehand. This makes all of their data available to the purchaser, whether the files have been deleted or not. Using Boot and Nuke which incorporates Eraser, you are able to make a floppy disk or CD that will erase a computer completely before it is sold.

Eraser runs on most versions of Windows. Get your copy of Eraser for free from their website.


Windows Software: Add powerful scripting to Windows with AutoIt

AutoitBatch scripts are a quick and easy way to incorporate some basic scripts into Windows. Sometimes you may want a more powerful scripting tool, which will let you do a whole lot more.

AutoIt is a scripting language for Windows. You can use it to create very basic scripts, or complex utilities with GUI interfaces. It can help you do a great deal of things.

Below is an example of some code that will load up Notepad and enter some text.

Run("notepad.exe")
WinWaitActive(”Untitled - Notepad”)
Send(”This is some text.”)
WinClose(”Untitled - Notepad”)
WinWaitActive(”Notepad”, “Do you want to save”)
Send(”!n”)

This example closes down and cancels the save dialog. It’s not too complicated, hey? Sorry this example is not at all useful in a practical situation.

AutoIt scripts can be run from any computer where AutoIt has been installed. Even better is the feature where you can export your script into an executable(exe) file. This is an ideal option for creating a working environment.

This is one the most basic scripting languages I have looked at. Some commands can be picked up by a beginner easily, but others do require a lot more knowledge. As with most languages, copying and editing scripts that have already been written is often the best way to go, especially if you are learning the ropes.

AutoIt runs on all versions of Windows, and is available for free from AutoItScript.com.

Thanks to Murphy for the tip.


Software: Prepare for a disaster with Clonezilla

ClonezillaWhen your hard drive dies, you would normally need to go through the process of reinstalling your operating system and programs. If you are lucky, and have prepared yourself for a disaster, you might even be able to restore your data. One thing that you are not able to restore are all of the customisations you have done to your system.

Any way you look at it, it is going to take you the best part of a day to have your system up and running again, and weeks before you get everything back just how you like it.

The system restore options in Windows are great for restoring a malfunctioning system back to a fully working state, but they do not work when your hard drive calls it a day.

Plan ahead for such a disaster by saving an “image” of your computer. An image is a compressed file that contains the entire contents of a hard drive. Windows, programs, hardware drivers, settings and data are all backed up in the image. If your hard drive dies, or gets cluttered with rubbish, you are able to restore your system, and restore so that it is exactly the same as it was when you saved the image.

Clonezilla is a program that will do just that. You can save your entire computers contents into a single file. You can then burn the file to a DVD for safe keeping. You will want to read the documentation so that you can find out how to store a copy of Clonezilla on your DVD, and how to make the DVD bootable. This way you will have everything on hand to restore your computer, on the one disk.

Restoration of the image is likely to take less than one hour. Probably closer to 10 minutes. This is a big improvement to a whole days work. There is nothing else that needs to be done, except to restore your incremental document backups. You can save an incredible amount of time if you want to restore the image to numerous computers.

If you are happy with the way your system is running, it is a good time to make your image. In the case that you need to restore it, you don’t wasn’t to restore an image created while your system was not running at its optimum. You will be very thankful that you made the backup in the long term… or possibly even the short! Hard drives are one of the least reliable components of any computer system.

There are a number of programs that will do this same task. Many companies use the commercial package from Norton called Ghost. It basically does the same thing, it just looks a little nicer and costs money.

Clonezilla is available for free from SourceForge.


Windows Software: Autoruns

AutorunsThere are a number of background items that load up as you start up Windows. This includes programs that are in your startup folder as well as some utilities loaded up by the registry. MSConfig is a utility that comes with Windows that we can use to disable some of these startup items, but it only tells us half the story. There are many more items that load at startup.

Autoruns is a program available from Microsoft that will show you every item that loads at startup. I was amazed to see just how many there were. They can be broken down into groups or seen as a whole. All you need to do it untick the items you don’t want to load.

It would be tempting to untick every box as it will make the machine fly, but take caution as the machine may not be very useful, or in the worst case, not boot anymore. Use this program with a bit of self control. If you don’t know what something is, you probably need it.

There is a nice feature that lets you remove Microsoft items from the lists. There are a lot of them so hiding them lets you get down the the nitty gritty problems of third party applications.

Autoruns has been available for a long time but a new version was released earlier this month. It is a perfect companion to run alongside Bootvis. It works on all Windows platforms and is available for free from Microsoft’s Technet.


How-to: Reset a BIOS password without a password

BIOSPasswordThere are a number of reasons why we might set a password to protect our BIOS from changes. The problem is that we only need to go in there once in a blue moon, making the password easy to forget, locking everyone out.

I had a situation many years ago where a colleague suggested the purchase of a new motherboard because they couldn’t remember the password. I got that little bit more frustrated with my job that day.

There are various options you can use to get back into your BIOS. All of them reset the BIOS back to default values, so make sure you’ve tried all of your regular passwords before attempting these methods. I have tried to keep it brief…

Newer Computers: Most newer motherboards have a jumper on them, which you can change the position of to reset the BIOS. Find your motherboard manual or search for the motherboards model number in Google. You want to find a diagram showing what and where various components and jumpers are on the motherboard. The manual should tell you which jumper needs to be changed.

Once you have changed the jumper, return the jumper back to its original position while the machine is off. You don’t want it to keep resetting itself. Turn on the machine and go into the BIOS. All options will be open to you.

Older Computers: The quickest way to get into the BIOS of an older computer that has been password protected is to remove the battery. The battery keeps the system clock going. Once you remove it, you can put it back in and start the computer.

When you start your computer, you will find your BIOS has been reset to its default values. You are now able to change any settings you want.

General: Some motherboard manufacturers have a secret password that will work, overwriting the password already locking the computer. These are readily available online with a bit of a search. I think this is becoming less common with time.

For more information on the methods above, tech-faq has a great article which goes more in depth.