This is one of the weirdest problems I have ever encountered. About 3-4 weeks ago my WD Black 4TB drive just randomly stopped appearing in both file explorer and disk management. Ran health check and everything, came back fine, replaced both cables, same problem. I ordered another of the exact drive, got that formatted and all and while I was at it, I ran a factory rest on my whole system. Problem didnt fix, so I swapped mobo with a brand new one, everything worked for the day or so. I installed both my 4TB drives because I was going to setup RAID for them, but only my older drive appeared, but not the new one (they are both 4TB WD black drives). The only fix for the day I have found is to turn the PC off and unplug and replug in the HDDs and they work when I turn PC back on. Turn PC on today, neither HDD appear in file explorer, I go straight to Disk management and they both say they need to be initialized, again, turn PC off, unplug, replug, and now they are both working perfectly fine. I have tried with just a single drive and the same thing happens if its been a couple hours since I had my PC on, doesnt appear, appears in Disk management but needs to be initialized. Checked BIOS, its there in BIOS. I have tried everything I can think of doing, swapped cables, new mobo, new drive, factory reset, reformatting drives etc.
Specs: Mobo- Asus B550-F
CPU- Ryzen 9 3900X
GPU- Aorus RTX 2080
PSU- Corsair RM850x
RAM- Corsair vengeance RGB pro 32GB @ 3600MhZ
Drives- 2 4TB WD black, 1 500GB WD black M.2 for OS
Specs: Mobo- Asus B550-F
CPU- Ryzen 9 3900X
GPU- Aorus RTX 2080
PSU- Corsair RM850x
RAM- Corsair vengeance RGB pro 32GB @ 3600MhZ
Drives- 2 4TB WD black, 1 500GB WD black M.2 for OS