Not sure of a program, but are you moving the laptop when you hear the noise? Could be the sudden motion sensor kicking in, making the hard drive produce a beep like noise when it's trying to rapidly park the heads.