I disagree with Mac the Knife, allowing the swap file to grow and shrink as windows sees fit contributes to fragmentation. I set the minimum and maximum to be the same, albeit on a separate hard drive to the operating systems (I have 2 identical IDE drives which are mirror images of each other with the operating systems and a large SATA drive with partitions for data and the swap file lives in its own partition there. In your case, I would set a 2Gb min and max swap file on d:, then defrag c:. Then create a new swap file on c: and delete the one on d: