I had to install a new WD 500GB on an HP a6742p that did not come with any operating or recovery software. I was told that HP requires a special code in order to install any OS (Windows Vista or Windows 7) on a new hard drive.