When you install a program, it will ask you what path you want to install it to. Just change the path from C: to D:.
There is a program called ccleaner, that is great for helping to clean up garbage files. You may want to check it out.
www.piriform.com/