Microsoft told me to make a copy from another computer onto a flash drive. Then install it onto the computer with the new hard drive. when it has finished it will ask me for the key code. There is no code anywhere on the laptop or the box or the instruction books.