Photoshop CS2 may invalidate your activation data if you flash-upgrade your BIOS. Reinstalling will not fix it. Delete the following file:

C:\Documents and Settings\All Users\Application Data\Adobe Systems\Product licenses\B2B86000.dat

And use the keygen again-- I mean um, the umm...fully legal activation system, that's it. ;)