The Hard Drive of the unit has bad sectors. When the device is rebooted it gets to a stage where it tries to load an application and then it says Drive or device not ready and hangs there until you press a key. What can we do to solve this problem?

You can reformat the hard drive and reinstall all the software. Reformating the drive will detect and prevent usage on any bad sectors.