Well, if you had extensive numbers of non-OS files that had been stored on C: that have now been moved to D: your problem may already be solved without doing anything further.
Open File Explorer and click on "This PC" then take a look at what's shown as far as how much space you have on each of your logical drives (which correspond to the partitions). None should be showing the "amount of space taken" bar in red.
I always like to have about 25% free space, at a minimum, on the OS drive, and if you don't, and the partition for D: is next to the partition for C: and it's nowhere near to full, I'd expand the C: partition such that it takes some of the D: partition's space. The partition manager takes care of moving the actual data in D: as needed to accomplish this.
Brian AKA Bri the Tech Guy (website in my user profile) - Windows 10 Home, 64-Bit, Version 1803, Build 17134
. . . the presumption of innocence, while essential in the legal realm, does not mean the elimination of common sense outside it. The willing suspension of disbelief has its limits, or should.
~ Ruth Marcus, November 10, 2017, in Washington Post article, Bannon is right: It’s no coincidence The Post broke the Moore story