1. Go to Control Panel -> System -> Advanced System Settings -> Performance (click on Settings). 2. Go to the Advanced tab. 3. Click on the Change button under Virtual Memory. 4. Untick "Automatically manage paging file size for all drives". 5. Click on the drive you don't want the paging file to be. 6. Click on No paging file for that drive and then click Set. 7. Click on OK and you are done.