If it was installed on a system the CD key can be found in the registry here:
EAW:
HKEY_LOCAL_MACHINE\SOFTWARE\WON\CDKeys
OP:
HKEY_LOCAL_MACHINE\SOFTWARE\GameSpy\CDKeys
They are both there as hex, so you'll need to decode them or you can export the key and then merge it on the target system.