Hi, in windows 7 the built-in Disk Management is added the shrink function, right-click "my computer"->"manage->storage->disk management, right-click your partition D, select the "Shrink volum" then fowllow the wizards to complete the operation.
Hopes this could help you