No idea. If you don't know the passwords you'll have no choice but to wipe and restore, provided you can still get copies of the software. But it's going to be very old tech now that I wonder if it's even worth trying to get going.
In any case you should really be wiping it any way to clear out stuff that wasn't yours to find.