Hello, how are you?
Welcome to the Microsoft Community!
My name is Paloma B., I'm an independent advisor, I'm here to help you in the best possible way.
I understand that your D drive disappears on your computer.
Is this partition on the same disk or are they two separate disks?
Try changing the letter of the partition and see if the problem still happens.
I also recommend that you do a Windows update check using the tool below.
https://go.microsoft.com/fwlink/?LinkID=799445
After that, update your BIOS by downloading the latest version directly from the manufacturer's website.
We will test these possibilities before you leave for a Windows reinstallation.
I await news.
If these procedures helped you in any way, please click on "I solved my problem" and also mark as an answer, so you can help others users.
We will always be available for whatever you need!