Don't pirate it. That's the advice floating around, and it's poor advice — beyond the legal problem, cracked copies are a common way to pick up malware.
The proper fix is a digital copy. Age of Empires II HD and the Definitive Editions are on Steam, and GOG has sold DRM-free versions of the classics. Buy it once, download it, and the disc becomes irrelevant.