Hp nc4010 set computer to factory settings

Use either the restore disks that came with it or if it didn't, there should be a recovery partition that you access at the HP splash screen when you first turn it on by hitting f5 or whatever the function key is for HP.