You are asking something that is well discussed and as such I won't give any of the common answers as you would have done that already.

When all attempts to record fail and all the prior suggestions fail I whip out an audio cable to connect the headphone out to the microphone or aux input. This works for the odd machine that nothing else worked.
Bob