That sounds more like an overeager antivirus to me.
It was really the windows defender all along. I'm sorry I haven't replied to this, I have been busy.
I thought too but even with my antivirus off it keeps happening, but thanks for your time.