Read your last post (still needs editing BTW). Apologies but I'm going to have to ask you yet again your OS version and midi clock setting (not sure what 'the one that works' is).
For the moment anyway please disable antivirus.
New question, if you turn on the metronome for playback confirm whether audio, AD2 and/or metronome goes out of time. Is the issue with playback or record now?
If record, now you've done the updates are you able to record successfully now?
If playback well guess we are going to start looking at latency...