You need to provide more information. Are C and D two partitions on the same drive? Or two, physically separate hard drives?
If two drives, you CANNOT shrink one drive to increase the size of another. You will need to "uninstall" some programs from C and reinstall them on D.
If two partitions on the same physical drive, then I recommend a 3rd party program like
EASEUS Partition Master Home Edition – formally Partition Magic.
In ANY case, be sure to back up any data you do not want to lose first.
I also recommend purging your system of clutter before doing anything else, using
Windows 7 Disk Cleanup (scroll down for text instructions) or
CCleaner (select CCleaner Slim version for no toolbar option). Your system already has Windows Disk Cleanup. Be sure to install CCleaner or Partition Master on your D drive, since you have lots of free space there.
And in the future, be sure to always, as in EVERY SINGLE TIME, select the "custom" install options whenever you install ANYTHING, to (1) have the option to install where you want (like on D) and (2) to have the option to "opt-out" of any extra resource hogging stuff the program maker will try to foist onto our systems.