You can change the folder location on this page of the registry.
Create the folders on D: before changing the path. You can right-click the folder > Copy as path, to get the folder path easily.
You can change the paths for CommonDesktop, CommonDocuments, CommomMusic, Common Pictures and Common Video, do not change the other folder paths.
This will change the folder paths, but you need to manually move the files.
After changing on the registry, restart the computer to apply the changes.