Secondary hard drive is detected, then isn't detected

Jul 6, 2019

Thank you in advance!

I have a secondary (brand new) Seagate 1tb HDD hard drive on my desktop PC running windows 10.
The HD is split into 4 partitions and was working just fine for a few weeks.
I should add that I had a WD 500gb hard drive that somehow got corrupted with "bad sectors" so I replaced it. This was also working fine up until about 1 or 2 months ago when windows constantly was doing "check disk" upon start up finding no errors but finding bad sectors, saying fixed problem but then not showing certain partitions.

The PC did a "Check Disk" again today and found 3 or 4 errors but said fixed!

Then it did the same again.

I am getting (whilst running other programs) file explorer windows popping up for all four partitions then closing down and opening up again and closing rapidly. Sometimes they stay open for a while then close, other times they stay open for the full duration.

Yesterday I changed the cable going from the HD to the motherboard and that seemed to fix the problem although today when I booted up the PC after 30 mins the problem showed up again, but then all partitions showed and worked fine.

I am scratching my head on this one can someone please help? :(