Here is the problem with that strategy. You have an HP that is built only for HP and the parts they use. You will have a very difficult time finding a motherboard that will fit in their case to upgrade your cpu. Also, you find their cases are not built to upgrade parts, buy a new case, new cpu, motherboard, gpu and psu. You could salvage the hdd and dvd player out of the old.