installing the anytime upgrade dvd

We wanted to install the dvd because we wanted the HP CRAP removed from the system on a HP MEDIA center m7750n. After 1 week MICROSOFT locked down the computer made us re input the product key off the tower and was told by MICROSOFT it was a pirated dvd. Any ideas y this happened