You can turn off the pagefile for any of the drives you have installed.
Hit the following keyboard combination: Windows Logo Key
> then type sysdm.cpl
tab > Performance
tab > Virtual memory
Here you can set the pagefile(s) to be managed automatically, managed manually, or gone altogether (on any and all drives).