For The Lord of the Rings: The Battle for Middle-earth II, the CD key is printed on the back of the game manual. If you've lost the manual, the key is sometimes also on a sticker on the disc case, and if you registered the game with EA you may be able to retrieve it from your account.