Hello how are you?
I`m Marcelo de C., an independent Advisor. It is a pleasure to help you today. I know how frustrating it can be for you, but I will do my best to help you :)
First change the location on the system by going to settings>system>storage>change where new content is saved. La change everything to drive D:
Note:This method is only valid for apps downloaded from the microsoft store.
For programs you must change the location they are installed to before the installation process, where the program asks where you want to install it. You click to change where you want to install it. (by default it comes where windows is installed).
For things downloaded in the browser you can go to settings>downloads>change where the new content is saved. I recommend you create a download folder inside the D drive, if you don't have it.
For programs that download stuff to your computer the process is basically the same, go to the application settings and set the location where the new content is saved to the D drive in your preferred folder.
I hope the information above helps. Please let me know how it goes.
Have a nice day and stay safe.
Marcelo de C.