Switch the phone off. Press and hold three keys together, the green key, the * key and the number '3'. While you are holding these keys, switch the phone on. Don't release these three keys before you see the Nokia logo.
Warning! Hard reset (as soft reset) wipes the C (phone memory) drive.